[rrd-users] Monitoring LocIfInputQueueDrops

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


I am trying to monitor the following MIB variables . and .
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 public .
Name: .iso.org.dod.internet.private.enterprises.cisco.local.linterfaces.lifTable.lifEntry.locIfInputQueueDrops.2 -> INTEGER: 0
# snmpget public .
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 \

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

    input=`snmpget DCE122r . | awk '{print $5}'`
   output=`snmpget DCE122r . | 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.

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