[rrd-users] ERROR: Not a valid vname | solved

Bachman Kharazmi backha at gmail.com
Sat Nov 15 21:11:43 CET 2008


I found a typo in my scripting after a good while, sorry about that.  /B

On Sat, Nov 15, 2008 at 8:20 PM, Bachman Kharazmi <backha at gmail.com> wrote:
> Hi
> I get an error when I do rrdtool graph like:  "ERROR: Not a valid
> vname: rmin in line GPRINT:rmin:Min %6.0lf" even when the variable
> rmin is defined. I'm out of ideas about why it complains. System is
> etchnhalf (2.6.24) and RRDtool 1.2.15.
>
> create:
> rrdtool create /home/bachman/dev/rrdscript/data/diskstats-sda.rrd -s
> 300  DS:rcomp:COUNTER:600:0:U DS:rmerge:COUNTER:600:0:U
> DS:rsect:COUNTER:600:0:U DS:rms:COUNTER:600:0:U
> DS:wcomp:COUNTER:600:0:U DS:wmerge:COUNTER:600:0:U
> DS:wsect:COUNTER:600:0:U DS:wms:COUNTER:600:0:U
> DS:currentio:COUNTER:600:0:U DS:msio:COUNTER:600:0:U
> DS:wmsio:COUNTER:600:0:U RRA:AVERAGE:0.5:1:42048 RRA:MIN:0.5:1:42048
> RRA:MAX:0.5:1:42048
>
> update:
> rrdtool update /home/bachman/dev/rrdscript/data/diskstats-sda.rrd
> N:7831:1872:326578:76260:25845:163459:1515608:2437488:0:709152:2513768
>
> graph:
> rrdtool graph /home/bachman/dev/rrdscript/html/diskstats-sda-1y.png -t
> "Disk access, read and write frequency" -v "Frequency" --start
> 1197745443 --end 1226775843  -a PNG -w 800 -h 200 -z
> DEF:r=/home/bachman/dev/rrdscript/data/diskstats-sda.rrd:rcomp:AVERAGE
> DEF:w=/home/bachman/dev/rrdscript/data/diskstats-sda.rrd:wcomp:AVERAGE
> VDEF:rmax=r,MAXIMUM VDEF:ravg=r,AVERAGE VDEF:wmax=w,MAXIMUM
> VDEF:wavg=w,AVERAGE GPRINT:rmin:"Min %6.0lf" GPRINT:ravg:"Ave %6.0lf"
> GPRINT:rmax:"Max %6.0lf\n" GPRINT:wmin:"Min %6.0lf" GPRINT:wavg:"Ave
> %6.0lf" GPRINT:wmax:"Max %6.0lf\n" LINE2:r#00FF00:"Reads/s "
> LINE2:w#FF0000:"Writes/s "
>
> /Bachman
>



More information about the rrd-users mailing list