5

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

Matt
  • 1,610
  • 2
  • 17
  • 24

4 Answers4

3

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

Roman
  • 13,100
  • 2
  • 47
  • 63
3

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

John Topley
  • 113,588
  • 46
  • 195
  • 237
  • 1
    Oh, and FiveRuns Manage has been discontinued - http://blog.fiveruns.com/2009/8/12/end-of-life-for-manage – Toby Hede Aug 20 '09 at 22:49
1

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

then install and run htop

concept47
  • 30,257
  • 12
  • 52
  • 74
0

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/

ticoombs
  • 333
  • 2
  • 4