External Command Reference

External Commands Reference - DEL_SVC_DOWNTIME

Command Format:

DEL_SVC_DOWNTIME;downtime_id

Description:

Deletes the service downtime entry that has an ID number matching the ‘downtime_id’ argument. If the downtime is currently in effect, the service will come out of scheduled downtime (as long as there are no other overlapping active downtime entries).

Shell Script Usage Example:

#!/bin/sh
# This is a sample shell script showing how you can submit the DEL_SVC_DOWNTIME command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] DEL_SVC_DOWNTIME;1234\n" `date +%s` > /var/lib/naemon/naemon.cmd