Giter Club home page Giter Club logo

check_bme680's Introduction

check_bme680

Monitoring plugin for Bosch BME680 gas sensor

This plugin comes in two parts: bsec_bme680 binary (which needs to be compiled) and the plugin itself check_bme680.sh.

bsec_bme680

The BME680 sensor needs to be constantly queried in order to calibrate itself and output correct raw values. This is where the bsec_bme680 binary comes into play. Once compiled, it needs to be run on the system where the sensor is connected to (via I2C bus), for example on a Raspberry Pi. The data will be written into a log file (default: /var/log/bsec_bme680.log, can be adjusted in bsec_bme680.c).

This binary was created by GitHub user alexh-name. The repository can be found on https://github.com/alexh-name/bsec_bme680_linux. The C file in this repository was slightly adjusted, mainly to log the results into a log file.

To compile bsec_bme680, the Bosch BSEC libary (a closed-source library) is needed and needs to be placed in the src folder. Please check the README file inside src for more information.

check_bme680

The plugin itself is run through a monitoring agent (e.g. NRPE) and reads the last (current) line of the log file (default: /var/log/bsec_bme680.log).

nrpe example

NRPE command definition in /etc/nagios/nrpe_local.cfg:

command[check_vocsensor]=/usr/lib/nagios/plugins/check_bme680.sh

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.