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
Critical into Warning into Critical state
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Critical into Warning into Critical state
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
See: Nagios XI - Service Dependencies
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!