schedule downtime for a service on ALL hosts via script?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
suprstar
Posts: 1
Joined: Fri Jul 12, 2013 2:01 pm

schedule downtime for a service on ALL hosts via script?

Post 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...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post by abrist »

Have you taken a look at what is available on the exchange?
http://exchange.nagios.org/directory/Ut ... er/details
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked