Monit won't restart process
        Posted  
        
            by bresc
        on Server Fault
        
        See other posts from Server Fault
        
            or by bresc
        
        
        
        Published on 2010-03-24T00:25:22Z
        Indexed on 
            2010/03/24
            0:33 UTC
        
        
        Read the original article
        Hit count: 724
        
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?
Thx
© Server Fault or respective owner