A collectd plugin for monitoring AVM FRITZ!Box routers
Project description
fritzcollectd
A collectd plugin for monitoring AVM FRITZ!Box routers.
Data captured for the FRITZ!Box includes:
Physical link status
Connection status
Online connection uptime
Maximal bit rates
Current bit rates
Total bytes sent and received
Total bytes send and received on LAN interface (requires Authentication)
Data captured for connected FRITZ!DECT devices:
Temperature
Switch status
Current power
Energy consumption
Dependencies
Python 2.7+
collectd 4.9+
Installation
pip install fritzcollectd
Configure the plugin as shown below
Restart collectd
Prerequisites
In order to be able to read the status information the option “Transmit status information over UPnP” has to be enabled in the “Network Settings” menu on the Fritz!BOX. This is exaplained in AVM’s Knowledge Base.
Configuration
Add the following to your collectd config (typically /etc/collectd.conf):
<LoadPlugin python>
Globals true
</LoadPlugin>
...
<Plugin python>
Import "fritzcollectd"
#<Module fritzcollectd>
# Address "fritz.box"
# Port 49000
# User "dslf-config"
# Password "pass"
# Hostname "FritzBox"
# Instance "1"
# Verbose "False"
#</Module>
</Plugin>
The plugin recognizes several (optional) configuration parameters. In most cases the plugin works without any of these parameters. It might be necessary to specify Address if the router’s host name has been changed. Some values require authentication and can only be queried if the router’s Password has been configured.
Address: The network address of the FRITZ!Box.
Port: The TCP port of the FRITZ!Box.
User: The login user name on the FRITZ!Box.
Password: The password on the FRITZ!Box for authentication.
Instance: Plugin instance that collectd associates with the data.
Hostname: Hostname that collectd associates with the data (defaults to the host executing this plugin)
Verbose: Enable verbose logging to ease debugging.
The module block can be repeated to monitor multiple routers.
Further Information
Please refer to the project announcement blog post for additional information, such as the usage of Grafana for metrics visualization.
License
This projected is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fritzcollectd-0.5.0.tar.gz
.
File metadata
- Download URL: fritzcollectd-0.5.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ea52de602ba5ff5096704a4423a1f5b2d3cb6a8116d7b4e06f118047963e27 |
|
MD5 | 0f5b99657a9aeecd9441d865bbbba980 |
|
BLAKE2b-256 | d0ea17d375355b29aa723f0dee6b9b81c12c21638afa855c9502ce2b4e78e633 |