External Command Reference

External Commands Reference - DEL_ALL_HOST_COMMENTS

Command Format:

DEL_ALL_HOST_COMMENTS;host_name

Description:

Deletes all comments associated with a particular host.

Shell Script Usage Example:

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

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