External Command Reference

External Commands Reference - DEL_SVC_DOWNTIME

Command Format:



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:

# 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