OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Steven on August 17, 2020, 06:52:42 am

Title: VnStat and Traffic Graphs stopped working with 20.7
Post by: Steven on August 17, 2020, 06:52:42 am
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.
Title: Re: VnStat stopped working with 20.7
Post by: Steven on August 17, 2020, 06:59:21 am
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.
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: 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.
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: Steven on August 17, 2020, 10:33:38 pm
Known error when Sensei or IPS is running in same interface. Needs some time to fix.

Understood, Thanks for update.
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: sol on October 25, 2020, 02:09:02 pm
Any update on this?
I have the same issue using ips and sensei.
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: 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.
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: sol on December 04, 2020, 05:38:33 pm
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?
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: mimugmail on December 04, 2020, 05:45:17 pm
No, it will be mentioned in Release notes when there is a fix
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: sol on December 04, 2020, 06:20:57 pm
Thx for the update.
Any chance when we could expect a fix?
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: mimugmail on December 04, 2020, 07:38:39 pm
No idea, sorry
Title: Re: VnStat and Traffic Graphs stopped working with 20.7
Post by: Mr.Goodcat on December 28, 2020, 03:32:26 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! :)