Page MenuHomeSolus

Update vnstat to 2.1
ClosedPublic

Authored by kyrios123 on Dec 7 2018, 11:40 AM.
Tags
None
Referenced Files
F10896501: D4582.diff
Jul 2 2023, 12:42 AM
F10890942: D4582.id11219.diff
Jun 28 2023, 7:07 PM
F10889704: D4582.id11324.diff
Jun 28 2023, 2:34 AM
F10885120: D4582.diff
Jun 25 2023, 7:37 AM
F10864022: D4582.id11324.diff
Jun 17 2023, 5:33 AM
F10864018: D4582.id.diff
Jun 17 2023, 5:30 AM
F10839495: D4582.id11219.diff
Jun 9 2023, 9:26 PM
F10738988: D4582.id.diff
May 13 2023, 3:40 PM
Subscribers

Details

Summary
  • Fixed
    • --oneline could segmentation fault if database had total traffic values set but didn't have any daily or monthly traffic
    • No proper error message was produced when querying interface which didn't exist in the database
    • Several typos and spelling mistakes in documentation
    • Daemon:waittimesync_does_not_wait_with_new_interfaces test was failing if the system used a time zone with a negative numeric value
    • Traffic estimate and average rate for ongoing month was not being calculated correctly when MonthRotate had a value greater than 1
    • Accuracy of traffic estimate and average rate for the ongoing month could be slightly skewed depending on the used time zone
    • Data rate calculations when using SI decimal prefixes
    • Workaround for filled arcs not drawn correctly with some versions of libgd
  • New
    • Remove possible PollInterval and UpdateInterval drift over time
    • Sync SaveInterval to full minutes
    • C struct dump database has been replaced with sqlite database, full data import included from legacy databases of versions 1.3 - 1.18
    • User configurable data retention durations for all resolutions with following changed
    • Option to select units to use SI decimal prefixes using calculations with powers of 1000 (IEC and JEDEC prefixes use powers of 1024)
    • Yearly and 5 minute resolution statistics
    • Pebibyte and exbibyte support
    • Options the configure the length of each list output
    • Option to limit the length of --json and --xml outputs
    • Hourly list output replaces the hourly graph when the -h parameter is used
    • Hourly graph is accessible with -hg / --hoursgraph parameter
    • Options -b / --begin and -e / --end for specifying query time range
    • Configuration comes with ISO 8601 date formats as new defaults
  • Removed
    • Weekly output
    • Merge of data from multiple interfaces to one output
    • --testkernel
    • --exportdb, use --oneline, --json or --xml instead
    • --importdb, -u / --update and related options using vnstat command
    • Old style (default in versions up to 1.7) summary layout in image output

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 11 2018, 2:16 AM
This revision was automatically updated to reflect the committed changes.