Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


This asset is forked from an upstream project at https://github.com/sensu-plugins/sensu-plugins-environmental-checks that does not yet exist as a Bonsai asset.

v0.0.1-patch · public · Published over 2 years ago

README
Asset Definition
Release Notes
Release Assets

sensu-plugins-environmental-checks

Build Status
Gem Version
Code Climate
Test Coverage
Dependency Status

Functionality

Plugin to collect environmental metrics (e.g. temperatures, power draw).

metrics-temperature.rb

parameters

  • --scheme: The scheme to concatenate the metrics with (default: HOSTNAME.sensors)

metrics

Multiple chips are supported and labelled by the chip name (e.g. sensors.coretemp-isa-0000.core0, sensors.i350bb-pci-8100.loc1). Depending on the chip you will get different metrics.

  • sensors.CHIPNAME.coreCORE_NUMBER: Temperature of the core (Degree Celsius)
  • sensors.CHIPNAME.locLOCATION_NUMBER: Temperature of the location (Degree Celsius)
  • sensors.CHIPNAME.physicalidCPU_NUMBER: Temperature of the CPU as a whole (Degree Celsius)
  • sensors.CHIPNAME.powerNUMBER: Power draw of the machine (Watt)

If you do not get all of the listed values, your mainboard probably does not support the features. To check, you can query it yourself by running sensors or sensors -A respectively.

check-temperature.rb

checks

Maps high and crit values as reported by lm-sensors to warning and critical status respectivley.

Usage

To collect metrics with the scheme of your choice:

metrics-temperature.rb --scheme YOUR_SCHEME_HERE

Installation

sensu-install --plugin sensu-plugins-environmental-checks

In order to use this plugin you will the need sensors installed. Prepackaged versions exist, e.g. the Ubuntu package is named lm-sensors.

For more help see Installation and Setup.

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: