Pro tip: When you’re trying to figure out whether your monit config file will wreck your monitoring service or not, your best friend is monit -t. Copy your existing config into your home directory, make any changes, and run something like monit -c yourfile -t and it will check the grammar for correctness, and all the programs you call for existence and ownership. It will even warn you if the file’s permissions are wrong! Made deploying monitoring scripts much less scary.