Skip to content

shelly-tools/check_shelly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

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)

About

A nagios compliant check for the popular Shelly IoT devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages