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!
Creating a weekend or after hours config file
Re: Creating a weekend or after hours config file
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.
Re: Creating a weekend or after hours config file
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
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
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