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, Jeff -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of alucard95 Sent: Friday, September 26, 2008 9:07 AM To: rrd-users@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 : #!/bin/sh a=0 while [ "$a" != 0 ]; do snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx 1.3.6.1.2.1.2.2.1.10.4 > $in snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx 1.3.6.1.2.1.2.2.1.16.4 > $out # 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: http://n2.nabble.com/I-need-help-with-my-rrd-file-tp1120359p1120825.html Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users