A collectd plugin for monitoring AVM FRITZ!Box routers.
Data captured includes:
- Physical link status
- Connection status
- Online connection uptime
- Maximal bit rates
- Current bit rates
- Total bytes sent and received
- Python 2.7+
- fritzconnection
- collectd 4.9+
pip install fritzcollectd
- Configure the plugin as shown below
- Restart collectd
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"
# Hostname "FritzBox"
# Password "pass"
# Instance "1"
#</Module>
</Plugin>
The plugin recognizes several (optional) configuration parameters.
- Address: The address of the FRITZ!Box
- Port: The port of the FRITZ!Box
- User: Login user name
- Password: Password for authentication
- Instance: collectd plugin instance
- Hostname: Hostname that collectd associates with the data
- (defaults to the host executing this plugin)
This projected is licensed under the terms of the MIT license.