Cisco Monitoring Problem - Interface Down state not recognize

Matias Damian matlnx1983 at gmail.com
Tue Dec 14 16:01:06 CET 2010


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.

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.

root at NAGIOS:# /usr/local/nagios/libexec/check_snmp -C COMUNIDAD -o
ifOperStatus.10001 -r 1 -m RFC1213-MIB -H IP_HOST

If the interface it´s Ok:
SNMP OK - 1 | RFC1213-MIB::ifOperStatus.10001=1

But if the interface is down:
SNMP OK - 2 | RFC1213-MIB::ifOperStatus.10002=2

So, i understand the 1 is "Ok" and the 2 id "down", how evener, nagios
understand "ok" in both cases.

Thanks in advance for the help, and sorry for my english.
Matias (matlnx)

-- 

MatLnx at LU9CBL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101214/8899eeba/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-------------- next part --------------
_______________________________________________
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