Closed darrepac closed 3 months ago
What about Nlbwmon, does it track traffic correctly? Please check it in Luci.
Please check if nlbwmon is correctly counting statistics. Login to Openwrt and go to: Luci->Bandwidth Monitor->Display
We need to find if this is my script issue or Nlbwmon
yes stats seems ok
I need to think about what is happening and add some debugs so we can see why there is no traffic recorded.
If you still have this problem and want to check what is happening here you can use debug script: https://github.com/mstojek/nlbw2collectd/blob/main/debug/nlbw2collectd.lua
You just need to replace original "nlbw2collectd.lua" with the one stored in debug directory.
Then we can check the debug logs with:
# logread | grep collectd
Please note that debug log will contain detailed info about your host names and their network usage. You may want to anonimyze this data before sending this for public view here.
Since this debug script will put lot of logs into Openwrt log use this script only for short period of time (like 5 minutes.)
If problem still exist reopen this issue.
While the global usage seems to be well tracked down:
The usage per host is nearly null like if a lot were missed...
![image](https://github.com/mstojek/nlbw2collectd/assets/7128994/2bbbe9b3-82d6-4d3a-9160-040c952ca01d)