[rrd-users] Re: Monitoring LocIfInputQueueDrops

Gellatly, Laurie Laurie.Gellatly at vodafone.com.au
Thu Aug 31 23:39:08 MEST 2000


Hi.
Because you are using COUNTER, RRDTool tries to show you the value per
second over
the period. Your period is defaulted to 300 seconds. Your value is 128.
128/300 = .4666
and it is that number you should see in your rrd. In OverTime, I use GAUGE
for 
error rates and provide an axis label saying the these are the number of
errors
per period. For this to work, error counters need to have the difference
taken
from the end to the start of each period befor being passed into RRDTool. 
I think this is a nicer way to show low value 'bursty' numbers. When
the majority of the time the values are truly 0 and when there are errors,
then they
show up clearly.

Hope this helps explain things.

                   ...Laurie :{)

-----Original Message-----
From: Shaun Nicholson [mailto:Shaun.Nicholson at kp.org]
Sent: Friday, 1 September 2000 5:58
To: rrd-users
Subject: [rrd-users] Monitoring LocIfInputQueueDrops


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.l
ifEntry.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.l
ifEntry.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


**********************************************************************
This correspondence is for the named person's use only.  It may 
contain confidential or legally privileged information or both. 
No confidentiality or privilege is waived or lost by any 
mistransmission.  If you receive this correspondence in error, please
immediately delete it from your system and notify the sender.  You 
must not disclose, copy or rely on any part of this correspondence 
if you are not the intended recipient. 

Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.

This email has been checked for viruses.
**********************************************************************

--
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