I just don't get it. monit behaves very strangely...
check process thin with pidfile /var/run/thin.4567.pid start program = "/srv/Pusher/server start" stop program = "/srv/Pusher/server stop" if failed host 127.0.0.1 port 4567 protocol http then restart group server
this is the process that should be restarted. So I tested monit and stopped the process. But it is showing only this:
Process 'thin' status Does not exist monitoring status monitored data collected Wed Mar 24 01:18:55 2010
when I run "monit validate" it starts the service. Am I missing something?
© Server Fault or respective owner