[rrd-users] Re: RRDs::Graph issue
Justin Ellison
justin at techadvise.com
Mon Aug 18 01:55:49 MEST 2003
Alex,
Thanks for your quick response, but I don't think that is the issue. Adding the following code:
print "Now feeding the following to rrdtool:\n$dbfile.png\n--start=$start\n--end=$end\nDEF:bytesin=$dbfile:traffic_in:AVERAGE\nDEF:bytesout=$dbfile:traffic_out:AVERAGE\nCDEF:bitsin=bytesin,8,*\nCDEF:bitsout=bytesout,8,*\nPRINT:bitsin:LAST:%8.2lf%s\nPRINT:bitsout:LAST:%8.2lf%s\n";
produces:
Now feeding the following to rrdtool:
/var/www/html/cacti/rra/xxx.xxx.xxx.1_Ethernet0.rrd.png
--start=1061077889
--end=1061163989
DEF:bytesin=/var/www/html/cacti/rra/xxx.xxx.xxx.1_Ethernet0.rrd:traffic_in:AVERAGE
DEF:bytesout=/var/www/html/cacti/rra/xxx.xxx.xxx.1_Ethernet0.rrd:traffic_out:AVERAGE
CDEF:bitsin=bytesin,8,*
CDEF:bitsout=bytesout,8,*
PRINT:bitsin:LAST:%8.2lf%s
PRINT:bitsout:LAST:%8.2lf%s
The percent signs in the PRINT statements were my initial thought as well, but I can remove those two lines and produce the same error...
--
Justin Ellison <justin at techadvise.com>
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pgp-signature
-- Desc: This is a digitally signed message part
-- Size: 190 bytes
-- URL : http://www.ee.ethz.ch/~slist/p/52-signature.asc
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list