Question

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

Was it helpful?

Solution

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

OTHER TIPS

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

Its a little ghetto but run these commands
watch passenger-status
watch passenger-memory-stats

then install and run htop

I did a quick search and I think I found the thing your looking for. He uses a script which runs off "passenger-status" as John Topley said. http://blog.slowb.ro/2013/06/18/add-passenger-status-to-monitoring-on-zenoss/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top