This plugin provides native load instrumentation for monitoring and metrics collection, including: load health, and total or per core metrics.
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
bin
lib
test
.gitignore first attempt at adding tests to a sensu plugin Oct 3, 2017
.kitchen.yml
.rubocop.yml rubocop upgrade and cleanup Aug 27, 2015
.travis.yml update travis to run the appropriate tests Oct 4, 2017
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE update repo May 22, 2015
README.md
Rakefile
sensu-plugins-load-checks.gemspec [CVE-2017-17042] update vulnerable `yard` dependency Mar 27, 2018

README.md

Sensu-Plugins-load-checks

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/check-load.rb
  • bin/metrics-load.rb

Usage

check-load.rb

To see the list of full options you can run:

$ ./bin/check-load.rb --help
Usage: ./bin/check-load.rb (options)
    -c, --crit L1,L5,L15             Load CRITICAL threshold, 1/5/15 min average
    -w, --warn L1,L5,L15             Load WARNING threshold, 1/5/15 min average

This check should work on linux systems and many other unix systems. The check takes the loadavg and divide by the number of cores. You can use -w/-c with a comma separated value for 1/5/15 minute thresholds.

Installation

Installation and Setup

Notes