vnstat dashboard widget

Started by dirtyfreebooter, Today at 12:54:20 AM

Previous topic - Next topic
looking for feedback on this vnstat dashboard widget.

screenshots: https://imgur.com/a/6QKI3a3

couple of questions:

  • at first i put the interface/period(daily/monthly/yearly) in widget preferences, but then thought it was nice to be able to interact with it more. no other dashboard widget though have interactive html elements..
  • i am not sure what the best way to enumerate all the interfaces is. there are a bunch of interfaces that are nonsense. i am enumerating the interfaces that come from vnstat data, not the interfaces from opnsense. not sure which list to pick at the authority. if you removed an interface and wanted to look at historical data, using the interfaces in vnstat data seems correct...

open to any other thoughts, suggestions, best practices.