[Nagiosplug-help] check_snmp always returns a WARNING when multiple OIDs are supplied

Conzen, Christoph (C.) cconzen1 at getrag-ford.com
Thu Feb 1 13:36:01 CET 2007


The check_snmp plugins works for a single OID as described:

machine:/usr/local/nagios/libexec # ./check_snmp -H 10.10.10.10 -C
public -P 2c -o .1.3.6.1.2.1.33.1.3.3.1.3.1
SNMP OK - 231 | iso.3.6.1.2.1.33.1.3.3.1.3.1=231

For multiple OIDs it always reports a WARNING - even with no warning or
critical level supplied:

machine:/usr/local/nagios/libexec # ./check_snmp -H 10.10.10.10 -C
public -P 2c -o
.1.3.6.1.2.1.33.1.3.3.1.3.1,.1.3.6.1.2.1.33.1.3.3.1.3.2,.1.3.6.1.2.1.33.
1.3.3.1.3.3
SNMP WARNING - 231 229 231 | SNMPv2-SMI::mib-2.33.1.3.3.1.3.1=231
SNMPv2-SMI::mib-2.33.1.3.3.1.3.2=229
SNMPv2-SMI::mib-2.33.1.3.3.1.3.3=231

The wrong WARNING result is persistent also with ranges for warning and
critical supplied:

machine:/usr/local/nagios/libexec # ./check_snmp -H 10.10.10.10 -C
public -P 2c -o
.1.3.6.1.2.1.33.1.3.3.1.3.1,.1.3.6.1.2.1.33.1.3.3.1.3.2,.1.3.6.1.2.1.33.
1.3.3.1.3.3 -w 220:250,220:250,220:250 -c 210:260,210:260,210:260
SNMP WARNING - 231 229 231 | SNMPv2-SMI::mib-2.33.1.3.3.1.3.1=231
SNMPv2-SMI::mib-2.33.1.3.3.1.3.2=229
SNMPv2-SMI::mib-2.33.1.3.3.1.3.3=231

The check is done against a Generex CS121 SNMP Module of a UPS. The
checked values are the Input Voltages of the 3 Power Phases.

Am I doing something wrong, or is this a known bug, or is this the usual
behaviour ? Platform is SLES9 SP3 64bit Intel - Plugins Version is 1.4.5

Thanks in Advance!

Christoph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070201/eedb1ec8/attachment.html>


More information about the Help mailing list