Need to stop creating alerts/events during schedule downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
capgemtools
Posts: 56
Joined: Wed Aug 12, 2020 3:16 pm

Need to stop creating alerts/events during schedule downtime

Post 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.
Thanks,
Supriya
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
capgemtools
Posts: 56
Joined: Wed Aug 12, 2020 3:16 pm

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

Post 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.
Thanks,
Supriya
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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.
capgemtools
Posts: 56
Joined: Wed Aug 12, 2020 3:16 pm

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

Post by capgemtools »

Thanks. That makes sense.
Thanks,
Supriya
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

Do you have any related questions or are we okay to lock this up and mark it as resolved?
Locked