Skip to main content

A collectd plugin for monitoring AVM FRITZ!Box routers

Project description

Circle CI Status

fritzcollectd

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

Dependencies

Installation

  1. pip install fritzcollectd

  2. Configure the plugin as shown below

  3. 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"
    #</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.

  • 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)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fritzcollectd-0.3.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file fritzcollectd-0.3.0.tar.gz.

File metadata

File hashes

Hashes for fritzcollectd-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7e024fe0c88bf26e120a9ecb4c70b6538eb5bb5080b5730e1558a5e773a25007
MD5 86a810855e531d85cddd874697bdd913
BLAKE2b-256 5fb6c6e63c49689b82e5c21c12f771cb37d1a961fd1fc0039079a0c77b66a0c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page