set downtime for a nagios core onsite system

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
martin@boxit.net
Posts: 25
Joined: Mon Aug 21, 2017 4:53 pm

set downtime for a nagios core onsite system

Post by martin@boxit.net »

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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: set downtime for a nagios core onsite system

Post 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
Locked