Great, thanks!

For the interested reader, here's the monit config I'm now using:

check process beanstalkd with pidfile "/var/run/beanstalkd.pid"
   start program = "/etc/rc.d/init.d/beanstalkd start"
   stop program  = "/etc/rc.d/init.d/beanstalkd stop"
   if failed host localhost port 11300 type tcp send "list-tubes\r\n"
expect "OK .*" then restart
   if 3 restarts within 5 cycles then timeout

- Ruben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to