Scheduling downtime using an event handler
Scheduling downtime using an event handler
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
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
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
Former Nagios Employee
Re: Scheduling downtime using an event handler
Thanks this will work
Re: Scheduling downtime using an event handler
You're welcome! We'll lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!