-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vnstat: Statistics tabs not showing #3174
Comments
|
Do you have more than 4 interfaces selected in the vnstat settings? I know there's some known restriction/bug that when you select too much interfaces, it stops working. Apparently some *nix-kernel restriction, if I recall.
What is the exact command you're running on the CLI? |
I have selected al of my 10 interface. I have now selected only 4 of them. Still no change.
just running |
|
here too have the same issue |
|
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
|
Please reopen this, it's still hasn't been fixed. Or provide an alternative. |
|
Its a problem of vnstat itself |
|
I'm having the same problem and can reproduce it with I'm surprised to see this bug closed if it's still an unsolved issue. |
|
It's actually working now for me, though I don't really know why since I hadn't used it since it was broken. I reinstalled Opnsense from scratch at some point and it's likely the reason. A few days ago, I decided to try again, installed the plugin, deselected/reselected WAN in the options, and it's working. If it's not working for you, then I'm guessing there's some remnant files that needed cleaned up on the system itself. |
|
I reset the config and now the stats appear, indeed. This sadly deleted the history, though. But at least the stats show up now. |
Mainly for future reference, this limitation was caused by the interface name being limited to 31 characters which often resulted in around 4 interfaces being the limit when the
As already pointed out,
I've tried to understand how the plugin has been implemented and "Reset" appears to only be removing the database directory and then proceeding the same flow as pressing "Save" would. There aren't any plugin related files being stored in vnStat's database directory so it's rather strange "Reset" would result in the situation something fixing itself, unless it's somehow some file/directory permission issue. In that case, one of the system logs should contain some error message indicating what the issue is. |
I have this issue with one single interface. I added a second WAN and whenever I switch over to that OR any other interface except the original WAN, I see empty tabs. Only if I select the first WAN, I do get the tabs with the correct tables. Turns out, vnstat interface might not correlate with the options given in opnsense. For example, I have an PPPoE connection via a VLAN and that interface is the same as my LAN. If I select that PPPoE interface, I will get an empty response. If you have this error, run |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
When i try to open the Services menu --> VNStat --> Hourly statistics, or daily or monthly or Yearly Statistics, the screen remains empty.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Seeing statistics of vnstat. It is working on the cli though.
Screenshots
Environment
OPNsense 22.7.6-amd64
FreeBSD 13.1-RELEASE-p2
OpenSSL 1.1.1q 5 Jul 2022
The text was updated successfully, but these errors were encountered: