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.
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.
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 http://forums.cacti.net/files/apachestats08_b_414.png
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:
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
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.
Have you guys checked out FiveRuns? http://www.fiveruns.com/ Its specifically made for monitoring Rails apps, and has a lot of great features to do so.