#!/bin/sh# This is a shell script showing how to submit the DEL_DOWNTIME_BY_START_TIME_COMMENT command# to Naemon. Adjust variables to fit your environment as necessary.printf "[%%lu] DEL_DOWNTIME_BY_START_TIME_COMMENT;hostgroup1;host1;service1;1478648441;This is an example comment.\n" \ `date +%%s` \ > /var/lib/naemon/naemon.cmd
DEL DOWNTIME BY START TIME COMMENT
Command Format
DEL_DOWNTIME_BY_START_TIME_COMMENT;hostgroup_name;hostname;service_description;downtime_start_time;comment
Description
This command deletes all downtimes matching the specified filters.
Shell Script Usage Example