this script was insptred by fetzerch/fritzcollectd
You can use this script to collect data from a AVM Fritz!Box and push via Telegraf to InfluxDB
- Python 2.7+
- fritzconnection
- copy
fritztelegraf.py
to/usr/local/bin/
- Configure the plugin as shown below
- Restart telefraf
Add the following to your telegraf config (typically /etc/telegraf/telegraf.conf
):
[[inputs.exec]]
commands = [
"/usr/local/bin/fritztelegraf.py"
]
data_format = "influx"