I see a lot of questions about Recurring Downtime Schedule and just as may posts about Recurring Downtime Schedule bugs.
We have numerous services that require restarting at the same time each week but not all at the same time.
Is there a way to put multiple hosts/services into Recurring Downtime Schedule? I know I can use hostgroups and or servicegroups but I don't want all servers in those groups to be in a downtime schedule. maybe a back-end way of importing them?
Thank you!
Recurring Downtime Schedule - How to Add Multiple Hosts?
-
peakyblinder
- Posts: 63
- Joined: Tue Mar 25, 2014 4:39 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Recurring Downtime Schedule - How to Add Multiple Hosts?
What I would suggest would be to create special hostgroups and servicegroups just for the downtime schedules you would like to accomplish including precisely which hosts/services you need in each schedule. There is no limit to the amount of hostgroups and servicegroups you have.peakyblinder wrote:I see a lot of questions about Recurring Downtime Schedule and just as may posts about Recurring Downtime Schedule bugs.
We have numerous services that require restarting at the same time each week but not all at the same time.
Is there a way to put multiple hosts/services into Recurring Downtime Schedule? I know I can use hostgroups and or servicegroups but I don't want all servers in those groups to be in a downtime schedule. maybe a back-end way of importing them?
Thank you!
Then you can create the recurring downtime for your hostgroups and servicegroups.
-
peakyblinder
- Posts: 63
- Joined: Tue Mar 25, 2014 4:39 am
Re: Recurring Downtime Schedule - How to Add Multiple Hosts?
Hi,
Thanks for the suggestion. I was kinda hoping for something else although not sure what.
In Nagios Core I was using a separate facility named sched_downtime that used a cron job to read in and schedule downtime.
Thanks for the suggestion. I was kinda hoping for something else although not sure what.
In Nagios Core I was using a separate facility named sched_downtime that used a cron job to read in and schedule downtime.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Recurring Downtime Schedule - How to Add Multiple Hosts?
I'm not familiar with that addon, but generally, anything you had that worked with Core will likely work with XI too.peakyblinder wrote:Hi,
Thanks for the suggestion. I was kinda hoping for something else although not sure what.
In Nagios Core I was using a separate facility named sched_downtime that used a cron job to read in and schedule downtime.