Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Added basic readme
Browse files Browse the repository at this point in the history
  • Loading branch information
barttenbrinke committed Mar 28, 2011
1 parent eb3f1df commit c1e0515
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
21 changes: 20 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
= Munin-Rails-Plugins

We are currently in the process of converting all the loose scripts into a gem.
If you are looking for the loose scripts, please checkout https://github.com/barttenbrinke/munin-plugins-rails/tree/stable .

This readme will be updated asap.

Request-log-analyzer-munin, by Andrew Eberbach & Bart ten Brinke

This gem automates munin-plugin scripts and configurations for monitoring of rails apps using the request-log-analyzer gem.
* Simple
* Low memory footprint and reasonably fast, so it is safe to run on a production server.

== Installation & basic usage

To install passenger plugins:
$ request-log-analyzer-munin install

To install rails plugins:
$ request-log-analyzer-munin <app-name> <log-file>

Examples:
$ request-log-analyzer-munin install
$ request-log-analyzer-munin MyAwesomeApp /srv/my_app/current/log/production.log

Happy monitoring!

== Additional information
* Railsdoctors: http://railsdoctors.com
* Request-log-analzer: http://github.com/wvanbergen/request-log-analyzer/
* Screenshots http://barttenbrinke.github.com/munin-plugins-rails/
* Munin: http://munin.projects.linpro.no/wiki/ConcisePlugins
* License: MIT
* License: MIT
27 changes: 26 additions & 1 deletion bin/request-log-analyzer-munin
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
#!/usr/bin/env ruby

$:.unshift(File.expand_path('../lib', File.dirname(__FILE__)))

require 'munin-plugins-rails'
Munin::Command.new.run(ARGV)

if ARGV.length > 0
Munin::Command.new.run(ARGV)
else
puts "Request-log-analyzer-munin, by Andrew Eberbach & Bart ten Brinke - version 0.2.10"
puts
puts "This gem automatates munin-plugin configurations for monitoring of rails apps using"
puts "the request-log-analyzer gem"
puts
puts "Usage: request-log-analyzer-munin [install|appname] <OPTIONS>"
puts
puts
puts "To install passenger plugins:"
puts " request-log-analyzer-munin install"
puts
puts "To install railsplugins:"
puts " request-log-analyzer-munin <app-name> <log-file>"
puts
puts "Examples:"
puts " request-log-analyzer-munin install"
puts " request-log-analyzer-munin MyAwesomeApp /srv/my_app/current/log/production.log"
puts
exit(0)
end

0 comments on commit c1e0515

Please sign in to comment.