Status Information "SNMP OK"

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Status Information "SNMP OK"

Postby jrob27 » Tue Dec 07, 2010 4:13 pm

I have recently implemented an instance of Nagios Core 3.2.3. I have been successful in monitoring most of my infrastructure. I am monitoring ports on my switch through the use of the following syntax:

define service{
use generic-service ; Inherit values from a template
host_name cisco-switch
service_description Port 10 Link Status
check_command check_snmp!-C public -o ifOperStatus.10110 -r 1 -m RFC1213-MIB
}

This port shows as administratively down, line protocol is down (disabled) on the interface from within the switch. Inside of Nagios, the port shows as "OK" in the Status column under the Service Status section-and shows a "SNMP OK-2" status under "Status Information." I know by Nagios definitions, this means the port is down. My question is this...is there anyway to make the status say something other than "OK" under the status section? Or maybe at least change the color from bright green to maybe yellow or red? This would make it a lot easier for troubleshooting. I'm sure there is a simple answer to this. So, any help would be greatly appreciated!!!

Thanks in advance!!!

-J
jrob27
 
Posts: 2
Joined: Wed Oct 20, 2010 11:38 am

Re: Status Information "SNMP OK"

Postby xiangyongit » Thu Mar 03, 2011 10:55 pm

i have some issue in port monitor, who can help me to troubleshooting,thanks
and i fond check_ifstatus.pl or check_snmp_int_v1.pl also is a way to monitor the interface,but how can i do to apply it?
xiangyongit
 
Posts: 2
Joined: Thu Mar 03, 2011 10:47 pm

Re: Status Information "SNMP OK"

Postby xiangyongit » Thu Mar 03, 2011 11:01 pm

hi sir :

have you resolved the issue, i have some problem.
i also know check_snmp_int_v1.pl and check_ifstatus.pl is another way to monitor the switch interface,but i don't know how to apply it
can you help me
thanks in advance.
xiangyongit
 
Posts: 2
Joined: Thu Mar 03, 2011 10:47 pm

Re: Status Information "SNMP OK"

Postby Lahn » Tue Mar 15, 2011 7:36 pm

I've spent a couple of hours trying to figure this out, and it seems the check_snmp plugin is bugged as of lastest version 1.4.15, and regardless of what -r <regex> you supply, it returns "SNMP OK".
Version 1.4.14 works fine.

http://www.mail-archive.com/nagios-user ... 35042.html
has a solution on how to solve it if you don't want to downgrade.
Lahn
 
Posts: 2
Joined: Tue Mar 15, 2011 7:34 pm


Return to Nagios Core

Who is online

Users browsing this forum: yassine and 36 guests