Hi, > >Show us the output of your snmpget command. I guess it looks like this: > > >[EMAIL PROTECTED]:~$ snmpwalk -v2c -c public 192.168.1.222 > >1.3.6.1.2.1.2.2.1.16.4 > >IF-MIB::ifOutOctets.4 = Counter32: 262658353 > > Yes, the output is : IF-MIB::ifOutOctets.4 = Counter32: 461597000
as Alexander wrote; this whole output-line can not be used to be filled in the rrdupdate... you need to seperate/cut out the counter-value and use only this. eg. change snmpwalk ... 1.3.6.1.2.1.2.2.1.16.4 > $out to snmpwalk ... 1.3.6.1.2.1.2.2.1.16.4 | sed 's/^.*: \([0-9]*]\)$/\1/' > $out this should seperate the last numbers starting after the : to your variable. HTH Rene. _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
