Page 1 of 1

set downtime for a nagios core onsite system

Posted: Mon Dec 18, 2017 8:01 pm
How can I schedule downtime for a complete nagios system for like 1 hour or 2 without having to schedule each host/service after another.
Thanks

Re: set downtime for a nagios core onsite system

Posted: Tue Dec 19, 2017 2:17 pm
by dwhitfield
If you have a hostgroup named all-servers that literally has all hosts (network devices, desktops and whatever else, actually), then you can do that with the following cgi: http://YOURSERVER/nagios/cgi-bin/cmd.cg ... ll-servers

Make sure to change "YOURSERVER" to your actual server address.

To also schedule downtime for the associated services, use http://YOURSERVER/nagios/cgi-bin/cmd.cg ... ll-servers