Page 1 of 1

Recurring Downtime Schedule - How to Add Multiple Hosts?

Posted: Thu Aug 24, 2017 9:38 am
by peakyblinder
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!

Re: Recurring Downtime Schedule - How to Add Multiple Hosts?

Posted: Thu Aug 24, 2017 11:00 am
by scottwilkerson
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!
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.

Then you can create the recurring downtime for your hostgroups and servicegroups.

Re: Recurring Downtime Schedule - How to Add Multiple Hosts?

Posted: Tue Aug 29, 2017 10:12 am
by peakyblinder
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.

Re: Recurring Downtime Schedule - How to Add Multiple Hosts?

Posted: Tue Aug 29, 2017 10:31 am
by scottwilkerson
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.
I'm not familiar with that addon, but generally, anything you had that worked with Core will likely work with XI too.