Skip to content

DEL ALL SVC COMMENTS

Command Format

DEL_ALL_SVC_COMMENTS;service

Description

Deletes all comments associated with a particular service.

Shell Script Usage Example

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

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