Freebox Revolution & Freebox 4K's stats monitoring using munin
(missing graph) | ... | ||||||
---|---|---|---|---|---|---|---|
freebox-traffic | freebox-xdsl | freebox-xdsl-errors | freebox-temp | freebox-switch1 | ... | freebox-switch4 | freebox-df |
## Usage
-
This plugin relies on
requests
:pip3 install requests
-
Clone this project on your server:
git clone https://github.com/chteuchteu/Freebox-OS-munin.git && cd Freebox-OS-munin clone_path=$(pwd)
-
Launch authorization script
./main.py authorize
-
Install the plugins
Tip: you don't have to symlink each mode. Skip some if you don't need all information
```bash
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-traffic
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-temp
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-xdsl
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-xdsl-errors
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-switch1
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-switch2
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-switch3
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-switch4
ln -s "$clone_path"/main.py /etc/munin/plugins/freebox-df
service munin-node restart
```
-
Test it
munin-run freebox-traffic