Page 1 of 1

Need to stop creating alerts/events during schedule downtime

Posted: Thu Oct 15, 2020 10:34 am
by capgemtools
Hi Support,

We have a situation in our environment. We have NagiosXI integrated with Service now using a Nagios connector from service now end. In this case service now is pulling the alerts from Nagios over api call. Now when there is any scheduled activity for the set of devices and we use the Nagios built-in feature of scheduling the downtime it only suppresses notifications but the alerts/events will still be there and they will be pulled by Service now and a ticket will be created. Is there a way to stop creating any alert/event during such downtime...This is really important for us as we have thousands of network devices and there are maintenance going on every week.

Re: Need to stop creating alerts/events during schedule down

Posted: Fri Oct 16, 2020 10:40 am
by cdienger
Use time periods applied to checks to stop them from running during down times. https://assets.nagios.com/downloads/nag ... riods.html. Time periods are configure under Configure > Core Config Manager > Alerting > Time Periods. You can then apply them to host and services(or templates) with the" Check period" drop down under their Check Settings tab.

Re: Need to stop creating alerts/events during schedule down

Posted: Fri Oct 16, 2020 1:31 pm
by capgemtools
Thanks.

Can you please give me an example of how to use the time periods in this case.

Case:

we have 24x7 monitoring for the host and there is a maintenance from 3PM-6PM. We do not want nagios to generate any event during the maintenance time.

Re: Need to stop creating alerts/events during schedule down

Posted: Mon Oct 19, 2020 10:40 am
by ssax
You would create a timeperiod that doesn't have 3PM-6PM included in it and then select that timeperiod on the host/services for the check_period. That way it will only be checked during your non-maintenance hours. That's the only way to stop it from being checked during maintenance.

Re: Need to stop creating alerts/events during schedule down

Posted: Thu Oct 22, 2020 10:32 am
by capgemtools
Thanks. That makes sense.

Re: Need to stop creating alerts/events during schedule down

Posted: Fri Oct 23, 2020 2:59 pm
by ssax
Do you have any related questions or are we okay to lock this up and mark it as resolved?