Page 1 of 1
Scheduling downtime using an event handler
Posted: Fri Oct 14, 2016 12:44 pm
by vtadisina
I am trying to schedule downtime for host for few minutes using an event handler on a service on that host. Any idea on how to do that?
Re: Scheduling downtime using an event handler
Posted: Fri Oct 14, 2016 1:07 pm
by rkennedy
You won't be able to use the API for scheduling downtime, but you could use an external command to do it from the CLI, i.e.:
http://old.nagios.org/developerinfo/ext ... and_id=118
You can view all external nagios commands here:
http://old.nagios.org/developerinfo/ext ... ndlist.php
Re: Scheduling downtime using an event handler
Posted: Fri Oct 14, 2016 1:38 pm
by vtadisina
Thanks this will work
Re: Scheduling downtime using an event handler
Posted: Fri Oct 14, 2016 1:53 pm
by bwallace
You're welcome! We'll lock this thread now.