barttenbrinke / munin-plugins-rails Goto Github PK
View Code? Open in Web Editor NEWCollection of munin plugins for ruby on rails server environments
Home Page: railsdoctors.com
Collection of munin plugins for ruby on rails server environments
Home Page: railsdoctors.com
Can't exec "/usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby": Permission Denied at /usr/share/perl5/vendor_perl/Munin/Node/Service.pm line 263
(Centos 6, Selinux)
Maybe we should wait until skip x bytes / --after is properly supported.
I'm current running a Rails 3.0.4 application with Passenger 3.0.7 on FreeBSD 8.2 with Munin 1.4.4. After installing this gem and moving the symlinks to /usr/local/etc I get nothing but 0 return values for every plugin except munin_passenger_status. I have installed the application specific plugins, which also return 0 for all statistics. When I run request-log-analyzer itself I get statistics as expected.
Is there any way to see all reports created by this plugin in my own app? Like an HTML file.
If what I'm saying it's a foolishness, how can I see all the reports?
Thanks in advance!
Migrate the current wiki page in the r-l-a wiki and check if the information is still correct with the new repository. See http://wiki.github.com/wvanbergen/request-log-analyzer/munin
When the plugin is run as normal I get:
tail: write error
failed executing request-log-analyzer. Is the path to the binary correct?
But "munin-run rails_requests" works fine. My first assumption was a permissions problem but that doesn't seem to be the case. I've tried running the plugin as root, www-data and a local user account - no change. Any ideas?
Thanks,
mikrogroove
Hi
I receive this error when munin checks the log. Command works fine from command line.
Full error in log file is
2013/06/26-20:49:10 [20020] Error output from
2013/06/26-20:49:10 [20020] Request-log-analyzer, by Willem van Bergen and Bart ten Brinke - version 1.12.9
2013/06/26-20:49:10 [20020] Website: http://railsdoctors.com
How can i resolve this, or at least find further troubleshooting info. Have spent a day now trying to resolve this.
Thanks
Would be nice to have some support for puma and unicorn instead for passenger specific stuff.
Alberto Galisteo Prieto
6:35 PM (2 hours ago)
Can't exec "/usr/local/bin/ruby": No existe el fichero o el directorio at /usr/lib64/perl5/vendor_perl/5.12.4/Munin/Node/Service.pm line 263.
This is my problem
Hi, I ran git clone git://github.com/barttenbrinke/munin-plugins-rails.git according to the installation instructions in README.rdoc and munin-plugins-rails appeared as expected. However, cannot run the next command, 'cp munin-plugins-rails/rails_requests /usr/share/munin/plugins/', because there is no such file 'rails_requests' in 'munin-plugins-rails'. Could someone please tell me what I am doing wrong? Thanks a lot! --Alex
request-log-analyzer installed and runs normal
getting '`gem_original_require': no such file to load' error after installed in a RVM environment and ran $ sudo munin-run --debug vida_api_munin_rails_requests
Error:
/home/appname/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in gem_original_require': no such file to load -- munin-plugins-rails (LoadError) from /home/appname/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
require'
from /etc/munin/plugins/vida_api_munin_rails_requests:52
i have no idea why, but munin_passenger_queue is throwing errors:
./munin_passenger_queue:40: invalid multibyte char (US-ASCII)
./munin_passenger_queue:2: syntax error, unexpected $end, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
The memory stats plugin is looking for this regexp in the output of
passenger-memory-stats:
stats =~ /RSS:\s_([\d.]+)\s_MB\Z/m
but the output of passenger-memory-stats has this:
Version: 4.0.53
Date : 2015-05-21 08:22:20 -0700
----------- Apache processes -----------
PID PPID VMSize Resident Name
----------------------------------------
7312 28424 1985.7 MB 16.5 MB /usr/sbin/apache2 -k start
7575 28424 1985.5 MB 16.1 MB /usr/sbin/apache2 -k start
27860 28424 1985.1 MB 16.1 MB /usr/sbin/apache2 -k start
28424 1 102.4 MB 8.8 MB /usr/sbin/apache2 -k start
-------- Nginx processes ---------
------ Passenger processes ------
PID VMSize Resident Name
---------------------------------
1323 484.4 MB 247.7 MB Passenger RackApp: /srv/crabgrass
2437 421.2 MB 231.2 MB Passenger RackApp: /srv/crabgrass
6871 422.6 MB 233.2 MB Passenger RackApp: /srv/crabgrass
7548 421.3 MB 210.8 MB Passenger RackApp: /srv/crabgrass
15553 356.2 MB 162.6 MB Passenger RackApp: /srv/crabgrass
24354 218.0 MB 3.2 MB PassengerWatchdog
24358 1338.9 MB 7.3 MB PassengerHelperAgent
24365 221.3 MB 8.5 MB PassengerLoggingAgent
Any chance you could bump the gem version so that the Passenger 4 fix percolates through, or should I remove the gem & do a manual install? Thanks! Madwort
Generate analyzer or include base.
Hi,
we have systems using brightbox's ruby and libapache2-mod-passenger.
This means we do not have a passenger gem installed in the systems ruby.
Running passenger-memory-stats works without problems (as do the other passenger commands).
Is it necessary to require the passenger gem itself in / lib / munin / plugins / passenger_memory_stats.rb ?
line 80:
graph_args --base 1000 -l 0 --upperlimit #{upper_limit}
should be
graph_args --base 1000 -l 0 --upper-limit #{upper_limit}
as per: http://munin.projects.linpro.no/wiki/graph_args
Thanks for a killer plugin set! Really appreciate you putting it all together.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.