quentin-st / Freebox-OS-munin

Low depencendies Freebox OS munin plugin
GNU General Public License v2.0
17 stars 10 forks source link

Change freebox-switch to use Switch API #29

Closed LudovicRousseau closed 5 years ago

LudovicRousseau commented 5 years ago

The data for the 4 switch ports can be retrieved using the Switch API https://dev.freebox.fr/sdk/os/switch/

No need to access the access the RRD database any more. Also you get much more details: bytes in/out, packets unicast in/ou, packets multicast in/out, packets total in/out.

Old graph: avant New graphs (for the same data) apres

If you agree with the change I will provide a PR that

The code is already working for me in https://github.com/LudovicRousseau/Freebox-OS-munin/tree/local

LudovicRousseau commented 5 years ago

Already merged upstream.