Thanks Erik, excellent suggestion! I added these switches to smpget -Ovq as per your suggestions and now I only get the number as you can see: (snmpget -v1 -Ovq -c <string> <ip_address> <OID>)
rrdtool update actv_in_calls.rrd N:4 rrdtool update actv_in_calls.rrd N:2 rrdtool update actv_in_calls.rrd N:2 But still is not updating the rrd file. :-( what else can that be ? what log shoud I watch to help me spot the problem? regards fabian >From: Erik de Mare <[EMAIL PROTECTED]> >To: Fabian Borot <[EMAIL PROTECTED]> >Subject: Re: [rrd-users] Re: Script error >Date: Tue, 17 May 2005 20:56:47 +0200 > >Fabian Borot wrote: > >>That way I can see what happens each time the script runs. I see this : >> >>rrdtool update actv_in_calls.rrd N: 1 >>rrdtool update actv_in_calls.rrd N: 4 >>rrdtool update actv_in_calls.rrd N: 12 >>rrdtool update actv_in_calls.rrd N: 14 >> >> >mind the space between the N: and the number. > >and second, snmpget has some nice output options, -O, take a look at it >with --help, so you don't need cut or other things.(snmpget -O vq -v 1 -c >public 10.0.11.3 .1.3.6.1.2.1.2.2.1.10.1) > >maybe that will help. > >mvg > >Erik de Mare -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
