Nagios multiple check attempts for hard OK

cpuguy83 asked:

Looking for a configuration option to make checks that respond with OK not reach a hard state until max_check_attempts has been reached.

Issue is we’ll have a service that we can bring online then will go right back down in a couple of minutes, but when it comes back up it sends out the OK notification, which closes out the issue in our ticketing system.

My answer:

Nagios considers a host or service that is acting in the manner you describe to be flapping. You may wish to tweak your flap detection for this host/service.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.