Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.05 KB

telegraf_fritzbox

Overview

Small dockerized fritzbox plugin for telegraf. It pulls data on STDIN

Original

Overview

This is a very quick and dirty attempt at enabling telegraf to collect basic data from the popular FRITZ!Box routers made by manufacturer AVM. These devices export basic statistcis using UPnP (i.e. SOAP on port 49000) when configured to do so ("Heimnetz > Netzwerk > Netzwerkeinstellungen > Statusinformationen über UPnP übertragen").

The code borrows heavily from Nils Decker's excellent fritzbox_exporter.

Build

  1. Copy code to $TELEGRAF_SOURCE/plugins/all/fritzbox/fritzbox.go, creating directories as needed.
  2. Add "github.com/influxdata/telegraf/plugins/inputs/fritzbox" to imports in plugins/inputs/all/all.go.
  3. Build as usual.

The code doesn't handle data types, and I've never tested it with either multiple FRITZ!Box devices or FRITZ!OS version other than 7.02.

Status

Works for me. Contributions welcome.