Creating a weekend or after hours config file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
itadmins
Posts: 22
Joined: Wed Mar 28, 2018 6:15 pm

Creating a weekend or after hours config file

Post by itadmins »

Hi everyone,

We're trying to reduce the amount of alerts we get and I'd like to accomplish this by having a secondary configuration file which takes effect outside of business hours and the weekend. Basically this will increase the "max check attempts" for certain host and service groups during the weekend.

Since often what happens is applications like sharepoint will run search crawls for a few hours during low usage hours causing the cpu to hover around 90%.

If there is a better/easier way to accomplish this please let me know.

Thanks!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Creating a weekend or after hours config file

Post by cdienger »

You can use time periods to accomlish this. Create a two time period configurations(one for the weekend and one for week days) under Configure > Core Config Manager > Alerting > Time Periods. Then you'll need create two monitoring checks(again, one for the weekend and one for weekdays) and set the Check peroid option to use the appropriate time period.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
itadmins
Posts: 22
Joined: Wed Mar 28, 2018 6:15 pm

Re: Creating a weekend or after hours config file

Post by itadmins »

Would this mean I have to go into each host/service everytime and switch it to weekend everytime? I'd like to automate it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Creating a weekend or after hours config file

Post by scottwilkerson »

I don't think I would make multiple commands, and services, timeperiods, that is extremely complicated when what you really are looking for is reducing alerts on the Weekend...

I would create the weekend time period, but then, run the CCM -> Tools -> Escalation Wizard
Select that time period, and you can specify same or different contact and a much longer "Notification Interval"

More info about escalations
https://assets.nagios.com/downloads/nag ... ations.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked