Recurring Downtime Schedule - How to Add Multiple Hosts?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Recurring Downtime Schedule - How to Add Multiple Hosts?

Post 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!
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?

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

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

Post 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.
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?

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked