Hello,
After upgrade to 20.7, VnStat is no longer displaying bandwidth information. I have tried to resolve this via restarting the plugin and also removing the interface and re-adding it. Seems I am also not the only user with this issue as I have found a post on reddit with same issue: https://www.reddit.com/r/OPNsenseFirewall/comments/i747py/has_anyones_vnstat_stop_working_after_207_update/
Screenshot of settings and issue below:
(https://i.imgur.com/0SAc4ns.png)
Figure 1 - Settings in VnStat
(https://i.imgur.com/xrWFx5l.png)
Figure 2 - No hourly bandwidth data being captured or displayed
(https://i.imgur.com/uyFRWK8.png)
Figure 3 - No bandwidth data being captured or displayed. Issue started after 20.7, was able to fix it on the 8/15/2020 but issue returned.
I just noticed this affects the "Reporting: Traffic" graph too. WAN traffic graph shows flat line zero bandwidth.
(https://i.imgur.com/1CaA1m1.png)
Figure 4 - "Reporting: Traffic" graph and widget also no longer report proper bandwidth.
Known error when Sensei or IPS is running in same interface. Needs some time to fix.
Quote from: mimugmail on August 17, 2020, 07:24:23 AM
Known error when Sensei or IPS is running in same interface. Needs some time to fix.
Understood, Thanks for update.
Any update on this?
I have the same issue using ips and sensei.
It looks like this issue also impacts interfaces using the ix driver. I have two different boxes running OPNsense (both 20.7.4), neither using Sensei or Suricata, and on the one using the em driver, VnStat works fine. On the one using the ix driver, VnStat does not work at all, no matter what I have tried to do to fix it.
Running OPNsense 20.7.5-amd64
FreeBSD 12.1-RELEASE-p10-HBSD
OpenSSL 1.1.1h 22 Sep 2020
still has the same issues in regards of vnstat not collecting any data and the graphic graph in the dashboard is also still not showing traffic.
Any luck on a fix or work around?
No, it will be mentioned in Release notes when there is a fix
Thx for the update.
Any chance when we could expect a fix?
No idea, sorry
Quote from: RFGuy_KCCO on October 25, 2020, 02:55:56 PM
It looks like this issue also impacts interfaces using the ix driver. I have two different boxes running OPNsense (both 20.7.4), neither using Sensei or Suricata, and on the one using the em driver, VnStat works fine. On the one using the ix driver, VnStat does not work at all, no matter what I have tried to do to fix it.
I'm seeing the same issue with broken traffic graphs on Mellanox cards (mlx4en). Interestingly though, it worked without any issues on another mlx4en-based box, both of them running the latest OPNsense version. It would be great if someone could fix this! :)