Scheduling downtime using an event handler

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vtadisina
Posts: 28
Joined: Thu Sep 29, 2016 9:39 am

Scheduling downtime using an event handler

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Scheduling downtime using an event handler

Post 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
Former Nagios Employee
vtadisina
Posts: 28
Joined: Thu Sep 29, 2016 9:39 am

Re: Scheduling downtime using an event handler

Post by vtadisina »

Thanks this will work
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Scheduling downtime using an event handler

Post by bwallace »

You're welcome! We'll lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked