Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor passenger / mod_rails processes?

I searched the site already but couldn't find any suitable information. As there is always some expert around I'm sure one of guys knows exactly what I'm searching for :-)

We're on a balanced system:

Machine 1:     HAProxy load balancer
Machine 2 & 3: Apache mod_rails and (of course) our Rails applications

Those were the days when we were able to monitor all Mongrel processes using monit (or other monitoring tools).

Is there any way to do an easy and clever monitoring of passenger processes with monit (or other tools), too? How can I dynamically get all pids of the running processes and pass them to monitoring?

Matt

like image 290
Matt Avatar asked May 29 '09 07:05

Matt


2 Answers

There are various options available. Here are some of them:

  • The passenger-status tool lets you inspect its internal status
  • FiveRuns Manage can monitor a Passenger installation
  • Scout can also monitor Passenger
like image 183
John Topley Avatar answered Oct 11 '22 23:10

John Topley


I made a plugin which make Passenger processes monitorable by Monit: https://github.com/romanbsd/passenger_monit

like image 20
Roman Avatar answered Oct 11 '22 23:10

Roman