Need help on TIme periods

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sandeep027
Posts: 33
Joined: Tue May 08, 2018 2:12 am

Need help on TIme periods

Post by sandeep027 »

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help on TIme periods

Post by scottwilkerson »

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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked