[rrd-users] Re: Problem with my perl program..
Serge Maandag
serge.maandag at staff.zeelandnet.nl
Mon Jan 21 10:19:26 MET 2002
"CDEF:overweb=realweb,20,GT,20,0 IF",
Shouldn't that be something like
realweb,20,GT,20,0,IF
??
Serge.
-----Original Message-----
From: Nanyi Gong [mailto:ngon001 at ec.auckland.ac.nz]
Sent: Sunday, January 20, 2002 3:00 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Problem with my perl program..
Hi!
I have a problem when using PERL and RRDtool to produce GIF file.
If I write in this way:
RRDs::graph "web.gif",
"--title", "web traffic",
"--start", "1002687600",
"--end", "1002700800",
"--imgformat","GIF",
"--width=640",
"--vertical-label","in KBps ",
"DEF:myweb=open.rrd:web:AVERAGE",
"CDEF:realweb=myweb,1000,/",
"AREA:realweb#00FF00",
I could produce a nice GIF image..But if I add these two lines:
"CDEF:overweb=realweb,20,GT,20,0 IF",
"AREA:overweb#FF0000";
There will be no image produced..Why?There also no error message??!!
I'm a beginner of RRDtool and thank you very much for your help in
advance.
regards,
Gong
--
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
--
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