Page 1 of 1
How to schedule downtime for multiple hosts in nagios xi
Posted: Mon Apr 02, 2012 7:02 pm
by ecarrasq
How to schedule downtime for multiple hosts in Nagios Xi?
thanks
Re: How to schedule downtime for multiple hosts in nagios xi
Posted: Tue Apr 03, 2012 9:37 am
by scottwilkerson
If they are grouped you could schedule downtime for the group, otherwise you have to do them individually.
Re: How to schedule downtime for multiple hosts in nagios xi
Posted: Tue Apr 03, 2012 9:46 am
by mguthrie
Apart from the Mass Acknowledgment component, which allows you to schedule DT in bulk for problem hosts/services, we don't have a tool that will do that out of the box. You could probably modify that component fairly easily to be able to do it though. Download the massacknowledge component, and look at lines 178-235. If you simply modify these lines to grab ALL hosts and services instead of only problem ones, you could rename it and have your own bulk DT scheduler.
http://exchange.nagios.org/directory/Ad ... nt/details
The other option would be to script it, the script parses a list in a text file, and loops through and schedules it for each host/services.
http://old.nagios.org/developerinfo/ext ... ndlist.php
Re: How to schedule downtime for multiple hosts in nagios xi
Posted: Fri Apr 13, 2012 3:04 pm
by ecarrasq
I will look into creating that script.
Will keep you posted.
Re: How to schedule downtime for multiple hosts in nagios xi
Posted: Thu Jun 23, 2016 3:03 am
by Deantwo
As scottwilkerson mentioned, it is possible to schedule downtime for a whole hostgroup at a time.
But the option to do so is strangely hidden. I only found it by messing around in XI after reading this thread.
Steps:
- Go to the Hostgroup Summary page.
- Locate the desired hostgroup.
- Next to each hostgroup's name there is two buttons, View Hostgroup Service Detail and View Hostgroup Commands.
Click the View Hostgroup Commands button.
- You'll be taken to an older style screen with more options.
Click the Schedule downtime for all hosts in this hostgroup option.
- Fill out downtime information.
- Profit!
Re: How to schedule downtime for multiple hosts in nagios xi
Posted: Wed Sep 13, 2017 7:21 am
by ram111
I would like to get kind of schedule downtime page in nagiosXI for Hostgroup/Servicegroup too.