Coder Social home page Coder Social logo

munin-plugins-rails's People

Contributors

barttenbrinke avatar boblin avatar denis avatar ebertech avatar ghazel avatar kei-s avatar sigmike avatar slemiere avatar tulaman avatar wakemaster39 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

munin-plugins-rails's Issues

Can't exec ruby: Permission Denied

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)

Use new RLA API

Maybe we should wait until skip x bytes / --after is properly supported.

All plugins return 0 for stats

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.

HTML report

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!

tail: write error when run by node, not when run manually

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

Error output from....error

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

Can't exec "/usr/local/bin/ruby"

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.

FATAL: Failed to exec.

This is my problem

Installation: "cp: munin-plugins-rails/rails_requests: No such file or directory" -- What am I doing wrong?

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

Install munin-plugins-rails in a RVM box getting failed.

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:

About to run '/home/appname/.rvm/rubies/ruby-1.8.7-p352/bin/ruby /etc/munin/plugins/app_name_munin_rails_requests'

/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:inrequire'
from /etc/munin/plugins/vida_api_munin_rails_requests:52

invalid multibyte char (US-ASCII)

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

passenger memory stats no longer have a total RSS

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

require_passenger_gem necessary?

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.