Home Directory Plugins Others check_deconz.php

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_deconz.php

Rating
0 votes
Favoured:
0
Current Version
1.20220328
Last Release Date
2022-02-28
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Hits
363
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios Plugin to check equipment from a phoscon/deconz server
If you find a bug or have a request, write me an email: nagios@jhoerter.com

You need to install php-curl

NEW

Version 1.20220328
correct debug mode

Version 1.20220225
first Release

IMPORTANT:
You must connect your nagios server with your phoscon app.
Step 1:
Download all files to your nagios plugins directory
Step 2:
In a new browser tab open the Phoscon App
Click on Menu ? Settings ? Gateway
Click on “Advanced” button
Click on the “Authenticate app” button
Step 3:
# /usr/bin/php deconz_config.php -H -P


/usr/bin/php ./check_deconz.php -H 192.168.3.231 -m battery -e JHSWINDOW01 -w ~50 -c ~25
OK - JHSWINDOW01: 100% | battery=100%

/usr/bin/php check_deconz.php -H 192.168.3.231 -m openclosed -e JHSWINDOW04
OK - JHSWINDOW04: closed

/usr/bin/php check_deconz.php -H 192.168.3.231 -m closedopen -e JHSWINDOW04
CRITICAL - JHSWINDOW04: closed

/usr/bin/php check_deconz.php -H 192.168.3.231 -m gbattery_name
CRITICAL - Total: 25 OK: 24 Warning: 0 Critical: 0 Offline: 1 (JHSMOTION01)

/usr/bin/php check_deconz.php -H 192.168.3.231 -m gbattery_name -e JHSMOTION01
CRITICAL - Total: 24 OK: 24 Warning: 0 Critical: 0 Offline: 0

/usr/bin/php check_deconz.php -H 192.168.3.231 -m gbattery
CRITICAL - Total: 25 OK: 24 Warning: 0 Critical: 0 Offline: 1

/usr/bin/php check_deconz.php -H 192.168.3.231 -m temperature -e JHSTEMPER01 -c 8:22 -w 15:20
CRITICAL - JHSTEMPER01: 6.44°C | temperature=6.44°C

/usr/bin/php check_deconz.php -H 192.168.3.231 -m pressure -e JHSTEMPER08
OK - JHSTEMPER08: 1007 hPa | pressure=1007hPa

/usr/bin/php check_deconz.php -H 192.168.3.231 -m humidity -e JHSTEMPER08
OK - JHSTEMPER08: 51.58% | humidity=51.58%