External Commands Reference - LOG
LOG;any text
Adds custom entry to the default log file.
#!/bin/sh
# This is a sample shell script showing how you can 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