p0lar / produkt-18

Collect ambient sensor data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

produkt-18

Collect ambient sensor data from AVM Fritz!Box and APC USV

Setup

pip3 install fritzconnection

Usage

AVM (FritzBox!) scripts

Supply configuration file parameter --config. The contents of the file should be as follows

[node]
hostname = <foobar>

[auth]
username = <user>
password = <password>

Munin

Put or link the approptiate plugin to your local munin plugins installation (normally located under /etc/munin/plugins/)

AVM (FritzBox!) plugins

Supply applicable munin confguration (/etc/munin/plugin-conf.d/<plugin_name>):

[<plugin_name>]
env.hostname = <foobar>
env.auth_username = <user>
env.auth_password = <password>

APC USV plugins

Supply applicable munin confguration (/etc/munin/plugin-conf.d/usb_apc):

[usv_apc]
env.apc_bin = <path_to_apc_control_binary (default: /usr/sbin/apcaccess)>

About

Collect ambient sensor data


Languages

Language:Python 100.0%