quentin-st/Freebox-OS-munin

Change freebox-switch to use Switch API

Closed this issue · 1 comments

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

  • removes the old freebox-switch
  • add the new freebox-swicth-bytes and freebox-switch-packets

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

Already merged upstream.