Page 1 of 1
Scheduled Downtime
Posted: Fri Jul 28, 2017 11:04 am
by donnyforbes
I have a host that gets rebooted every Thursday. During the reboot we don't want any notification or phone calls form PagerDuty. Is there a way to setup scheduled downtime maintenance for every Thursday?
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 11:39 am
by dwhitfield
Indeed there is:
http://YOURSERVER/nagiosxi/includes/com ... wntime.php
Please let us know if you run into any difficulty.
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:00 pm
by donnyforbes
When I go to this link wit my servername it takes me to Nagios Login. Can you explain how I do this?
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:17 pm
by dwhitfield
Are you going to
or the shortened link
Also, what happens if you login? Can you post a screenshot of the full browser, URL included?
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:21 pm
by donnyforbes
dwhitfield wrote:Are you going to
or the shortened link
Also, what happens if you login? Can you post a screenshot of the full browser, URL included?
yes I got it. I do have one question what do I put in the "Valid Days of Month"
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:27 pm
by dwhitfield
Just leave if you want it to be every Thursday. That is for if you wanted it to be every Thursday except perhaps not the 29th, 30th, or 31st (as that could be the 5th time in a month). Obviously, you could disallow other days, but I am not sure why you would want to.
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:39 pm
by donnyforbes
dwhitfield wrote:Just leave if you want it to be every Thursday. That is for if you wanted it to be every Thursday except perhaps not the 29th, 30th, or 31st (as that could be the 5th time in a month). Obviously, you could disallow other days, but I am not sure why you would want to.
Great does this look right
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 12:52 pm
by dwhitfield
That looks like every Thursday to me. I couldn't tell you if it's the right start time or the right duration though. Also, is the start time on Thursday? Most of that downtime is actually on Friday.
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 2:08 pm
by donnyforbes
dwhitfield wrote:That looks like every Thursday to me. I couldn't tell you if it's the right start time or the right duration though. Also, is the start time on Thursday? Most of that downtime is actually on Friday.
Yes it reboots every Thursday at 11:55 and is down for 20 minutes.
Re: Scheduled Downtime
Posted: Fri Jul 28, 2017 2:13 pm
by dwhitfield
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!