<div dir="ltr">Something like this should do the trick:<br><div><div style="margin-left: 40px;"><br>my $verbose = 1;<br><br>my @rrd_args = (<br> '--start' => '-10d',<br> '--end' => 'now',<br>
etc,<br> ...<br>);<br><br>print STDERR "Calling RRDs::graph(" . join(", ", @rrd_args) . ")" if $verbose;<br><br>RRDs::graph(@rrd_args);<br>my $err = RRDs::error();<br>warn "RRDs::graph had problems: $err" if $err;<br>
<br></div>Since your web server will send errors to your error_log, then a simple<br><br><div class="gmail_quote">On Tue, Oct 14, 2008 at 9:11 AM, Aendy <span dir="ltr"><<a href="mailto:Horndasch.Andreas@web.de">Horndasch.Andreas@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi everybody,<br>
<br>
i tried to create graphs via Perl using RRDs::create.<br>
<br>
Sometimes i get errors with RRDs::error which telling me the problem, but<br>
when i get the information on my webbrowser i could not see the original<br>
statement used to execute.<br>
<br>
<br>
Is there a possibilitie to view the last tried statement?<br>
<br>
Thanks for help an best wishes<br>
<br>
Aendy<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://n2.nabble.com/RRDs-last-statement-tp1333198p1333198.html" target="_blank">http://n2.nabble.com/RRDs-last-statement-tp1333198p1333198.html</a><br>
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</font></blockquote></div><br></div></div>