Sign inSign up

giiibates/fritzfluxdb

By giiibates

•Updated about 17 hours ago

Leightweight FritzBox metrics collector (TR-064 & Lua) and writes them to InfluxDBv1+v2/QuestDB

Image
Networking
Monitoring & observability
0

5.3K

giiibates/fritzfluxdb repository overview

fritzFluxDB Logo

⁠fritzFluxDB

Lightweight daemon that collects metrics from your AVM FritzBox and pushes them into InfluxDB or QuestDB.

GitHub Docker Pulls License: MIT

šŸ“– Full documentation⁠


⁠Features

  • Collects TR-064 & Lua service data from FritzBox
  • Supports InfluxDB v1, InfluxDB v2 and QuestDB, with optional server-side downsampling on QuestDB
  • Home automation, call logs, VPN, network hosts, system stats
  • Multi-arch image (amd64 / arm64), runs as non-root with Tini as PID 1
  • Graceful shutdown with measurement buffer flush

⁠Quick Start

Create a .env file:

FRITZBOX_HOSTNAME=192.168.178.1
FRITZBOX_USERNAME=admin
FRITZBOX_PASSWORD=your-password

DB_TYPE=influxdb_v2
INFLUXDB_HOSTNAME=influxdb
INFLUXDB_PORT=8086
INFLUXDB_ORGANIZATION=my-org
INFLUXDB_BUCKET=fritzflux
INFLUXDB_TOKEN=your-token

Create docker-compose.yml:

services:
  fritzfluxdb:
    image: giiibates/fritzfluxdb:latest
    container_name: fritzfluxdb
    restart: unless-stopped
    env_file:
      - ./.env
    environment:
      TZ: Europe/Berlin
      LOG_LEVEL: INFO

Start it:

docker compose up -d

For QuestDB, InfluxDB v1, the full environment variable reference, and downsampling profiles, see Installation⁠ and Environment variables⁠ in the documentation.

⁠Grafana Dashboards

Example dashboards for every backend ship in the repository⁠ — system, call log, router log, and home automation. See Grafana dashboards⁠ for the import workflow.


This project is not affiliated with or endorsed by AVM GmbH. FRITZ!Box is a registered trademark of AVM GmbH.

Buy Me A Coffee ⁠

Tag summary

Content type

Image

Digest

sha256:159bdbe64…

Size

44.9 MB

Last updated

about 17 hours ago

docker pull giiibates/fritzfluxdb