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

alucard95 jo_crj at hotmail.com
Mon Sep 29 15:19:07 CEST 2008

So, this is the final script which is running : 

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

output=$(snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx
echo $input:$output

# I can use N as a replacement for the current time
$(rrdtool update /home/zabbix/switch.rrd N:$input:$output)

# sleep 30 seconds         
sleep 30 

# end of while loop

the result of the echo is good, but the last problem (i hope :-() is when i
do a rrd fetch, the result is :

1222693200: nan nan
1222693500: 0.0000000000e+00 0.0000000000e+00
1222693800: 0.0000000000e+00 0.0000000000e+00
1222694100: nan nan

why it is not the good number??
View this message in context: http://n2.nabble.com/I-need-help-with-my-rrd-file-tp1120359p1125793.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

More information about the rrd-users mailing list