Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged

  • Loading branch information...
commit eb3f1df135cc6dda509a084c07476cac1484b544 2 parents 36a3be5 + 3463fbc
@ebertech ebertech authored
Showing with 9 additions and 65 deletions.
  1. +4 −64 README.rdoc
  2. +3 −0  Rakefile
  3. +2 −1  munin-plugins-rails.gemspec
View
68 README.rdoc
@@ -1,67 +1,8 @@
= Munin-Rails-Plugins
-Collection of Concise Munin plugins for Rails server environments.
-This will make monitoring your rails app a piece of cake.
+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 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.
-
-== What's in the box?
-* passenger_memory_stats - Munin plugin to monitor the memory usage of passenger application servers.
-* pasenger_queue - Montoring of passenger queue lenth.
-* passenger_status - Running, active and maximum number of passenger instances as well as sessions.
-* rails_database_time - Min, avg, max of database times.
-* rails_request_duration - Min, avg, max of the total request durations.
-* rails_request_error - Application errors and process blocker counters.
-* rails_requests - Get, put, post and delete requests.
-* rails_view_render_time - Min, avg and max view render times.
-
-For screenshots, head over to: http://barttenbrinke.github.com/munin-plugins-rails/
-
-== Installation
-The plugins follows the default munin installation scheme:
- git clone git://github.com/barttenbrinke/munin-plugins-rails.git
- cp munin-plugins-rails/rails_requests /usr/share/munin/plugins/
- chmod +x /usr/share/munin/plugins/rails_requests
- ln -s /usr/share/munin/plugins/rails_requests /etc/munin/plugins/rails_requests
- vi /etc/munin/plugin-conf.d/munin-node
-
-Paste the configuration from the documentation of rails_requests into the munin-node file.
- [rails_requests]
- env.log_file '/path/to/production.log'
- user www-data
- command /usr/local/bin/ruby %c
-
-Run "/etc/munin/plugins/rails_requests autoconf" and "munin-run rails_requests" to test the plugin.
-
-For more detailed information, see the documentation embedded in the plugin.
-Each plugin is packed with an example config and a ln -s you can copy.
-
-== Monitoring multiple applications
-
-If you want to run the plugin for more than one app the best way is to symlink the plugin multiple times.
-Also set a different graph_category for each of app. For instance:
-
- ln -s /usr/share/munin/plugins/rails_requests /etc/munin/plugins/rails_app1_requests
- ln -s /usr/share/munin/plugins/rails_requests /etc/munin/plugins/rails_app2_requests
-
-And in the munin-node file:
-
- [rails_app1_*]
- env.log_file '/path/to/app1/production.log'
- env.graph_category App1
-
- [rails_app2_*]
- env.log_file '/path/to/app2/production.log'
- env.graph_category App2
-
-== Problems
-* sudo gem install request-log-analyzer
-* Check if the paths in the plugin configuration are correct.
-* Make sure the specified user is allowed to write to /tmp and access your rails logfile.
-
-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
+This readme will be updated asap.
Happy monitoring!
@@ -70,5 +11,4 @@ Happy monitoring!
* 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
View
3  Rakefile
@@ -14,6 +14,9 @@ begin
"VERSION"
]
end
+
+ Jeweler::GemcutterTasks.new
+
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
View
3  munin-plugins-rails.gemspec
@@ -40,10 +40,11 @@ Gem::Specification.new do |s|
"munin/munin_rails_view_render_time"
]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.5.0}
+ s.rubygems_version = %q{1.3.7}
s.summary = %q{Plugins for Munin that use passenger and RLA}
if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
Please sign in to comment.
Something went wrong with that request. Please try again.