Page 1 of 1

Critical into Warning into Critical state

Posted: Thu Aug 06, 2020 2:23 am
by coitop
Hello,

I faced an issue with alerting, my device was up and an interface was down, I had already gotten the notification and everything was OK, what happened is, that the device became unavaiable for a little while (lost SNMP connectivity), the "DOWN" state of the interface, became "WARNING", because of the SNMP agent not responding, and when the device came back, the state became "DOWN" again for the interface (although it was never UP), sending a notification out again.

Anyone has faced this false-positive issue and has a solution?

Thanks

Re: Critical into Warning into Critical state

Posted: Thu Aug 06, 2020 3:35 pm
by benjaminsmith
Hi,

Hopefully, this scenario will not happen too often, but you could disable service checks when the host is down and that way it would not continue to check the port and state wouldn't change from down to unknown. To do so, set the following in the main Nagios configuration file /usr/local/nagios/etc/nagios.cfg

Code: Select all

host_down_disable_service_checks=1
See: Nagios XI - Service Dependencies