[rrd-users] Monitoring LocIfInputQueueDrops

Shaun Nicholson Shaun.Nicholson at kp.org
Thu Aug 31 20:57:32 MEST 2000


Helllllppp

I am trying to monitor the following MIB variables .1.3.6.1.4.1.9.2.2.1.1.26.2 and .1.3.6.1.4.1.9.2.2.1.1.27.2.
These are LocIfInputQueueDrops and LocIfOutputQueueDrops on a serial interface IFNumber .2. 
Now I can get the readings from the Router MIB interface like so.
I get the following output on my Sun Box
# snmpget 192.168.183.78 public .1.3.6.1.4.1.9.2.2.1.1.26.2
Name: .iso.org.dod.internet.private.enterprises.cisco.local.linterfaces.lifTable.lifEntry.locIfInputQueueDrops.2 -> INTEGER: 0
# snmpget 192.168.183.78 public .1.3.6.1.4.1.9.2.2.1.1.27.2
Name: .iso.org.dod.internet.private.enterprises.cisco.local.linterfaces.lifTable.lifEntry.locIfOutputQueueDrops.2 -> INTEGER: 128
# 

However the 128 does not appear in my RRD as 128. I am using the following to build the RRD

rrdtool create /usr/local/apache/htdocs/rrds/Router1-Serial0-0-IFQDrops.rrd \
DS:input:COUNTER:600:U:U \
DS:output:COUNTER:600:U:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797

and I write to the RRD with the following script lines that run every 5 minutes

    input=`snmpget 192.168.183.78 DCE122r .1.3.6.1.4.1.9.2.2.1.1.26.2 | awk '{print $5}'`
   output=`snmpget 192.168.183.78 DCE122r .1.3.6.1.4.1.9.2.2.1.1.27.2 | awk '{print $5}'`
rrdtool update /usr/local/apache/htdocs/rrds/Router1-Serial0-0-IFQDrops.rrd N:$input:$output

I think my problem is something to do with interger and the COUNTER DS setting but I dont know I'm only guessing.
Any one doing this or even better anyone know how to do this.

Thanks
Shaun Nicholson

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list