Tue, 30 Mar 2004
monit config
monit is a daemon watching daemon. It’s designed to monitor the status of services on the local host and restart them automatically if they should crash. If you’ve ever accidentally nuked sshd on a remote host, you’ll probably dig monit. I also use monit to automatically restart daemons that have been updated using a cluster distribution tool like systemimager.
The monit configuration that I use. This config is designed to restart daemons that have failed, and to watch for changes to local binaries and configuration files, restarting daemons if appropriate.