External Command Reference

External Commands Reference - DEL_ALL_SVC_COMMENTS

Command Format:

DEL_ALL_SVC_COMMENTS;host_name;service_description

Description:

Deletes all comments associated with a particular service.

Shell Script Usage Example:

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

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