Hi there!
have there some changes to vnstat recently?
after update to 19.7.9 I notice that the weekly report is gone and the hourly report looks a bit different...
having a look at the log of the update, it seems that it was a bit upgraded:
"pkg-static: vnstat upgraded: 1.15 -> 2.4"
after looking at the homepage of vnstat - https://humdi.net/vnstat/ I guess the switch for generating the hourly graph has changed from -h to -hg and the weekly list has completely disappeared?!?
it would be great to adopt the area in the configuration of vnstat in OPNsense to reflect that changes...
Thanks!
I have to adapt the plugin or revert to v1. Weekly was removed with v2 of vnstat
Oh right, this was still a TODO item. For now this should do the trick:
# opnsense-revert -r 19.7.8 vnstat
Cheers,
Franco
I am fine with the new status... weekly stats are not important enough to revert back to old version.
adopting the plugin and the corresponding API would be great (maybe replacing the weekly option with the hourly graph?).
but it does not hurry...
thanks!
API is documented here:
https://github.com/opnsense/docs/blob/master/source/development/api/plugins/vnstat.rst
The weekly is already removed and will be released with next version :)