External Commands Reference - SHUTDOWN_PROGRAM
SHUTDOWN_PROGRAM;
Shuts down the Naemon process.
#!/bin/sh
# This is a sample shell script showing how you can submit the SHUTDOWN_PROGRAM command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%lu] SHUTDOWN_PROGRAM;\n" `date +%s` > /var/lib/naemon/naemon.cmd