Another check_snmp problem

Cook, Garry GWCOOK at mactec.com
Thu Jul 17 22:45:38 CEST 2003


System: RH9; Nagios 1.1; Plugins 1.3.1; NET-SNMP 5.0.8

Problem: I'm attempting to use check_snmp to check the status of ATM
circuits on a Cisco Router. However, the check_snmp plugin is reporting
that a returned status of "up(1)" is critical. Below is the output from
the standard snmpget command, as well as verbose output from the
check_snmp command with and without the string to expect. 

[root at monitor2 libexec]# snmpget -c <community> 10.1.190.1
.1.3.6.1.2.1.2.2.1.8.2
IF-MIB::ifOperStatus.2 = INTEGER: up(1)

[root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o
.1.3.6.1.2.1.2.2.1.8.2 -C <community> -v
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c <community>
10.1.190.1:161  .1.3.6.1.2.1.2.2.1.8.2
RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1)

SNMP OK - up(1)

[root at monitor2 libexec]# ./check_snmp -H 10.1.190.1 -o
.1.3.6.1.2.1.2.2.1.8.2 -C <community> -s "up(1)" -v
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c <community>
10.1.190.1:161  .1.3.6.1.2.1.2.2.1.8.2
RFC1213-MIB::ifOperStatus.2 = INTEGER: up(1)

SNMP CRITICAL - *up(1)*

I've been killing myself trying to figure this one out today. Any
assistance is greatly appreciated. 

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 303.881.5157 (Mobile)


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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