I would like to make that when a host/ service goes into critical state, the OK ==> CRITICAL transition occurs not immediately but after a configurable time interval.
With nagios is it possible?
Thank you
Delay transition from OK to CRITICAL for host/services
Re: Delay transition from OK to CRITICAL for host/services
You can't really fine-tune when a check changes status* because that's entirely dependent on the plugin itself. You could certainly write a plugin to behave that way, though it's not what I would consider typical.
You can fine-tune state changes though by using the retry_interval directive. More info on this page:
https://assets.nagios.com/downloads/nag ... tions.html
Essentially, by tuning the retry_interval you can impact when Nagios detects a problem state. So if you had a retry_interval of 10, Nagios would need to detect 10 consecutive problem statuses* before it raised any alarms. Obviously this won't change how things look on the front-end very much, but it is very meaningful when it comes to event and notification handlers.
You can fine-tune state changes though by using the retry_interval directive. More info on this page:
https://assets.nagios.com/downloads/nag ... tions.html
Essentially, by tuning the retry_interval you can impact when Nagios detects a problem state. So if you had a retry_interval of 10, Nagios would need to detect 10 consecutive problem statuses* before it raised any alarms. Obviously this won't change how things look on the front-end very much, but it is very meaningful when it comes to event and notification handlers.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Delay transition from OK to CRITICAL for host/services
Thank you for the reply
Tarzan
Tarzan
Re: Delay transition from OK to CRITICAL for host/services
+1 regarding the retry interval. Does that seem to help in your case, tarzan?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.