Sensu-Plugins-load-checks

Build Status Gem Version Code Climate Test Coverage Dependency Status Sensu Bonsai Asset

Sensu Asset

The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found here in the Bonsai Asset Index.

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