Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin allows you to monitor and control AVM Fritz!DECT 200 (and maybe other "Smart Home" devices) with Nagios.
Current Version
0.0.8
Last Release Date
2018-02-03
Owner
Frederic Krueger
Website
http://dev.techno.holics.at/check_fbox_smarthome
Download URL
https://github.com/fkrueger-2/check_fbox_smarthome
License
Apache
Compatible With
root@yourhost:~# check_fbox_smarthome.php -h
usage: check_fbox_smarthome.php <whattodo> <fboxhosts> <sensornames>
<whattodo> can be 'read', 'toggle', 'switchon', 'switchoff'. <fboxhosts> can be '*' for all or a search pattern on your config's section-names <sensornames> can be '*' for all or a search pattern
### PLUGIN CONFIGURATION FILE
You need to set up the configuration in file /etc/nagios/check_fbox_smarthome.cfg .
##### EXAMPLE CONFIG ##### ;; a comment for your fbox with name 'fboxname' ;[fboxname] ;host='ip.or.host.name' ;pw='passwordtouse' ;; minimum time between toggling a switch is 15 seconds (lowest time allowed: 5 seconds) ;mintoggletime='15' ; ;; another fbox named 'fboxname2' (so multiple fboxen are supported) ;[fboxname2] ;host='fboxname2.hostname' ;pw='anotherpasswordtouse' #####/EXAMPLE CONFIG #####
### NAGIOS COMMANDS DEFINITION define command{ command_name check_fbox_smarthome command_line /usr/bin/php $USER1$/contrib/check_fbox_smarthome.php $ARG1$ $ARG2$ $ARG3$ }
### NAGIOS SERVICECHECK DEFINITION define service{ use local-service host_name yourhost service_description Smart Home check_command check_fbox_smarthome!'read'!'*'!'*'
# if you wanna use the following, you can use the accompanying execute_command.php (make sure it's reasonably secure for your environment): # notes_url /execute_command.php?arg1=toggle&cmd=check_fbox_smarthome&arg2=.*&arg3=.* # # also, you need to set up an nrpe-server providing something like this: #command[check_fbox_smarttemp] = /usr/bin/php /usr/lib/nagios/plugins/contrib/check_fbox_smarthome.php $ARG1$ $ARG2$ $ARG3$ }
### ### PNP4NAGIOS check_commands and template definition can be found in the archive. ###
check_fbox_smarthome v0.0.8 is licensed under the Apache License, Version 2.0. There is no warranty of any kind, explicit or implied, for anything this software does or does not do.
The main page for this plugin can be found at: http://dev.techno.holics.at/check_fbox_smarthome/
(c) 2014-2017 by Frederic Krueger / [email protected]
You must be logged in to submit a review.
To:
From: