@fichtner I'm hoping you can add support for generating per interface reports and/or graphs using the vnstat tool. I find it's a great (and easy) way to get historical usage statistics from my firewall. Unfortunately right now, it only produces one report via the web interface, and that report aggregates all of the interfaces. Which isn't very useful, since that double counts data, etc.
A simple drop down on the report pages that allows you to select which interface to show is all it would take. Then pass the inteface name to vnstat like so:
vnstat -h --iface ix0
Where ix0 is the interface.
That's the first, hopefully easy improvement. The other issue would be adding support for generating graphs using the vnstati tool..
For some reason the FreeBSD and HardenedBSD vnstat packages include the vnstati command line tool, but the OPNsense package doesn't. Any idea why? Assume it can be easily added, then all it would take is swapping out the calls to vnstat with similar calls to vnatati and the plugin can produce pretty graphs. See this tutorial for details:
@fichtner I'm hoping you can add support for generating per interface reports and/or graphs using the vnstat tool. I find it's a great (and easy) way to get historical usage statistics from my firewall. Unfortunately right now, it only produces one report via the web interface, and that report aggregates all of the interfaces. Which isn't very useful, since that double counts data, etc.
A simple drop down on the report pages that allows you to select which interface to show is all it would take. Then pass the inteface name to
vnstat
like so:vnstat -h --iface ix0
Where
ix0
is the interface.That's the first, hopefully easy improvement. The other issue would be adding support for generating graphs using the
vnstati
tool..For some reason the FreeBSD and HardenedBSD
vnstat
packages include thevnstati
command line tool, but the OPNsense package doesn't. Any idea why? Assume it can be easily added, then all it would take is swapping out the calls tovnstat
with similar calls tovnatati
and the plugin can produce pretty graphs. See this tutorial for details:https://www.tecmint.com/install-vnstat-and-vnstati-to-monitor-linux-network-traffic/
And this example/demo on the homepage for
vnstat
...https://humdi.net/vnstat/cgidemo/
Thanks.