Page 1 of 1

remove scheduled downtime for host and its services

Posted: Wed Feb 27, 2019 10:57 am
by jh129666
I can use the below command to schedule downtime for a host and its services, but I did not find the command to remove the scheduled downtime for a host and its services. Is there a command for that?

CMD_SCHEDULE_HOST_SVC_DOWNTIME 86

Re: remove scheduled downtime for host and its services

Posted: Wed Feb 27, 2019 4:20 pm
by cdienger
They would need to be removed individually:

CMD_DEL_HOST_DOWNTIME 78
CMD_DEL_SVC_DOWNTIME 79

https://assets.nagios.com/downloads/nag ... and_id=125
https://assets.nagios.com/downloads/nag ... and_id=126

or this may work:

CMD_DEL_DOWNTIME_BY_HOST_NAME 170