LOG
Command Format
LOG;any text
Description
Adds custom entry to the default log file.
Shell Script Usage Example
sh
#!/bin/sh
# This is a shell script showing how to submit the LOG command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%%lu] LOG;SERVICE NOTE: testhost;event handler restarted service successfully\n" \
`date +%%s` \
> /var/lib/naemon/naemon.cmd