Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: vnstat-cgi | Distribution: openSUSE Tumbleweed |
Version: 2.12 | Vendor: openSUSE |
Release: 1.1 | Build date: Thu Feb 8 09:45:15 2024 |
Group: Productivity/Networking/Diagnostic | Build host: h02-ch1b |
Size: 103712 | Source RPM: vnstat-2.12-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://humdi.net/vnstat | |
Summary: Graph Visualization CGI Script for vnstat |
vnStat is a network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s). vnStat isn't a packet sniffer. The traffic information is analyzed from the /proc filesystem, so vnStat can be used without root permissions. This package contains a CGI script that visualizes graphs of the collected traffic statistics.
GPL-2.0-only
* Sun Feb 04 2024 Atri Bhattacharya <badshah400@gmail.com> - Update to version 2.12: * Fixes: - QueryMode documentation in configuration file didn't match implementation or man page description - Daemon didn't try to import legacy databases when --noadd was used and no current version database initially existed resulting in the process exiting even when something could have been done - Daemon didn't try to import legacy databases when --initdb was used and no current version database initially existed, this behaviour can still be enabled by using --noadd in combination with --initdb - Using --nodaemon and --initdb at the same time didn't result in an error being shown * New - Add 95th percentile output as --95th, also available via - -alert, --json, --xml and image output, requires 5MinuteHours configuration to be set to at least 744 for storing all the necessary data - Add --json support for --alert - Database queries resulting in error exit with status 1 - Show spinning animation at the beginning of -l / --live output line, visibility configurable using LiveSpinner configuration option - Add -ic / --invert-colors option to image output for facilitating for example dark mode switching without needing to have multiple separate color configurations - Add dark mode option to image output example cgi (examples/vnstat.cgi) - Add option 4 to QueryMode for selecting summary output of single interface regardless of the number of interfaces in the database - Add optional mode parameter to -q / --query for overriding QueryMode for summary output and for enabling control of summary output style regardless of the number of interfaces in the database - Add --startempty option to daemon for starting and keeping the daemon running even if no interfaces were discovered and the database is empty - Add --noremove option to daemon for disabling the automatic removal of interfaces from database that aren't currently visible and haven't seen any traffic - Add third mode option to --iflist and --dbiflist for getting only the interface count as output - Add Provides for group and user names as required by rpm 4.19. - Drop conditionals supporting EOL openSUSE versions. * Sun Aug 27 2023 Martin Hauke <mardnh@gmx.de> - Update to version 2.11 Fixed * Database queries worked only if SQLite double-quoted string (DQS) feature (https://www.sqlite.org/quirks.html#dblquote) was enabled * Disabling data resolutions in data retention configuration didn't result in possibly existing database entries getting removed from the database * Disabling data resolutions in data retention configuration didn't result in the data resolution getting disabled but instead storing data forever * "expr: syntax error" during configure in BSD (pull request by namtsui) * Image output summary would show only "no data available" text in case of zero total traffic even when the historical data of no traffic could have been shown instead * Image output "-o -" content could get corrupted due to info, warning and error messages also using stdout, configuration file warnings being the most likely source, now uses stderr in image output * Configuration validation was too heavily limiting and enforcing image output 5 minute graph related configuration options for combinations that would have resulted in usable images New * Database cleanup has been changed to interpret data retention configuration as number of entries to be kept instead of calendar time, this restores the behaviour to similar as it was up to version 1.18, the difference is visible only on systems that aren't powered all the time * Database is vacuumed during daemon startup and reload, behaviour is configurable using VacuumOnStartup and VacuumOnHUPSignal configuration options * Add configuration option InterfaceOrder for controlling the interface order in outputs with multiple interfaces * Used data retention configuration is made visible during daemon startup and after configuration reloads * Daemon will no longer start if all data resolutions have been disabled in the configuration file * SQLite version is visible in --version outputs Notes * "Not enough data available yet." message has been replaced with "No data. Timestamp of last update is same YYYY-MM-DD HH:MM:SS as of database creation." to better explain the reason why there's nothing to show, this message is expected to disappear within configured SaveInterval if the interface is active * Thu Dec 08 2022 Thorsten Kukuk <kukuk@suse.com> - Drop vnstat-if.sh, the used options are not supported anymore by vnstat and only create error messages * Sat Oct 22 2022 Martin Hauke <mardnh@gmx.de> - Update to version 2.10: Fixed * Image output of 5 minute graph wasn't possible if data retention of the 5 minute time period was configured as unlimited. * Estimates and average rates weren't calculated correctly for daily, monthly and yearly time periods when monitoring of the interface had been started during the ongoing time period. * Estimates weren't being shown in summary output when OutputStyle or --style was configured with a value less than 2. * Alignment of column header in short output wasn't correct when OutputStyle or --style was configured with the value 0 (vnstat) New * Support input of more than 31 characters in interface name when using interface1+interface2 syntax data merge queries. * Support passing --config option multiple times, later files override earlier files if settings overlap (vnstat and vnstati) * Add configuration option EstimateVisible for controlling the visibility of the estimate line. * Add configuration option EstimateText for modifying the default "estimated" text string when the estimate line is visible. * Add --style support to -tr / --traffic output. * Add summary option to --json and --xml outputs. * Add timestamps to --json and --xml outputs. * Add Prometheus compatible metrics endpoint cgi to examples. (examples/vnstat-metrics.cgi) * Mon Jan 24 2022 Dirk Müller <dmueller@suse.com> - update to 2.9: * 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 * 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 and vnstati) * 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 * Mon Jan 24 2022 Martin Hauke <mardnh@gmx.de> - Update to version 2.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 and vnstati). * 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. * Sun Nov 28 2021 Dirk Müller <dmueller@suse.com> - update to 2.8: - Using a combination of --live and --json wasn't flushing stdout after each line resulting in buffered output if the output was being piped - Image output would fail to show the last line bar graph in list outputs if EstimateStyle was 0, BarColumnShowsRate was 1 and the last line had a higher traffic rate than other lines - Image output didn't correctly horizontally align the "no data available" message in 5 minute graph depending on the width of the image - Image output related configuration warnings could get shown when image output wasn't being used - Warnings of mismatches between image output and data retention configuration didn't provide relevant details for solving the issues - BandwidthDetection was being used for tun interfaces even when the Linux kernel had the information hardcoded to 10 Mbit regardless of the used real interface, interface specific MaxBW will now be used instead or MaxBandwidth as fallback - Configured interface specific MaxBW values were getting overridden by BandwidthDetection when something could be detected - Image output horizontal rx/tx bars often had one pixel too much width in the tx section resulting in slightly wrong ratio getting shown - Top days list wasn't always sorting entries with exactly the same traffic sum using ascending date - 64bitInterfaceCounters with value -2 always assumed 32-bit on Linux systems until a 64-bit value was seen if kernel headers weren't available when binaries were built - Add the possibility of specifying an interface without using the - i / --iface options (vnstat and vnstati) - The daemon can discover added interfaces from the database without requiring a restart, configurable with option RescanDatabaseOnSave - Add configuration option UseUTC for using UTC as timezone for database entries instead of following the system timezone configuration - --iflist uses user configured interface specific MaxBW values in the output when available instead of showing only the kernel provided information when detected - Add configuration option AlwaysAddNewInterfaces to expose the daemon - -alwaysadd command line option which gains an optional mode parameter - Image output uses LibGD filled arc bug workaround only for LibGD versions that are known to be broken - Image output example cgi (examples/vnstat.cgi) improvements - Automatically lists all monitored interfaces instead of requiring the list to be filled manually, server name in page title comes from hostname command by default - Provides links for most available images to more detailed or longer versions of each image - Allows direct interface specific page access with /interfacename suffix for the cgi if the used httpd supports PATH_INFO - Page auto refresh can be enabled with configurable interval * Sun Jun 06 2021 Martin Hauke <mardnh@gmx.de> - Install examples/systemd/simple/vnstat.service - Drop not longer needed patch: * systemd234.patch * Sun May 16 2021 Martin Hauke <mardnh@gmx.de> - Update to version 2.7 Fixed * Possibility of segmentation fault with image list output when database existed but no data was available. * ./configure output could show invalid install paths with some parameter combinations. * Columns in text hours graph output could get misaligned if the selected system locale used a UTF-8 sequence for the thousands separator instead of a single character. New * Add -5g / --fivegraph options to image output with sizing related parameters for the output of a 5 minute resolution bar graph * Add configuration option SummaryGraph and optional parameter for --hsummary and --vsummary for selecting which graph is shown next to the summary data in the horizontal and vertical summary image outputs. * 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 configuration option LineSpacingAdjustment for adjusting the line spacing of list format image outputs. * Add bar visualizations for traffic estimations in image output * Allow writing image output to a filename starting with "-". * Add --initdb to daemon for creating a new empty database without having the daemon process staying running, doesn't discard data if a database already exists. * Add configuration option BarColumnShowsRate for having the bar column in image list outputs be scaled according to the average rate column values when those values are visible, disabled by default. * Add --dbiflist for getting a list of interfaces in the database, both --iflist and --dbiflist also get alternative more parseable outputs. * Add configuration option for large font output and make 5 minute resolution graph visible in "vnstat.cgi". * Thu Oct 01 2020 Peter Varkoly <varkoly@suse.com> - Adapt mod_authz_host parameter instead of deprecated mod_access_compat parametere.
/etc/apache2 /etc/apache2/conf.d /etc/apache2/conf.d/vnstat.conf /srv/vnstat /srv/vnstat/vnstat.cgi /usr/bin/vnstati /usr/share/man/man1/vnstati.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Dec 26 23:45:37 2024