Page MenuHomeSolus

Update vnstat to 2.8

Authored by solene on Fri, Nov 12, 10:49 AM.



Summarized Changelog

  • New features
    • Add the possibility of specifying an interface without using the -i / --iface options (vnstat and vnstati)
    • Add configuration option UseUTC for using UTC as timezone for database entries instead of following the system timezone configuration
    • Add -5g / --fivegraph options to image output with sizing related parameters for the output of a 5 minute resolution bar graph
    • Add --large / --small options and configuration option LargeFonts for controlling the image output font size
    • Add --scale and configuration option ImageScale for scaling the image output to a given percent
    • Add bar visualizations for traffic estimations in image output - Allow writing image output to a filename starting with -
    • Add --limit as an alternative way for controlling the length of outputs

Full changelog:

Test Plan
  • install vnstat 2.4 , gather data, display data
  • upgrade to vnstat 2.8, gather data, display data, display realtime data
  • create an 5 minutes resolution image with vnstati

Diff Detail

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

Event Timeline

solene created this revision.Fri, Nov 12, 10:49 AM
solene requested review of this revision.Fri, Nov 12, 10:49 AM
algent added a subscriber: algent.Fri, Nov 12, 12:23 PM

Hi @solene. the "description" need a fix too.

JoshStrobl requested changes to this revision.Fri, Nov 12, 12:57 PM
JoshStrobl added a subscriber: JoshStrobl.

By needs a fix, @algent means:

Let's take this opportunity while updating it to eliminate the enforced wrapped of the description by having it be:

vnStat is a console-based network traffic monitor that uses the network interface statistics provided by the kernel as information source. This means that vnStat will not actually be sniffing any traffic and also ensures light use of system resources. Traffic statistics are stored on a hourly level for the last 24 hours, on a daily level for the last 30 days and on a monthly level for the last 12 months. Total seen traffic and a top 10 days listing is also provided.

This revision now requires changes to proceed.Fri, Nov 12, 12:57 PM

Also we really don't need every single item from the changelog. Can just link to

algent removed a subscriber: algent.Fri, Nov 12, 1:34 PM
solene updated this revision to Diff 29875.Fri, Nov 12, 6:15 PM
solene edited the summary of this revision. (Show Details)
  • summarize changelog
  • unwrap description
JoshStrobl accepted this revision.Tue, Nov 16, 6:15 AM

A billion times better, thank you!

This revision is now accepted and ready to land.Tue, Nov 16, 6:15 AM
This revision was automatically updated to reflect the committed changes.