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_fbox_smarthome

Current Version
0.0.8
Last Release Date
2018-02-03
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
Apache
Hits
23554
Nagios CSP

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!
This plugin allows you to monitor and control AVM Fritz!DECT 200 (and maybe other "Smart Home" devices) with Nagios.
root@yourhost:~# check_fbox_smarthome.php -h

usage: check_fbox_smarthome.php

can be 'read', 'toggle', 'switchon', 'switchoff'.
can be '*' for all or a search pattern on your config's section-names
can be '*' for all or a search pattern

This plugin allows you to monitor and control AVM Fritz!DECT 200 (and maybe other "Smart Home" devices) with Nagios.

### 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 / fkrueger-dev-checkfboxsmarthome@holics.at