That is what I thought initially, so I put the actual real name in there and it did the same thing. It is strange because it is actually reading the rrd file because it is computing all the information it spits out in the GPRINTS.
-----Original Message----- From: Geert van der Ploeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 09, 2002 11:36 AM To: [email protected] Subject: [rrd-users] Re: strange graphing problem I think there's a error in the interpolation of the $argv variables... When just replacing the variables with real names, the shell-version of the script creates a good graph in my environment. So, imho, there's nothing wrong with the rrd syntax. HTH. Regards, Geert van der Ploeg Triple IT ----- Original Message ----- From: "Nicholas Lagaros" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, July 09, 2002 4:45 PM Subject: [rrd-users] strange graphing problem > > The following will not produce any line in the graph, although the GPRINTS > calculate correctly. > > rrdtool graph /home/netminder/png/netminder_${argv[1]}-1.png \ > DEF:rtt=/home/netminder/rrd/netminder_${argv[1]}.rrd:time:AVERAGE \ > LINE2:rtt#008000:"shit" \ > AREA:rtt#008000 \ > -a PNG \ > -v milliseconds \ > -x MINUTE:60:HOUR:1:HOUR:2:0:%H \ > -t "5 Minute Average" \ > GPRINT:rtt:MIN:"Min\: %.2lf ms " \ > GPRINT:rtt:MAX:"Max\: %.2lf ms " \ > GPRINT:rtt:AVERAGE:"Avg\: %.2lf ms " \ > GPRINT:rtt:LAST:"Cur\: %.2lf ms\c" > > However, this code using RRD::GRAPH (cgi) works just fine: > > <RRD::GRAPH /var/www/html/images/NetMinder/<RRD::CV::PATH RRD_NAME>-1.png > DEF:rtt=/home/netminder/rrd/netminder_<RRD::CV::PATH > RRD_NAME>.rrd:time:AVERAG > E LINE2:rtt#008000 AREA:rtt#008000 > -a PNG > --imginfo '<IMG SRC=/images/NetMinder/%s>' > -v milliseconds > -x MINUTE:60:HOUR:1:HOUR:2:0:%H > -t "5 Minute Average" > GPRINT:rtt:MIN:"Min\: %.2lf ms " > GPRINT:rtt:MAX:"Max\: %.2lf ms " > GPRINT:rtt:AVERAGE:"Avg\: %.2lf ms " > GPRINT:rtt:LAST:"Cur\: %.2lf ms\c"> > > I can't see a difference? Can anyone help? > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Help mailto:[EMAIL PROTECTED] > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
