GithubHelp home page GithubHelp logo

Comments (6)

ppawiggers avatar ppawiggers commented on June 19, 2024

Simple example for installing plugins with sensu-install: https://github.com/ppawiggers/docker-sensu/blob/master/bin/install

from docker-sensu.

sstarcher avatar sstarcher commented on June 19, 2024

The current install in docker-sensu supports a good bit more options, but ya the conversion should be fairly easy. I just need to drop some things in the script.

from docker-sensu.

ppawiggers avatar ppawiggers commented on June 19, 2024

Agree, that's why I did not submit a pull request for this feature, I currently just use this for myself.

from docker-sensu.

guimaluf avatar guimaluf commented on June 19, 2024

Seems like load-checks doesn't work in current plugins install method.
Cause load-checks requires a relative lib that isn't installed in the proper directory with gem build method.

/opt/sensu/embedded/bin/metrics-load.rb:37:in `require_relative': cannot load such file -- /opt/sensu/embedded/lib/sensu-plugins-load-checks/load-average.rb (LoadError)

from docker-sensu.

sstarcher avatar sstarcher commented on June 19, 2024

require_relative should be fixed in that plugin. Plugins should not be using require_relative

from docker-sensu.

sstarcher avatar sstarcher commented on June 19, 2024

This is a proper example of including a local library https://github.com/sensu-plugins/sensu-plugins-aws/blob/ffe7b24cf2b3f3f7ee3e92b08d40320377e2baa4/bin/check-beanstalk-elb-metric.rb#L30

from docker-sensu.

Related Issues (20)

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.