External Command Reference

External Commands Reference - DEL_HOST_COMMENT

Command Format:

DEL_HOST_COMMENT;comment_id

Description:

This command is used to delete a specific host comment.

Shell Script Usage Example:

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

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