Giter Club home page Giter Club logo

sensu-plugins-environmental-checks's Introduction

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.

sensu-plugins-environmental-checks's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar drmurx avatar eheydrick avatar ghostlyrics avatar jaredledvina avatar jordy25519 avatar majormoses avatar matteomanzoni avatar mdzidic avatar mjulian avatar tas50 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.