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
In /etc/munin/plugin-conf.d/box
, configure with a [box_*] section and parameters:
[box_*]
env.password my-nice-password
env.ip 192.168.1.1
env.hostname boxsfr
Make symbolic links in /etc/munin/plugins with the following names to the script.php from this repo in order to graph:
Then add a node in /etc/munin/munin.conf
with the configured hostname.
[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