Skip to main content

Fritz! exporter for prometheus

⚠️ v3.0.0 breaking change — action may be required The default listen address has changed from 0.0.0.0 to 127.0.0.1. If Prometheus scrapes this exporter over the network and you have not set listen_address / FRITZ_LISTEN_ADDRESS explicitly, the exporter will no longer be reachable after upgrading. Set listen_address: 0.0.0.0 in your config or FRITZ_LISTEN_ADDRESS=0.0.0.0 in your environment to restore the old behaviour. See the upgrade notes for full details including the home automation metric label change.

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!Box 5690 (fibre), 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-2026 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.

Metadata

Release files for fritz-exporter 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fritz-exporter 3.3.0
File Size Uploaded
fritz_exporter-3.3.0.tar.gz 893.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fritz-exporter 3.3.0
File Interpreter ABI Platform
fritz_exporter-3.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 929.8 kB

Release files / fritz_exporter-3.3.0.tar.gz

Download URL fritz_exporter-3.3.0.tar.gz
Size 893.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4a3523e57fc8204a14e9c34279c64f005028cf732f3396a46995421720d6a5e
BLAKE2b-256 checksum
How to use checksums
dc4d6ee64aeda89f8e692180239e9682db78109f449ee33bfb1ff6a97ea5ae60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fritz_exporter-3.3.0-py3-none-any.whl

Download URL fritz_exporter-3.3.0-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca4b813762669d663154e0ef3e5040658a106bc3983144892fcbac178d7639d8
BLAKE2b-256 checksum
How to use checksums
9b1e20d1ba6e03e3dad90099afaf2ec41ae4bfca6a4c85227877f7f159c33c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

3.5.1

2 release files

3.5.0

2 release files

3.4.0

2 release files

3.3.2

2 release files

3.3.1

2 release files

This release

3.3.0 This release

2 release files

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.6.2

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page