Page MenuHomeSolus

Update vnstat to 2.2
ClosedPublic

Authored by kyrios123 on Apr 28 2019, 6:12 PM.

Details

Summary
  • Fixed
    • O_CLOEXEC undeclared error when compiling with glibc older than 2.12
    • Image output --headertext wasn't being applied to some output types
    • DefaultDecimals setting wasn't controlling all outputs
    • Traffic rate for the last entry of the 5 minute resolution list wasn't being correctly calculated
  • New
    • Detection of 32-bit / 64-bit kernel interface counters for improving traffic calculations in rollover situations, cfg: 64bitInterfaceCounters
    • Possibility in queries to merge data from multiple interfaces to one output with interface1+interface2 syntax
    • Highlight current day in top list when visible
    • Changes in interface specific detected bandwidth limits are reported in the log
    • UpdateInterval value is automatically adjusted during daemon startup if found to be too high compared to the value of MaxBandwidth
  • Notes
    • Added clarification to the man page that the 'jsonversion' and 'xmlversion' fields in the --json and --xml outputs should be seen as the API version and compared to the previously used version in 3rd party implementations for verifying compatibility
    • Default value of UpdateInterval is now 20 instead of previous 30 seconds

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • Run sudo vstatd -n in terminal one, wait 5 minutes
  • Run vstat -oneline and vstat -5 in terminal two

Diff Detail

Repository
R3141 vnstat
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kyrios123 created this revision.Apr 28 2019, 6:12 PM
kyrios123 requested review of this revision.Apr 28 2019, 6:12 PM
JoshStrobl accepted this revision.Apr 29 2019, 11:15 AM
This revision is now accepted and ready to land.Apr 29 2019, 11:15 AM
This revision was automatically updated to reflect the committed changes.