Comments (4)
There's a note in the README about the vmstat dependency. https://github.com/sensu-plugins/sensu-plugins-memory-checks#installation. I will clarify the instructions.
You install the vmstat
gem with /opt/sensu/embedded/bin/gem install vmstat --no-ri --no-rdoc
or the equivalent in your config management.
from sensu-plugins-memory-checks.
@eheydrick When I try to install, I get this error:
$ sudo -H /opt/sensu/embedded/bin/gem install --no-ri --no-rdoc vmstat
Fetching: vmstat-2.1.0.gem (100%)
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ rb_sysopen - /opt/sensu/.gem/ruby/2.3.0/cache/vmstat-2.1.0.gem
So it's complaining that /opt/sensu/.gem
doesn't exist. If I create that directory, it works.
from sensu-plugins-memory-checks.
You need to be root to write into the sensu dir. Try it sudo'ing to root and not the sensu user.
$ sudo /opt/sensu/embedded/bin/gem install vmstat --no-rdoc --no-ri
Fetching: vmstat-2.1.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed vmstat-2.1.0
1 gem installed
from sensu-plugins-memory-checks.
I updated the README with instructions for installing the vmstat
gem.
from sensu-plugins-memory-checks.
Related Issues (20)
- Asset builds should include vmstat gem HOT 1
- Memory check resource definition is not valid in README
- Usage : How to disable warning , if suppose not needed
- Needs to be updated for dependency 'sensu-plugins' 1.3.0 ? HOT 1
- vmstat gem installation path HOT 3
- gem 'vmstat' is a runtime dependency HOT 1
- no default values for warning and critical HOT 4
- check-swap-percent.rb fails on FreeBSD HOT 17
- I would like to receive an invite to become contributor
- Metric memory wrong when checking on Centos 7 HOT 11
- Hardcoded threshold values in check-ram.rb override command line values
- remove "bc" as dependency in check-swap-percent.sh HOT 3
- Release 2.1.0 HOT 6
- Units Clarification HOT 8
- memory-check.sh thresholds should not default to zero HOT 4
- Error while executing script check-memory.rb HOT 2
- MacOS Support HOT 1
- Different defaults for used ram in `check-ram.rb` HOT 3
- Add compatibility with os x system HOT 1
- Check-memory-percent.sh not returning correct values for Linux systems HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensu-plugins-memory-checks.