Sensu-Plugins-cpu-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-cpu.rb
  • bin/check-cpu.sh
  • bin/metrics-cpu-mpstat.rb
  • bin/metrics-cpu-pcnt-usage.rb
  • bin/metrics-numastat.rb
  • bin/metrics-user-pct-usage.rb

Usage

Installation

Installation and Setup

Notes

The check-cpu.sh shell script in this repository requires the bc utility to be installed and available in the executable path. This shell script is not installed when using the Ruby gem or Sensu asset derived from this repository.