Skip to main content

Prometheus exporter for AVM Fritz! Devices

Project description

Fritz! exporter for prometheus

Reliability Rating Maintainability Rating Security Rating Coverage Quality Gate Status

ReadTheDocs Dependabot Tests Build

This is a prometheus exporter for AVM Fritz! home network devices commonly found in Europe. This exporter uses the devices builtin TR-064 API via the fritzconnection python module.

The exporter should work with Fritz!Box and Fritz!Repeater Devices (and maybe others). It actively checks for supported metrics and queries the for all devices configured (Yes, it has multi-device support for all you Mesh users out there.)

It has been tested against an AVM Fritz!Box 7590 (DSL), a Fritz!Repeater 2400 and a Fritz!WLAN Repeater 1750E. If you have another box and data is missing, please file an issue or PR on GitHub.

Documentation

Check out the full documentation at ReadTheDocs

Attention - Prometheus required

As the scope of this exporter lies on a typical home device, this also means that there are a lot of people interested in it, who may not have had any contact with Prometheus. As a result if this there have been some misunderstandings in the past, how this all works.

To avoid frustration you will need to know this:

You must setup and configure Prometheus separately! If you are running in plain docker or docker-compose there is a docker-compose setup for Prometheus at https://github.com/vegasbrianc/prometheus which also includes Grafana to actually produce dashboards. This may work out of the box or can be used as a starting point.

The whole setup required is:

  • fritz_exporter: connects to your Fritz device, reads the metrics and makes them available in a format Prometheus understands
  • prometheus: connects to the exporter at regular time intervals, reads the data and stores it in its database
  • grafana: connects to prometheus and can query the database of metrics for timeseries and create dashboards from it.

You cannot connect grafana to the exporter directly. This will not work.

Please check the "Quickstart" in the documentation at ReadTheDocs for a simple setup.

Disclaimer

Fritz! and AVM are registered trademarks of AVM GmbH. This project is not associated with AVM or Fritz other than using the devices and their names to refer to them.

Copyright

Copyright 2019-2025 Patrick Dreker patrick@dreker.de

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the 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

fritz_exporter-2.6.1.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fritz_exporter-2.6.1-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file fritz_exporter-2.6.1.tar.gz.

File metadata

  • Download URL: fritz_exporter-2.6.1.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for fritz_exporter-2.6.1.tar.gz
Algorithm Hash digest
SHA256 c8d014d764b240881794d146ec67d985556b4135dc7329fc7eee90124d415b2c
MD5 6eaa571a2a00169db6d1c4286834e8b0
BLAKE2b-256 7b125c5b4719d79a5b20831e93b0e9ead9c37ba14b157354dd5376b5a2db2e58

See more details on using hashes here.

File details

Details for the file fritz_exporter-2.6.1-py3-none-any.whl.

File metadata

  • Download URL: fritz_exporter-2.6.1-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for fritz_exporter-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3b8b1054ecc7259afc04a408f5af079df66551ed1588a8caeba4dc2e626822
MD5 d95efccb20f2a762b5eb8d98f205933a
BLAKE2b-256 a717b7b67e1c07d0bd8bfafb4bc0986db99baeed2b84636702f41fb34e8a3e83

See more details on using hashes here.

Supported by

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