Hi, i have a problem when i want to monitoring a Cisco device (Switch 2960). Qhen i configured Nagios, never show the CRITICAL state, when the port / interface is down, because always receibe a message for SNMP, that itīs Ok.<br>
<br>Doing a research, i see this. When i use the terminal of Linux Server the command with the string that use Nagios "hardcoded" vía snmp the devide send me this message, and nagios donīt know how understand this.<br>
<br>root@NAGIOS:# /usr/local/nagios/libexec/check_snmp -C COMUNIDAD -o ifOperStatus.10001 -r 1 -m RFC1213-MIB -H IP_HOST<br><br>If the interface itīs Ok:<br>SNMP OK - 1 | RFC1213-MIB::ifOperStatus.10001=1 <br><br>But if the interface is down:<br>
SNMP OK - 2 | RFC1213-MIB::ifOperStatus.10002=2<br><br>So, i understand the 1 is "Ok" and the 2 id "down", how evener, nagios understand "ok" in both cases.<br><br>Thanks in advance for the help, and sorry for my english.<br>
Matias (matlnx)<br clear="all"><br>-- <br><br>MatLnx@LU9CBL<br>