Hi Team,
I have set Nagios to monitor our MySQL servers and daily we will perform some maintenance on one server . on this server i don’t want Nagios to send me any notification during this this daily regular downtime window. Can any one please help on this.
I have tried by using time periods ,but got some confusion. I have defined as below on Nagios monitoring host and reloaded the Nagios services. Post that we have to do anything on Remote host(on MySQL server) ?
define timeperiod {
timeperiod_name weekdays
alias Weekdays
monday 00:00-15:00,15:15-23:59
tuesday 00:00-15:00,15:15-23:59
wednesday 00:00-15:00,15:15-23:59
thursday 00:00-15:00,15:15-23:59
friday 00:00-15:00,15:15-23:59
}
Regards,
Sandeep.
Need help on TIme periods
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help on TIme periods
The timeperiod you have below looks ok if you don't want to monitor the item between 15:00 - 15:15
If you apply this timeperiod to the services in question it should accomplish your goal.
Again, you apply the time period to the host AND services you don't want to be monitored between the above times.
If you apply this timeperiod to the services in question it should accomplish your goal.
Again, you apply the time period to the host AND services you don't want to be monitored between the above times.