Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_deconz.php
1.202240514
2024-05-14
- Nagios 3.x
- Nagios 4.x
2718
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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.20240514
corrected number (warning/critical)
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 -w ~80 -c ~25
CRITICAL - Total: 25 OK: 22 Warning: 2 (JHSTEMPER01=75%, JHSTEMPER09=58%) Critical: 0 Offline: 1 (JHSMOTION01)
/usr/bin/php ./check_deconz.php -H 192.168.3.231 -m gbattery -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 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%
You need to install php-curl
NEW
Version 1.20240514
corrected number (warning/critical)
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
/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 -w ~80 -c ~25
CRITICAL - Total: 25 OK: 22 Warning: 2 (JHSTEMPER01=75%, JHSTEMPER09=58%) Critical: 0 Offline: 1 (JHSMOTION01)
/usr/bin/php ./check_deconz.php -H 192.168.3.231 -m gbattery -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 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%
Reviews (0)
Be the first to review this listing!