Status Information "SNMP OK"
Posted: 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
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