Skip to content

Quick and dirty FRITZ!Box UPnP plugin for telegraf.

License

Notifications You must be signed in to change notification settings

sbstnzmr/telegraf_fritzbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Quick and dirty FRITZ!Box UPnP plugin for telegraf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.2%
  • Dockerfile 2.8%