How can you make sure that monit is always running?
At the moment it's silently falling over and leaving the server unmonitored.
Server is running on CentOS.
The best thing to do is trying to know what causes it to stop unexpectedly and then fixing it.
As a temporary/complementary remedy, you can run a cron job to monitor monit process and start it when it is not running.
The best way to keep monit running is to use monit :) Maybe...
Since you're using CentOS, are you running the packaged version of Monit from RPMForge (versus compiling your own)? If so, you can easily add logging to your Monit instance by uncommenting the
Doing so will enable syslog and will output to