Reputation: 1630
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
Upvotes: 5
Views: 8311
Reputation: 341
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/
Upvotes: 0
Reputation: 13058
I made a plugin which make Passenger processes monitorable by Monit: https://github.com/romanbsd/passenger_monit
Upvotes: 3
Reputation: 31776
Its a little ghetto but run these commands
watch passenger-status
watch passenger-memory-stats
then install and run htop
Upvotes: 1
Reputation: 115372
There are various options available. Here are some of them:
Upvotes: 3