Monitoring Rails Application in Prouction

Anyone have any suggested tools or plugins to monitor a rail
application in production?

On 6/20/07, matt [email protected] wrote:

Anyone have any suggested tools or plugins to monitor a rail
application in production?

What kind of monitoring do you need to do? We use nagios to monitor
uptime.

Pat

Many people use monit with success. This also looks promising:
http://god.rubyforge.org/


Benjamin C.
http://www.bencurtis.com/ – blog
http://agilewebdevelopment.com/rails-ecommerce – build e-commerce
sites with Rails

I need to monitor the ‘health’ of the application more then just
uptime. What do others monitor in production rails applications
besides uptime?
Matt

On 21-Jun-07, at 1:25 PM, matt wrote:

Anyone have any suggested tools or plugins tomonitora rail
application inproduction?

What kind of monitoring do you need to do? We use nagios
tomonitoruptime.

Pat

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs