Schedule downtime for multiple hosts all at once?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Schedule downtime for multiple hosts all at once?

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule downtime for multiple hosts all at once?

Post 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.
Former Nagios Employee
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Re: Schedule downtime for multiple hosts all at once?

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule downtime for multiple hosts all at once?

Post by rkennedy »

Could you please elaborate?
Former Nagios Employee
abodage
Posts: 29
Joined: Tue Feb 16, 2016 1:45 am

Re: Schedule downtime for multiple hosts all at once?

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule downtime for multiple hosts all at once?

Post 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.
Former Nagios Employee
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Re: Schedule downtime for multiple hosts all at once?

Post 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)
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule downtime for multiple hosts all at once?

Post 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
Former Nagios Employee
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Re: Schedule downtime for multiple hosts all at once?

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule downtime for multiple hosts all at once?

Post 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
Former Nagios Employee
Locked