External command DEL_HOST_DOWNTIME not working
Posted: Fri Aug 26, 2016 3:36 am
Hi there,
we would like use an external Interface for setting up and deleting downtimes.
With setting up downtimes everything works brilliant, but I'm not able to get the external command DEL_HOST_DOWNTIME working.
Assuming that we have a host dowtime set with scheduleddowntime_id = 221, I'm firing the following command from apache via php:
echo "[%lu] DEL_HOST_DOWNTIME;221\n" $now > $commandfile
I find instantly the following log entry:
EXTERNAL COMMAND: DEL_HOST_DOWNTIME;221
but in fact the downtime is still there...
We are using the Nagios Appliance running under CentOS, Nagios XI Version 5.2.9.
Any ideas?
Best regards,
Michael
we would like use an external Interface for setting up and deleting downtimes.
With setting up downtimes everything works brilliant, but I'm not able to get the external command DEL_HOST_DOWNTIME working.
Assuming that we have a host dowtime set with scheduleddowntime_id = 221, I'm firing the following command from apache via php:
echo "[%lu] DEL_HOST_DOWNTIME;221\n" $now > $commandfile
I find instantly the following log entry:
EXTERNAL COMMAND: DEL_HOST_DOWNTIME;221
but in fact the downtime is still there...
We are using the Nagios Appliance running under CentOS, Nagios XI Version 5.2.9.
Any ideas?
Best regards,
Michael