msklywenn / box-sfr-munin

Munin script to monitor SFR Router connected to FTTH ONT
Do What The F*ck You Want To Public License
0 stars 0 forks source link

box-sfr-munin

Munin script to graph informations from an SFR Router and ONT with FTTH connection.
Router Version: NB6VAC-MAIN-R4.0.44k
ONT Version: I-010G-Q

Configuration

In /etc/munin/plugin-conf.d/box, configure with a [box_*] section and parameters:

Example

[box_*]
   env.password my-nice-password
   env.ip 192.168.1.1
   env.hostname boxsfr

Setup

Make symbolic links in /etc/munin/plugins with the following names to the script.php from this repo in order to graph:

Screenshot

Then add a node in /etc/munin/munin.conf with the configured hostname.

Example

[boxsfr] # configured hostname
    address localhost # assuming the munin node running the plugin is on the same machine
    use_node_name no # very important, won't work otherwise

Inspired from the bash/php script of Sebastien95 on SFR's forum.
https://communaute.red-by-sfr.fr/t5/Box-d%C3%A9codeur-TV/Statistiques-BOX/td-p/387753/page/4