Coder Social home page Coder Social logo

check-graphite's People

Contributors

benbc avatar dajac avatar dannenberg avatar dcarley avatar ktheory avatar pyr avatar rborer avatar tombooth 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

check-graphite's Issues

Syntax Error

I installed it using sudo gen install check_graphite, but when I try and run the command I get the following syntax error:

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': /var/lib/gems/1.8/gems/nagios_check-0.3.0/lib/nagios_check/range.rb:23: syntax error, unexpected kNOT (SyntaxError)
      @inverse ? not(result) : result
                    ^
/var/lib/gems/1.8/gems/nagios_check-0.3.0/lib/nagios_check/range.rb:23: syntax error, unexpected ':', expecting kEND
      @inverse ? not(result) : result
                              ^
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.8/gems/nagios_check-0.3.0/lib/nagios_check.rb:6
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.8/gems/check_graphite-0.2.5/lib/check_graphite.rb:1
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.8/gems/check_graphite-0.2.5/bin/check_graphite:3
    from /usr/local/bin/check_graphite:19:in `load'
    from /usr/local/bin/check_graphite:19

I don't know ruby very well, how do I go about fixing this?

Add an option to ignore when metrics don't exist (yet)

Nagios shows UNKNOWN when no data is returned for the target metrics, however this could be OK if, for example, an exception hasn't yet been raised and the metric doesn't exist yet in Graphite.

How about an option to the script, e.g. --ignore-missing, which will make it return 0 exit status in the event that no data is returned (no news is good news)?

INTERNAL ERROR: EOFError: end of file reached

We are seeing this error from this plugin intermittently. The graphite shows data being plotted however the plugin fails with this exit code. Any pointers how to troubleshoot this?

INTERNAL ERROR: EOFError: end of file reached

trying to test

./bin/check_graphite 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- check_graphite (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from ./bin/check_graphite:3:in `<main>'

is that ok?

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.