Scheduled downtime for mass hosts?

Chris Beattie cbeattie at geninfo.com
Thu Jan 12 14:22:00 CET 2012


On 1/12/2012 7:13 AM, Andrew Thompson wrote:
> Is there a quick way to schedule all 86 hosts into Nagios downtime
> rather than having to click on each host in the web GUI and doing them
> individually?

If you've set the parent/child relationships of the hosts, then all you 
should have to do is schedule downtime for the firewall, maybe checking 
the option to schedule downtime for the child hosts as well.

If you have external commands enabled, you can wrap the sample script 
(http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=28) 
in a FOR loop that iterates through a list of your host names.

-- 
-Chris


Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately.
 

Thank you.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list