Page 1 of 1

Need to setup a delay before service goes into hard state

Posted: Tue Dec 08, 2020 3:56 pm
by capgemtools
Hi Support,

We have a requirement to setup a delay in Nagios if the host/service goes into critical in initial check.
If the service is critical in first check then it should wait 120 Mins before going into hard state. Ticket will be created after wait time.

Please help us with the solution how we can accomplish this with Nagios XI.

Re: Need to setup a delay before service goes into hard stat

Posted: Wed Dec 09, 2020 12:39 pm
by vtrac
Hi capgemtools,
To set the delay notification, you can use CCM (Core Config Manager) for that.

Nagios XI > Configure > Core Config Manager > Services > (select service from list) > "Alert settings" tab.

From here, you can select "Critical" then set number of minutes for "delay" first notification (please see picture below).
Critical-notification-settings.png
Hope this helps!!

Vinh

Re: Need to setup a delay before service goes into hard stat

Posted: Wed Dec 09, 2020 1:19 pm
by vtrac
Hi capgemtools,
Sorry, but just talked to my team member and he has suggested that there is also another option you can try as well.

Nagios XI > Configure > Core Config Manager > Services > (select service from list) > "Check Settings" tab.

As you can see from the picture (below), you can also try setting the "check interval" to "20" minutes and the Max check attempts to "6" before sending out notification .... so (20 * 6) = 120 minutes. The time required to go from soft to a hard state.
service-check-insterval.png
Hope this helps!!

Vinh