Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I've been running Nagios Core for a few months now and have monitoring setup for several identical switches in different buildings on the same network. I had a problem with one of the monitored ports failing for building 20 and was able to recover by moving the uplink to another port on the same switch. I made a separate definition for this device as to monitor the new port while excluding the old, failed port.
The port does show in the monitored services but is always in a critical state with the exception being if I manually send a passive check. This causes the service to go green until the next active check comes around at which point it reverts to critical. I'm using SNMP queries to monitor the ports for all devices and copied and pasted the check command into the passive check box so (so I'm sure it's not a typo.)
I'm running the check command check_snmp!-C public -o ifOperStatus.22 -r l -m RFC1213-MIB for each port with the 22 changed to reflect the port number monitored. I've attached my relevant configurations below. Please help!