/Freebox-OS-munin

Freebox OS munin plugin

Primary LanguagePython

Freebox-OS-munin

Freebox Revolution & Freebox 4K's stats monitoring using munin

freebox-traffic freebox-xdsl (missing graph) freebox-temp freebox-switch1 ... freebox-switch4 freebox-switch4
freebox-traffic freebox-xdsl freebox-xdsl-errors freebox-temp freebox-switch1 ... freebox-switch4 freebox-df

## Usage

  1. This plugin relies on requests:

    pip3 install requests
  2. Clone this project on your server:

    git clone https://github.com/chteuchteu/Freebox-OS-munin.git && cd Freebox-OS-munin
    clone_path=$(pwd)
  3. Launch authorization script

    ./main.py authorize
  4. 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
```
  1. Test it

    munin-run freebox-traffic