[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 :
#!/bin/sh
a=0
while [ $a!=0 ]; do
input=$(snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx 1.3.6.1.2.1.2.2.1.10.4)
output=$(snmpget -Oqv -v2c -c public xxx.xxx.xxx.xxx 1.3.6.1.2.1.2.2.1.16.4)
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
done
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