[rrd-users] Problem with my perl program..

Nanyi Gong ngon001 at ec.auckland.ac.nz
Mon Jan 21 10:52:06 MET 2002


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



More information about the rrd-users mailing list