Page 1 of 1

Schedule downtime for multiple hosts all at once?

Posted: Thu Aug 11, 2016 2:02 pm
by yo_marc
Hi all, Running a eval of XI 5.2.7 here.

Is it possible to schedule downtime for multiple hosts, all at once?

I have a user who requested this ability; said they have lots of hosts that will get rebuilt all at same time - on demand.

Looks like the only way to do that today is to set up some host parent/child relationships?

Thanks,
-marc

Re: Schedule downtime for multiple hosts all at once?

Posted: Thu Aug 11, 2016 4:29 pm
by rkennedy
You should be able to use the 'Mass Acknowledgement' feature from the home page of XI. On that page, there will be a spot to schedule downtime for multiple hosts / services at once.

Re: Schedule downtime for multiple hosts all at once?

Posted: Fri Aug 12, 2016 11:47 am
by yo_marc
Thanks -- True... I do use that method out of habit on my other Nagios instances.

We are looking for a more proactive approach; that is, setting downtime before any alerts are (potentially) sent.

Re: Schedule downtime for multiple hosts all at once?

Posted: Fri Aug 12, 2016 12:28 pm
by rkennedy
Could you please elaborate?

Re: Schedule downtime for multiple hosts all at once?

Posted: Thu Aug 25, 2016 2:02 am
by abodage
Hi Team,

We also have this requirement from client. They want schedule downtime for multiple hosts all at once before generating/triggering any alert.

Thanks.

Re: Schedule downtime for multiple hosts all at once?

Posted: Thu Aug 25, 2016 9:08 am
by rkennedy
They want schedule downtime for multiple hosts all at once before generating/triggering any alert.
This isn't going to be possible. Notifications and scheduled downtime both have a purpose.

Re: Schedule downtime for multiple hosts all at once?

Posted: Mon Oct 17, 2016 8:54 am
by yo_marc
Hi all, sorry for delay. rkennedy, if you still need me to elaborate - here is a use case:

We have a team who needs to re-install the OS on 10 (monitored) hosts in an automated way. All of those machines will come down at once.
We want to proactively schedule downtime on these hosts, before they send an alert.

Currently, we need to schedule downtime for each Host separately. ie: We need to walk through the steps to schedule downtime 10 separate times.
Or - We need to catch them before they alert in the Mass Acknowleged tool... Not really ideal. Its more reactive.

I see the latest release may include an update to allow us to perform this operation for multiple hosts?! If so, that is great news, and thank you!

Nagios XI 5 Release Notes: https://assets.nagios.com/downloads/nag ... 1476200517

(One to note, 3rd down from top of 5.3.0)

Re: Schedule downtime for multiple hosts all at once?

Posted: Mon Oct 17, 2016 10:49 am
by rkennedy
If everything is being automated, you could probably do it programmatically by using the core external commands.

http://old.nagios.org/developerinfo/ext ... and_id=118

You can view all external nagios commands here:

http://old.nagios.org/developerinfo/ext ... ndlist.php

Re: Schedule downtime for multiple hosts all at once?

Posted: Mon Oct 17, 2016 11:12 am
by yo_marc
Thanks rkennedy... Those links look like they would be helpful but I cant get to them.

Are those links active to those of us on the internet?

Or do I have to be logged into support to access them?

Re: Schedule downtime for multiple hosts all at once?

Posted: Mon Oct 17, 2016 12:09 pm
by rkennedy
The VM hosting these pages has some maintenance going on, so I would use the cached version for now:

https://webcache.googleusercontent.com/ ... clnk&gl=us