Page 1 of 1
How to enable the schedule down time for 100 hosts at a time
Posted: Wed Jan 24, 2018 11:40 am
by Gonela
How team,
If we want enable schedule down time for few servers we can enable schedule down time by going schedule down time and enable with the start date and end date. If we want to enable for 100 servers how we can enable at at a time. Can anybody help on this.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Wed Jan 24, 2018 11:47 am
by npolovenko
Hello,
@Gonela. What version of XI are you using? When I open a Schedule Downtime menu I see the list of all hosts or services and I can hold down a shift key or a crl key and select many hosts/services at once. Have you tried that already?
Re: How to enable the schedule down time for 100 hosts at a
Posted: Wed Jan 24, 2018 8:38 pm
by Gonela
Hi Team,
Thanks for the reply we are using nagios xi 5.4.0. As you said we can hold and select but all host are not same different hosts will be there example ABC, CAB, ZCA , to select the three hosts we will go search manually then select. If we provide the any excel sheet that contain 100 host list if we can import that file automatically host will select then we can schedule the timings From to To. Instead of searching we can import file the same host will select.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Thu Jan 25, 2018 11:58 am
by npolovenko
@Gonela, Have you tried using a filter?
Untitled.png
Being able to upload an Excell document with hostnames is a good candidate for a feature request. I will go ahead and submit it for you. It may or may not be approved by the Dev team. You can message me in a couple weeks-a month to see it has been approved, and if It has I'll provide you with a tracking number.
PS: Take a look at this script here:
https://old.nagios.org/developerinfo/ex ... and_id=118
It schedules downtime for a specified host. You could write a script that will go over the list of hosts and schedule dowtime in a similar manner.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Fri Jan 26, 2018 1:36 pm
by gormank
I'm not sure it helps, but you can schedule downtime on a hostgroup. Do this from details, hostgroup summary for example.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Fri Jan 26, 2018 2:05 pm
by dwhitfield
Thanks
@gormank!
Of course, if you don't want them all in the same hostgroup, then perhaps you could have smaller hostgroups and schedule a handful of hostgroups rather than a bucketful of hosts.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Sun Jan 28, 2018 3:12 am
by Gonela
Hi team ,
I have tried as per your screen shot early and we are following the same for ex. if we have 10 hosts as per screen shot it is easy, how we can enable the Schedule down time on hostgroup. We are using 5.4.0 nagios xi now.
Re: How to enable the schedule down time for 100 hosts at a
Posted: Sun Jan 28, 2018 5:51 pm
by dwhitfield
Go to
http://YOURSERVER/nagiosxi/includes/com ... wntime.php (replace YOURSERVER with the address) and click on the hostgroup tab. Attach a screenshot if what you see at that address if you don't see the hostgroup tab.