[rrd-users] rrdtool graph VS <RRD::GRAPH... >

Naya Sutapanit bowchung at hotmail.com
Wed Nov 24 09:06:54 MET 2004


Hi all,
I have a problem using "<RRD::GRAPH ...>" command in RRDcgi.
Here are my command ....

<RRD::GRAPH /var/www/html/graph.gif
      --lazy
      --title="ps/s - s"
      --vertical-label="Packet Size per Second"
      DEF:size=ifdata/dataSize.rrd:size:AVERAGE
      AREA:size#00b674:size/s>

After I entered the page which include this command, I got "graph.gif" in 
directory "/var/www/html" but the size of graph.gif is 0

(zero). It was empty if I view with browser.



If I use a shell command "rrdtool graph" like this :

rrdtool graph /var/www/html/graph2.gif --lazy --title "ps/s - s" 
--vertical-label "Packet Size per Second"

DEF:size=ifdata/dataSize.rrd:size:AVERAGE AREA:size#00b674:size/s

I got "graph2.gif" in directory "/var/www/html" but the size is 13.4 KB and 
I can view it well with browser.

What's wrong with me??

Thanks in advance.
Naya.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

--
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