What kind of monitoring do you need to do? We use nagios to monitor uptime.
Pat
--
Benjamin Curtis
http://www.bencurtis.com/ -- blog
http://agilewebdevelopment.com/rails-ecommerce -- build e-commerce
sites with Rails
On Jun 20, 5:57 pm, "Pat Maddox" <perg...@gmail.com> wrote:
I've not tried many, but monit(already mentioned) is pretty slick -
plus it provides a dsl to heal broken services.
#8000
check process mongrel-8000 with pidfile /var/www/the-soup/shared/log/
mongrel.8000.pid
start program = "/usr/local/bin/ruby /usr/bin/mongrel_rails
start --user deploy --group mongrel -e production -d -c /var/www/the-
soup/current/ -p 8000 -P /var/www/the-soup/current/log/mongrel.
8000.pid -r /var/www/the-soup/current/public/"
stop program = "/usr/local/bin/ruby /usr/bin/mongrel_rails stop -
c /var/www/the-soup/current/ -p 8000 -P /var/www/the-soup/current/log/
mongrel.8000.pid"
if totalmem > 85.0 MB for 5 cycles then restart
if failed port 8000 protocol http
with timeout 10 seconds
then restart
group www
Plus also provides an http service for stats monitoring and control.
http://www.tildeslash.com/monit/
Cheers,
Jodi
General Partner
The nNovation Group inc.
www.nnovation.ca/blog