[Backgroundrb-devel] monit config?
Zack Chandler
zackchandler at gmail.com
Mon Apr 30 13:02:05 EDT 2007
Anyone have a a good monit config section for bgrb?
I'm thinking something like this:
check process backgroundrb with pidfile
/var/www/apps/foo/current/log/backgroundrb.pid
start program = "/var/www/apps/foo/current/script/backgroundrb start"
stop program = "/var/www/apps/foo/current/script/backgroundrb stop"
if failed host 127.0.0.1 port 2000 then restart
if 5 restarts within 5 cycles then timeout
Problem is the port test fails - I thought 2000 is the default...
Thanks,
Zack
More information about the Backgroundrb-devel
mailing list