[rrd-users] Re: horizontal line
Darryl Lewis
Lewis.Darryl at abc.net.au
Mon May 22 02:07:39 MEST 2006
Looks like the value of maxbytes maybe null.
Try declaring
my $maxbytes=0;
earlier in the program.
-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Pavel Ruzicka
Sent: Monday, 22 May 2006 7:33 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] horizontal line
Hello,
I want to create bandwidth graph with additional horizontal line, which
presents Max possible speed. RRD files are from MRTG.
I tried this in my PERL script, but without success:
($maxbytes is previously computed value from more RRD files.)
------------
push @args, "CDEF:maxbw=${maxbytes},8,*";
push @args, "LINE1:maxbw#000000:Max speed ${maxbytes}\\l";
------------
I get this error: rpn expressions without variables are not supported
I use rrdtool-1.0.48.
Thanks,
Pavel Ruzicka
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
==============================================================================
The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material. It is intended only for
the use of the addressee(s). If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments. If you have received this message in error, please notify the
sender immediately and delete this email from your system. The ABC does not
represent or warrant that this transmission is secure or virus free. Before
opening any attachment you should check for viruses. The ABC's liability is
limited to resupplying any email and attachments
==============================================================================
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list