I've got monit set up and running. It monitors and will restart Apache and Mysql fine, but won't do the same for ar_sendmail.
If I start ar_sendmail, monit won't pick up that it's running even though ar_sendmail.pid has been generated and monit is configured to look in the right place for it.
And if ar_sendmail isn't running, monit won't start it up - monit.log is filled with this:
[UTC Dec 8 19:01:21] error : 'ar_sendmail' process is not running
[UTC Dec 8 19:01:21] info : 'ar_sendmail' trying to restart
[UTC Dec 8 19:01:21] info : 'ar_sendmail' start: /etc/init.d/ar_sendmail
[UTC Dec 8 19:01:51] error : 'ar_sendmail' failed to start
Any help is appreciated. Thanks.