Git Product home page Git Product logo

check_shelly's Introduction

check_shelly

A php-based Nagios compliant check for the popular Shelly IoT devices. This check should work with any nagios compliant monitoring system such as Icinga, Naemon, check_mk, Zabbix and others ...

Note: Currently only Shelly1 and Shelly2 are supported.

The check reads uptime, ram and file system usage and reports warning, if the defined threshold is reached.

system requirements

php with php-curl module

Example:

a check command example: ./check_shelly -h=<shelly-ip> -u=shellyuser -p=shellypassword -w=90 -c=95

Parameters:

  • -h (host) is mandatory
  • -u (username) and -p (password) are optional, if the Shelly is protected via username / password
  • -w and -c are optional warning /critical thresholds .. (default is 90 for warning, 95 for critical)

Output:

OK: shelly1-1D9ABA - Type: SHSW-1 (Uptime: 0 days, 16 hours, 5 minutes and 50 seconds) is healthy.

Todo:

  • add support for other Shelly devices
  • generate perfdata output
  • add monitoring for relay states (warn or critical, if relay state is off)

check_shelly's People

Contributors

eurich avatar dominik-robert 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.