Skip to content

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

sh
#!/bin/sh
# This is a shell script showing how to 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