[rrd-users] I need help with my rrd file

jeffrey.j.petter at verizon.com jeffrey.j.petter at verizon.com
Fri Sep 26 15:15:52 CEST 2008

You may wish to check your variable names. You are updating the rrd
database with the variables $in and $out, yet when you do your graphing,
you ask for data from input and output.

Hope that helps,


-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of alucard95
Sent: Friday, September 26, 2008 9:07 AM
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] I need help with my rrd file

Thank you for all your answers!!

Now i modifie my script like this : 

 while [ "$a" != 0 ]; do
snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx >

snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx >
     # I can use N as a replacement for the current time
     rrdtool update /home/zabbix/switch.rrd N:$in:$out
     # sleep until the next 300 seconds are full
     perl -e 'sleep 30 - time % 30'
 done # end of while loop

But when i create a graphic :

rrdtool graph switch.png --start -86400 --end +86400 \
            DEF:inoctets=switch.rrd:input:AVERAGE \
            DEF:outoctets=switch.rrd:output:AVERAGE \
            AREA:inoctets#00FF00:"In traffic" \
            LINE1:outoctets#0000FF:"Out traffic"

There is no data. 

I launch my script like this : 

#sh script_name.sh

do I make a mistake somewhere??

View this message in context:
Sent from the RRDtool Users Mailinglist mailing list archive at

rrd-users mailing list
rrd-users at lists.oetiker.ch

More information about the rrd-users mailing list