mstojek / nlbw2collectd

Collectd Lua plugin for exporting Nlbwmon data to collectd
7 stars 0 forks source link

Not really tracking down each host usage #4

Closed darrepac closed 3 months ago

darrepac commented 7 months ago

While the global usage seems to be well tracked down: image The usage per host is nearly null like if a lot were missed... image

mstojek commented 7 months ago

What about Nlbwmon, does it track traffic correctly? Please check it in Luci.

mstojek commented 6 months ago

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

darrepac commented 6 months ago

yes stats seems ok

image

mstojek commented 6 months ago

I need to think about what is happening and add some debugs so we can see why there is no traffic recorded.

mstojek commented 3 months ago

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.)

mstojek commented 3 months ago

If problem still exist reopen this issue.