2015-06-02 23:41:15 +02:00
|
|
|
# fritzbox-munin
|
2015-06-05 00:15:19 +02:00
|
|
|
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.
|
2015-06-02 23:41:15 +02:00
|
|
|
|
2015-06-02 23:54:35 +02:00
|
|
|
## Introduction
|
|
|
|
|
|
|
|
These python scripts are [Munin](http://munin-monitoring.org) plugins for monitoring the [Fritz!Box](http://avm.de/produkte/fritzbox/) router by AVM.
|
|
|
|
|
2015-06-05 00:26:57 +02:00
|
|
|
## fritzbox\_traffic
|
2015-06-02 23:54:35 +02:00
|
|
|
|
2015-06-16 23:30:13 +02:00
|
|
|
fritzbox\_traffic shows you the traffic of the WAN interface (requires fritzconnection)
|
2015-06-16 23:40:48 +02:00
|
|
|
![http://i.imgur.com/8BwNMOL.png](http://i.imgur.com/8BwNMOL.png)
|
2015-06-05 09:18:06 +02:00
|
|
|
|
|
|
|
## fritzbox\_connection\_uptime
|
2015-06-04 23:05:16 +02:00
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_connection\_uptime shows you the connection uptime in days (requires fritzconnection)
|
|
|
|
![http://i.imgur.com/8oE1OYL.png](http://i.imgur.com/8oE1OYL.png)
|
2015-06-05 09:18:06 +02:00
|
|
|
|
2015-06-04 23:05:16 +02:00
|
|
|
## fritzbox\_cpu\_usage
|
2015-06-04 22:23:00 +02:00
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_cpu\_usage shows you the cpu usage (requires password)
|
|
|
|
![http://i.imgur.com/A9uGvWP.png](http://i.imgur.com/A9uGvWP.png)
|
2015-06-05 00:15:19 +02:00
|
|
|
|
|
|
|
## fritzbox\_cpu\_temperature
|
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_cpu\_temperature shows you the cpu temperature (requires password)
|
|
|
|
![http://i.imgur.com/duHYhw6.png](http://i.imgur.com/duHYhw6.png)
|
2015-06-04 23:38:39 +02:00
|
|
|
|
|
|
|
## fritzbox\_memory\_usage
|
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_memory\_usage shows you the memory usage (requires password)
|
|
|
|
![http://i.imgur.com/WhxrINK.png](http://i.imgur.com/WhxrINK.png)
|
2015-06-02 23:54:35 +02:00
|
|
|
|
2015-06-04 23:53:58 +02:00
|
|
|
## fritzbox\_power\_consumption
|
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_power\_consumption shows you the power consumption (requires password)
|
|
|
|
![http://i.imgur.com/a7uQzn6.png](http://i.imgur.com/a7uQzn6.png)
|
2015-06-05 09:18:06 +02:00
|
|
|
|
|
|
|
## fritzbox\_uptime
|
|
|
|
|
2015-06-16 23:40:48 +02:00
|
|
|
fritzbox\_uptime shows you the uptime in days (requires password)
|
|
|
|
![http://i.imgur.com/8oE1OYL.png](http://i.imgur.com/8oE1OYL.png)
|
2015-06-05 09:18:06 +02:00
|
|
|
|
|
|
|
## fritzbox\_wifi\_devices
|
|
|
|
|
|
|
|
fritzbox\_wifi\_devices shows you the number of connected wifi clients (requires password)
|
2015-06-16 23:40:48 +02:00
|
|
|
![http://i.imgur.com/lqvK1b2.png](http://i.imgur.com/lqvK1b2.png)
|
2015-06-04 23:53:58 +02:00
|
|
|
|
|
|
|
|
2015-06-02 23:54:35 +02:00
|
|
|
## Installation & Configuration
|
|
|
|
|
2015-06-05 00:26:57 +02:00
|
|
|
0. Pre-requesites for the fritzbox\_traffic and fritzbox\_uptime plugins is the fritzconnection package. To install it
|
|
|
|
|
|
|
|
pip install fritzconnection
|
|
|
|
|
2015-06-04 22:23:00 +02:00
|
|
|
1. Copy all the scripts to =/usr/share/munin/plugins
|
|
|
|
|
|
|
|
2. Create entry in /etc/munin/plugin-cond.d/munin-node:
|
|
|
|
|
|
|
|
[fritzbox_\*]
|
|
|
|
env.fritzbox\_ip *ip_address_to_your_fritzbox*
|
|
|
|
env.fritzbox\_password *fritzbox_password*
|
2015-06-02 23:54:35 +02:00
|
|
|
|
2015-06-04 22:23:00 +02:00
|
|
|
3. Create symbolic links to =/etc/munin/plugins=.
|
2015-06-02 23:54:35 +02:00
|
|
|
|
2015-06-04 22:23:00 +02:00
|
|
|
4. Restart the munin-node daemon: =/etc/init.d/munin-node restart=.
|
2015-06-02 23:54:35 +02:00
|
|
|
|
2015-06-04 22:23:00 +02:00
|
|
|
5. Done. You should now start to see the charts on the
|
2015-06-02 23:54:35 +02:00
|
|
|
Munin pages.
|
|
|
|
|
|
|
|
## Environment Settings
|
2015-06-05 00:26:57 +02:00
|
|
|
|
|
|
|
Do not forget to restart the munin-node daemon as described in step
|
|
|
|
3 of the installation instructions above.
|