check_snmp_int.pl: over 100%?

Ford, Andy andrew.ford at wachovia.com
Sun Jun 8 20:05:42 CEST 2008


> > > On Thu June 5 2008 17:30:24 Ford, Andy wrote:
> > > > I'm trying to use check_snmp_int.pl (not standard, see
> > > > http://nagios.manubulon.com/snmp_int.html) but when I 
> try to get my
> > > > results in percent form, I get over 100% results on at
> > >
> > > least on device:
> > > > $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' 
> --perfcheck
> > > > --perfspeed --warning=40,60  --critical=60,80 --prct
> > > > eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 
> 180.3%/CRIT
> > > > 468.1%):(1 UP): CRITICAL
> > > >
> > > >
> > > > Am I just using the options wrong?
> > >
> > > try this:
> > >
> > > check_cisco_int -H $HOSTADDRESS$ -C $USER4$ -B -u -r -f -n
> > > "$ARG1$" -kY -w
> > > 80,80 -c 90,90 -d 600
> >
> > Thanks Dani for the reply.
> >
> > I'm confused: is that a command definition or a custom plugin?
> >
> > If I use your options but replace "check_ciso_int" with 
> "check_snmp_int.pl"
> > I still get results over 100%.
> >

I think my device has got erroneous info in it's reported ifSpeeds:

RFC1213-MIB::ifSpeed.1 = Gauge32: 100000
RFC1213-MIB::ifSpeed.2 = Gauge32: 100000
RFC1213-MIB::ifSpeed.3 = Gauge32: 100000
RFC1213-MIB::ifSpeed.4 = Gauge32: 100000
RFC1213-MIB::ifSpeed.5 = Gauge32: 100000
RFC1213-MIB::ifSpeed.6 = Gauge32: 100000
RFC1213-MIB::ifSpeed.7 = Gauge32: 10000
RFC1213-MIB::ifSpeed.8 = Gauge32: 10000

Those can't be right for these kind of interfaces, can they?

RFC1213-MIB::ifDescr.1 = STRING: "eth-s1p1 Ethernet Layer Intel 10/100
Ethernet"
RFC1213-MIB::ifDescr.2 = STRING: "eth-s1p2 Ethernet Layer Intel 10/100
Ethernet"
RFC1213-MIB::ifDescr.3 = STRING: "eth-s1p3 Ethernet Layer Intel 10/100
Ethernet"
RFC1213-MIB::ifDescr.4 = STRING: "eth-s1p4 Ethernet Layer Intel 10/100
Ethernet"
RFC1213-MIB::ifDescr.5 = STRING: "eth-s4p1 Ethernet Layer Intel Gigabit
Ethernet"
RFC1213-MIB::ifDescr.6 = STRING: "eth-s4p2 Ethernet Layer Intel Gigabit
Ethernet"
RFC1213-MIB::ifDescr.7 = STRING: "eth-s4p3 Ethernet Layer Intel Gigabit
Ethernet"
RFC1213-MIB::ifDescr.8 = STRING: "eth-s4p4 Ethernet Layer Intel Gigabit
Ethernet"

I wonder if I need to just multiply by 1,000 or something.

Andrew Ford
Wachovia Corporate Information Security
314-955-6647 desk
314-600-7025 cell
andrew.ford at wachovia.com
  


Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.

A.G. Edwards, a division of Wachovia Securities, LLC




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list