vnstat v2.9 releases: a network traffic monitor for Linux and BSD
vnStat
vnStat is a console-based network traffic monitor that uses the network interface statistics provided by the kernel as the information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.
By default, traffic statistics are stored on a five-minute level for the last 48 hours, on an hourly level for the last 4 days, on a daily level for the last 2 full months, and on a yearly level forever. The data retention durations are fully user-configurable. Total seen traffic and a top days listing are also provided. Optional png image output is available in systems with the gd library installed.
Feature
- quick and simple to install and get running
- gathered statistics persist through system reboots
- can monitor multiple interfaces at the same time
- several output options
- summary, 5 minutes, hourly, daily, monthly, weekly, yearly, top days
- optional png image output (using libgd)
- data retention duration is fully user configurable on the fly
- months can be configured to follow the billing period
- light, minimal resource usage
- same low cpu usage regardless of traffic
- can be used without root permissions
- online color configuration editor
Changelog v2.9
- Fixed
RescanDatabaseOnSave
configuration option wasn’t being read from the
configuration file resulting in the feature always being enabled- Hourly graph image output using large fonts didn’t correctly fade out
the x-axis line for hours not having data available
- New
- Add
--alert
for producing output and/or specific exit status when
configured condition and transfer limit is exceeded, can also be used
for “quota remaining” type of queries depending on used parameters - Add configuration option
InterfaceMatchMethod
which allows configuring
the possibility of specifying an interface for database queries by using
its alias instead of system provided interface name, enabled by default
to support case insensitive matching of the beginning of interface
aliases (vnstat
andvnstati
) - Image output file extension allows selecting the used image file format
as long as the used LibGD supports it, PNG is no longer the only option - Add configuration option
HourlyGraphMode
for changing the output mode
of the graph,0
= 24 hour sliding window (default, as in previous
releases),1
= graph begins from midnight - Add mode parameter for
-hg
/--hoursgraph
options for overriding the
HourlyGraphMode
configuration option setting from the command line - Add vertical line to image output hourly graph to visualize midnight
- Add
-t
/--timestamp
options to daemon for enabling timestamps to prints
when the daemon is running in the foreground attached to a terminal - Accept
;
as comment character in configuration file in addition to#
- Comment out keywords which are using default values with
;
character in
provided configuration file and--showconfig
output
- Add
Copyright (C) 2017 vergoh