Page 1 of 1

schedule downtime for a service on ALL hosts via script?

Posted: Wed Sep 04, 2013 2:46 pm
by suprstar
Can this be done? Lets say there's a cluster of dozens of web servers. I want to write a script the puts HTTP and HTTPS in scheduled downtime for all the hosts. They will not go into the UI and click thru all the servers and schedule downtime one by one...

Re: schedule downtime for a service on ALL hosts via script?

Posted: Wed Sep 04, 2013 2:48 pm
by abrist
Have you taken a look at what is available on the exchange?
http://exchange.nagios.org/directory/Ut ... er/details