Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.86k stars 269 forks source link

enhancement : monitor each client of the gateway #278

Closed PxxBxx closed 5 years ago

PxxBxx commented 5 years ago

I'm putting the idea here, it would help me discover any clients "leeching" bandwidth (who said Windows 10 peering ?? nvidia shield loop updates ?? etc.).

=> to have a "per client" monitoring of the gateway usage => nice to have : QoS per device

I really had a culprit between 2am and 6am, it was the nVidia Shield updating, many times for the same upgrade.... a reset corrected it, and here is how I found out : For the monitoring part, I tried https://github.com/Kiougar/luci-wrtbwmon, and the interface is interesting, but it only works when the page is open and updating itself. So I added a CRON to update the usage.db file every minutes (a simple CSV file) * * * * * /usr/sbin/wrtbwmon update /etc/config/usage.db Then I tried to monitor the values (via Grafana), and everything is not catched :

I start this thread, because maybe someone with a better WRT background know of a good plugin to test, before maybe integrating it into OMR ?

Requirements :

Do you think it would be a good feature for OMR ?

Ysurac commented 5 years ago

You can try luci-app-nlbwmon package.

PxxBxx commented 5 years ago

Thanks a lot ! I searched like hell to install nlbwmon..... no way using the "software" page in luci interface, I was looking how to build it before finding the right way : opkg update && opkg install luci-app-nlbwmon

I will let it run some days to see if it's worth it. Right now, it seems great !