I've a problem using check_snmp.
This is the SNMP get result:
Code: Select all
# snmpget -v2c -cpublic xx.xx.xx.xx .1.3.6.1.4.1.6247.32.1.5.5.0
SNMPv2-SMI::enterprises.6247.32.1.5.5.0 = INTEGER: 1This is the check_snmp shell result
Code: Select all
# ./check_snmp -C public -H xx.xx.xx.xx -o .1.3.6.1.4.1.6247.32.1.5.5.0 -r 0
SNMP CRITICAL - *1* | iso.3.6.1.4.1.6247.32.1.5.5.0=1The issue is in Nagios.
The command is: check_snmp!-C public -H $HOSTADDRESS$ -o .1.3.6.1.4.1.6247.32.1.5.5.0 -r 0
Code: Select all
Status Information: SNMP OK - 1
Performance Data: iso.3.6.1.4.1.6247.32.1.5.5.0=1If I set the same Nagios configuration in a different server the behaviour is OK.