barttenbrinke / munin-plugins-rails

Collection of munin plugins for ruby on rails server environments
railsdoctors.com
165 stars 34 forks source link

= Munin-Rails-Plugins Collection of Concise Munin plugins for Rails server environments. This will make monitoring your rails app a piece of cake.

This project contains munin plugins that not only work in munin, but are also concise (see references). Most things in this repository rely heavily on the request-log-analyzer gem. The project has recenly been converted into a gem. If you are looking for the loose scripts, please checkout: https://github.com/barttenbrinke/munin-plugins-rails/tree/master/munin.

== What's in the box?

For screenshots, head over to: http://barttenbrinke.github.com/munin-plugins-rails/

== Installation Installing should be as easy as

$ gem install munin-plugins-rails

After that you have two options. You can add the passenger plugins that will monitor the server as a whole by running: $ sudo request-log-analyzer-munin install

This will create the necessary symlinks in /etc/munin/plugins and create reasonable configurations in /etc/munin/plugin-conf.d/*

Which you can customize as needed. Please note that passenger-memory-status currently only works on Linux (http://bit.ly/krKO2x).

The other option is to add a specific application's logfile. To do this, run:

$ sudo request-log-analyzer-munin add

After running this command you'll have appropriate symlinks in /etc/munin/plugins and a set of configuration files in /etc/munin/plugin-conf.d:

For more detailed information, see the documentation embedded in the plugins. Remember to restart munin-node.

$ sudo /etc/init.d/munin-node restart

== Troubleshooting

If you encounter performance problems with your app, please take a look at the request-log-analyzer wiki on examples on how to drill down to the core of your problem. If you want to hire an expert, please visit us at http://railsdoctors.com or mail me at: bart@railsdoctors.com

Happy monitoring!

== Additional information