Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What can I use to monitor my Rails on Passenger on Apache on CentOS web app?

I'm looking for something simple that will let me see real-time info on average requests/sec and average request time. Ideally, it would let me view that historically.

share|improve this question
up vote 2 down vote accepted

If you have an existing monitoring and metrics solution such as cacti, ganglia or munin it should be possible to plug in apache stats (plugins for all of these for apache should exist) and passenger-status, plus adding your own custom application metrics. All of these provide historical aggregation via rrdtool.

Cacti ApacheStats

Cacti ApacheStats

In addition to the mod_status based metrics such as the ApacheStats cacti plugin a more detailed method of getting data via custom logging is shown in R I Pienaar's blog about his ApacheBlackBox.

The BlackBox (see O'Reilly Article) logs aim to capture:

  • Request type breakdown
  • 404 and 5xx error breakdown per site and per script/url
  • Average response time per site and per script
  • Connection type breakdown

Apache Black Box ApacheBlackBox

I've also heard good things being said about Scout which is rails specific and has plugins for Passenger but is paid for.

Some examples of visualizations of operational data can be found at the Web Ops Viz Flickr Group

share|improve this answer
I second the recommendation for cacti. – Josh Jul 29 '09 at 22:03

Paul gives some great recommendations. Another good option is NewRelic RPM, which is fantastic. It's very easy to install and use, and comes well-recommended by a number of heavy-hitters in the Rails community.

share|improve this answer

Have you guys checked out FiveRuns? Its specifically made for monitoring Rails apps, and has a lot of great features to do so.

share|improve this answer
I can't upvote so I just want to give a +1 for nick. New Relic Lite should do what you're looking for, but it only stores 30 minutes of data ... you need to pay if you want to have access to more data. – trustfundbaby Aug 20 '09 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.