Page 1 of 1

Send alerts only after specific period

Posted: Fri Jan 31, 2020 4:39 am
by louissiong
Hi Nagios Support,

Right now, we have a script that will notify us should the MQ channel become
inactive or not running. However, we only need it to keep us alerted after like
more than 30 mins. Is there a way to get this configured in Nagios Xi ? So it means
there will be no notifications if service goes back to normal during this period.

Please advise. Thanks.



Regards,
Louis

Re: Send alerts only after specific period

Posted: Fri Jan 31, 2020 1:03 pm
by benjaminsmith
Hi Louis,

There is a setting for First Notification Delay that will wait x number of minutes before sending the notification. If the host or services recovers during that delay, you will not get notified.
notificaton-delay.png
Let us know if you have any other questions.

Re: Send alerts only after specific period

Posted: Mon Feb 03, 2020 9:52 pm
by louissiong
Hi Ben,

Thanks for your prompt reply.
Just for quick understanding. Currently, we have configured Check Interval as 5 mins,
Retry Interval 1 min and Max Check Attempts as 10. Will this has any impact on the
notification to be sent out (after 30 mins). Also, what does the Notification Interval
of 60 mins do in this case ? It is not set at the moment. Any issue ?

Please let us know. Thanks a lot.
Refer to the attached for a screenshot of our Check Settings.



Regards,
Louis

Re: Send alerts only after specific period

Posted: Tue Feb 04, 2020 11:53 am
by benjaminsmith
Hello @louissiong,

It's just going to wait 30 minutes before sending the first notification. Once the first notification is sent, then the notification interval specifies the number of minutes to wait before re-notifying the contact (if the host or service is still down).

With the current settings, once the service goes into a non-ok state, it will check every minute, 10x before putting the service into the HARD non-OK state and generating the notification.

For your reference, the following page has detailed descriptions are each setting:

Nagios Core Object Definitions

Re: Send alerts only after specific period

Posted: Fri Feb 07, 2020 1:30 am
by louissiong
Thanks Ben for your advice.
I have configured the settings as instructed. Now in the midst of liaising with Apps folks
on the outcome. Let us hope it works well and everyone is satisfied https://support.nagios.com/forum/images ... lem-OK.png

Re: Send alerts only after specific period

Posted: Fri Feb 07, 2020 11:15 am
by benjaminsmith
Hi @louissiong,

Sounds good! We'll keep this thread open if you have any more questions.