fritzbox-munin/README.md

2.1 KiB

fritzbox-munin

A collection of munin plugins to monitor your AVM FRITZ!Box router. The scripts have been developed using a FRITZ!Box 7362 SL running FRITZ!OS 06.20.

Introduction

These python scripts are Munin plugins for monitoring the Fritz!Box router by AVM.

fritzbox_traffic

fritzbox_traffic shows you the traffic of the WAN interface (requires fritzconnection)
http://i.imgur.com/hY7dHLW.png http://i.imgur.com/9hH2umm.png

fritzbox_connection_uptime

fritzbox_connection_uptime shows you the connection uptime in days (requires fritzconnection)

fritzbox_cpu_usage

fritzbox_cpu_usage shows you the cpu usage (requires password)

fritzbox_cpu_temperature

fritzbox_cpu_temperature shows you the cpu temperature (requires password)

fritzbox_memory_usage

fritzbox_memory_usage shows you the memory usage (requires password)

fritzbox_power_consumption

fritzbox_power_consumption shows you the power consumption (requires password)

fritzbox_uptime

fritzbox_uptime shows you the uptime in days (requires password)

fritzbox_wifi_devices

fritzbox_wifi_devices shows you the number of connected wifi clients (requires password)

Installation & Configuration

  1. Pre-requesites for the fritzbox_traffic and fritzbox_uptime plugins is the fritzconnection package. To install it

    pip install fritzconnection

  2. Copy all the scripts to =/usr/share/munin/plugins

  3. Create entry in /etc/munin/plugin-cond.d/munin-node:

    [fritzbox_*]
    env.fritzbox_ip ip_address_to_your_fritzbox
    env.fritzbox_password fritzbox_password

  4. Create symbolic links to =/etc/munin/plugins=.

  5. Restart the munin-node daemon: =/etc/init.d/munin-node restart=.

  6. Done. You should now start to see the charts on the Munin pages.

Environment Settings

Do not forget to restart the munin-node daemon as described in step 3 of the installation instructions above.