-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check-disk-usage.rb fails due to incompatible library version #75
Comments
Sensu > 0.29 is not yet officially supported by the plugins yet due to incompatibilities, if you are looking for something safe and stable I would go 0.28 until we have have completed all the work to get all of these working with ruby 2.4. You can read more about this here: https://blog.sensuapp.org/community-maintenance-mode-d109e75bcbc4 Did you try executing the commands it gave you?
If I had to guess I would say that is it due to conflicting gem requirements on |
@talonx sorry getting back around to look at some of these issues.
If you are not giving the path to the embedded ruby gem such as Can you please confirm whether sensu is intending to use it's embedded gems by running this? Assuming that you are intending to use embedded gems and install it into the same embedded ruby I think you will likely run into the same issue and what we need to do is to bump the dependency on Testing with ruby 2.2.5:
Testing with ruby 2.4.1:
I can put together a PR and have you test bumping the version of |
OS: Ubuntu 16.04.2 LTS
Ruby : ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] - installed via apt-get, so this is the default for this Ubuntu version
Sensu : Installed via sensu_1.0.0-1_amd64.deb
check-disk plugin installed using "sudo gem install sensu-plugins-disk-checks"
When this plugin is invoked by Sensu, the following error comes in the output
The text was updated successfully, but these errors were encountered: