[Nagiosplug-devel] check_snmp always shows critical

daryl at introspect.net daryl at introspect.net
Thu Jan 15 12:01:03 CET 2004


Sorry if this has been covered before.  I'm using v1.3.1, and have
tested 1.4.0alpha1 with the same results.

After adding some cisco-specific mibs to NET-SNMP on a Debian Woody
system, the command:

check_snmp -H <router_ip> -o .1.3.6.1.4.1.9.2.1.58.0 -w 85 -c 95 -C
<ro_comm_string> -l CPU -u %

Returns:
CPU WARNING - 5 %

Removing the MIBs makes everything work just fine again.

Interestingly, if I make the warn threshold or critical threshold below
the actual value (with the MIBs in), I get:

CPU WARNING - *5* % 

Note the *'s around the return value.

Also confusing, it that snmpget returns:
enterprises.9.2.1.58.0 = 5
No matter whether the MIBs are in or not (I didn't install anything that
should cover this OID)

The mibs installed are:
BGP4-MIB-V1SMI.my
CISCO-AAA-SERVER-MIB-V1SMI.my
CISCO-CALL-TRACKER-MIB-V1SMI.my
CISCO-CONFIG-MAN-MIB-V1SMI.my
CISCO-DIAL-CONTROL-MIB-V1SMI.my
CISCO-DLSW-MIB-V1SMI.my
CISCO-DSP-MGMT-MIB-V1SMI.my
CISCO-DSPU-MIB-V1SMI.my
CISCO-ENVMON-MIB-V1SMI.my
CISCO-GENERAL-TRAPS.my
CISCO-HSRP-MIB-V1SMI.my
CISCO-ISDN-MIB-V1SMI.my
CISCO-POP-MGMT-MIB-V1SMI.my
CISCO-REPEATER-MIB-V1SMI.my
CISCO-RTTMON-MIB-V1SMI.my
CISCO-SMI-V1SMI.my
CISCO-SMI.my
CISCO-SYSLOG-MIB-V1SMI.my
CISCO-TC-V1SMI.my
CISCO-TC.my
CISCO-VOICE-COMMON-DIAL-CONTROL-MIB-V1SMI.my
CISCO-VOICE-DIAL-CONTROL-MIB-V1SMI.my
CISCO-VOICE-DNIS-MIB-V1SMI.my
DIAL-CONTROL-MIB-V1SMI.my
ENTITY-MIB-V1SMI.my
INT-SERV-MIB-V1SMI.my
ISDN-MIB-V1SMI.my
MSDP-MIB-V1SMI.my
OLD-CISCO-INTERFACES-MIB.my
OLD-CISCO-SYSTEM-MIB.my
OLD-CISCO-TCP-MIB.my
OLD-CISCO-TS-MIB.my
RFC1315-MIB.my
RFC1406-MIB.my
RSVP-MIB-V1SMI.my
SNA-SDLC-MIB-V1SMI.my
SNMP-REPEATER-MIB.my
SNMPv2-SMI-V1SMI.my
SNMPv2-TC-V1SMI.my
SNMPv2-TC.my
XGCP-MIB-V1SMI.my

Any ideas?

Daryl G. Jurbala
BMPC Network Operations
Tel (NY): +1 917 477 0468 x235
Tel (MI): +1 616 608 0004 x235
Tel (UK): +44 208 792 6813 x235
Fax: +1 508 526 8500
INOC-DBA: 26412*DGJ

PGP Key: http://www.introspect.net/pgp 




More information about the Devel mailing list