77 Commits

Author SHA256 Message Date
fe1f0d387b Accepting request 1245874 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1245874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=24
2025-02-14 18:23:10 +00:00
4e9433e4cb - Update to version 2.13
Fixed
  * Opening of body html tag was missing on some pages in image
    output.
  * example cgi (examples/vnstat.cgi).
  New
  * Add database data merge support as --merge.
  * Add --db for specifying database file for queries (vnstat and
    vnstati).
  * Add exit status 2 options to --alert for making it possible to
    differentiate alerts from errors (exit status 1).
  * Add --dbiflist also to vnstati command.
  * Image output example cgi (examples/vnstat.cgi) improvements.
    + Remove dependency to vnstat command.
    + Add option for selecting how many images are shown per row
      on the index + page when the database has more than one
      interface.
    + Add option for selecting which image output is used on the
      index page + when the database has more than one interface.
    + Add options for selecting which interfaces are shown or
      hidden from the index page without disabling access to all
      interface specific page when the database has more than one
      interface.
    + Harmonize layout style between pages.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=75
2025-02-14 11:58:11 +00:00
7bd8ca1a07 Accepting request 1144703 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1144703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=23
2024-02-07 17:49:00 +00:00
Chris O
5d1f31ef0d Accepting request 1144040 from home:badshah400:branches:server:monitoring
* Update to version 2.12.
* Add Provides for group and user names as required by rpm 4.19.
* Drop conditionals supporting EOL openSUSE versions.

OBS-URL: https://build.opensuse.org/request/show/1144040
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=73
2024-02-06 17:58:47 +00:00
ed96ba03ea Accepting request 1111354 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1111354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=22
2023-09-15 20:04:40 +00:00
972773cae1 Accepting request 1106170 from home:mnhauke:monitoring
- 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

OBS-URL: https://build.opensuse.org/request/show/1106170
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=71
2023-09-14 13:42:47 +00:00
f47757979d Accepting request 1041660 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1041660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=21
2022-12-09 12:17:55 +00:00
2e084b7e4e Accepting request 1041323 from home:kukuk:cleanup
- Drop vnstat-if.sh, the used options are not supported anymore by
  vnstat and only create error messages

OBS-URL: https://build.opensuse.org/request/show/1041323
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=69
2022-12-08 15:41:48 +00:00
72d5f74aea Accepting request 1031126 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1031126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=20
2022-10-26 10:31:20 +00:00
Chris O
d571ca3285 Accepting request 1030532 from home:mnhauke:monitoring
- 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)

OBS-URL: https://build.opensuse.org/request/show/1030532
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=67
2022-10-25 11:57:01 +00:00
c11096770d Accepting request 954179 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/954179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=19
2022-02-14 21:36:13 +00:00
035f88f1a0 Accepting request 948498 from home:dirkmueller:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/948498
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=66
2022-02-14 10:06:56 +00:00
24a21fb441 Accepting request 949663 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/949663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=18
2022-01-28 21:12:40 +00:00
285c5ef4b1 Accepting request 948473 from home:mnhauke:monitoring
- 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.

OBS-URL: https://build.opensuse.org/request/show/948473
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=65
2022-01-28 11:01:08 +00:00
bb7d1f6445 Accepting request 934438 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/934438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=17
2021-11-29 16:28:30 +00:00
Chris O
0d3d3952d8 Accepting request 934411 from home:dirkmueller:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/934411
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=64
2021-11-28 22:39:35 +00:00
e67052397a Accepting request 899072 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/899072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=16
2021-06-10 22:18:59 +00:00
c4e48e5523 Accepting request 897824 from home:mnhauke:monitoring
- Install examples/systemd/simple/vnstat.service
- Drop not longer needed patch:
  * systemd234.patch

OBS-URL: https://build.opensuse.org/request/show/897824
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=62
2021-06-10 15:34:31 +00:00
79649616aa Accepting request 896423 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/896423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=15
2021-06-01 08:39:42 +00:00
Chris O
c8592494eb Accepting request 893482 from home:mnhauke:monitoring
- 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

OBS-URL: https://build.opensuse.org/request/show/893482
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=60
2021-05-31 18:34:09 +00:00
68d111aeb2 Accepting request 839017 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/839017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=14
2020-10-02 15:42:02 +00:00
Chris O
8bac55f3a8 Accepting request 839013 from home:varkoly:branches:server:monitoring
- Adapt mod_authz_host parameter instead of deprecated mod_access_compat
  parametere.

OBS-URL: https://build.opensuse.org/request/show/839013
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=58
2020-10-01 15:57:01 +00:00
f2e3ecc12a Accepting request 769778 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/769778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=13
2020-02-04 18:55:03 +00:00
Lars Vogdt
66e6399145 Accepting request 769741 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769741
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=56
2020-02-03 19:41:41 +00:00
b79b0be373 Accepting request 767030 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/767030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=12
2020-01-25 12:25:46 +00:00
Lars Vogdt
5f68959fc7 Accepting request 765911 from home:mnhauke:monitoring
- Update to version 2.6
  Fixed
  * --json and --xml didn't support having both mode and limit
    parameters defined at the same time as documented, broken since
    previous release
  * Documentation was using a mix of "count" and "limit" for the
    option of limiting the maximum number of shown entries in
    queries
  * Summary image output would segmentation fault when the database
    existed but didn't yet contain any daily or monthly data for
    the selected interface
  New
  * Add --limit as an alternative way for controlling the length
    of outputs

OBS-URL: https://build.opensuse.org/request/show/765911
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=54
2020-01-25 10:32:05 +00:00
4a8c8bb1a8 Accepting request 764455 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/764455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=11
2020-01-15 15:15:10 +00:00
Lars Vogdt
328fa790be Accepting request 764421 from home:mnhauke:monitoring
- Update to version 2.5
  Fixed
  * Automatic interface selection wasn't done for --traffic and
    --live when the Interface configuration setting was left empty
  * --setalias didn't do anything when used in combination
    with --add
  * -l / --live and -tr default to first interface instead of
    producing an error if a interface merge is requested

OBS-URL: https://build.opensuse.org/request/show/764421
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=52
2020-01-14 20:09:40 +00:00
7a6a8b94be Accepting request 726429 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/726429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=10
2019-08-27 10:01:39 +00:00
Chris O
b11168f6c0 Accepting request 726262 from home:mnhauke:monitoring
- Update to version 2.4
  Fixed
  * Daemon didn't correctly wait when acquiring database lock for
    data write which could result in unnecessary errors and even
    process exit if an external database read operation had exactly
    the same timing as the daemon write operation
  * Move vnstatd man page from section 1 to section 8
  New
  * Add --rename for renaming interfaces already existing the
    database

OBS-URL: https://build.opensuse.org/request/show/726262
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=50
2019-08-27 09:21:57 +00:00
0ec764d9d8 Accepting request 717514 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/717514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=9
2019-07-22 15:18:40 +00:00
Lars Vogdt
53b4ef707c Accepting request 714510 from home:mnhauke:monitoring
- Update to version 2.3
  Fixed
  * Traffic rate wasn't being shown for the last entry of most lists
    during the first update of the next period (first SaveInterval
    minutes of each new hour, day, month and year)
  * Systemd example service file could result in database file write
    issues if the used systemd version supported ProtectSystem=strict
    but didn't support StateDirectory
  * Interfaces could end up staying marked as 'disabled' in the
    database even after becoming back active and monitored, only the
    shown status was wrong without resulting in any data loss
  * Some image outputs didn't allocate enough height for the image
    resulting in the last row having less space below it than intended
  New
  * Automatic interface selection when the Interface configuration
    setting is left empty (new default)
  * Add configuration option DatabaseWriteAheadLogging to enable
    SQLite Write-Ahead Logging mode which may provide some disk i/o
    benefits, see https://www.sqlite.org/wal.html for more details and
    note that SQLite 3.22.0 or later is required to support read-only
    operations
  * Add configuration option DatabaseSynchronous for changing the
    SQLite setting of the "synchronous" flag, see
    https://www.sqlite.org/pragma.html#pragma_synchronous for more
    details
  * Show warning in log if writing cached data to database is slow
  * Try database query for up to 5 seconds when database is busy or
    locked instead of giving up immediately
  * Continue daemon process execution with data caching if database
    writes fail due to disk being full

OBS-URL: https://build.opensuse.org/request/show/714510
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=48
2019-07-22 09:43:17 +00:00
915150e9f9 Accepting request 706893 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/706893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=8
2019-06-02 13:18:52 +00:00
Lars Vogdt
5978c9764a Accepting request 706871 from home:mnhauke:monitoring
- Add Buildrequires: check-devel and enabled %%check section

OBS-URL: https://build.opensuse.org/request/show/706871
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=46
2019-06-02 11:10:36 +00:00
ae1df48323 Accepting request 702631 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/702631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=7
2019-05-14 11:42:47 +00:00
Chris O
7a023ce88c Accepting request 702577 from home:lemmy04:branches:server:monitoring
- Update to version 2.2
  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
- Verify source signature
- Update to version 2.1
  Fixed:
  * --oneline could segmentation fault if database had total traffic values
    set but didn't have any daily or monthly traffic (Arch bug #60588)
  * No proper error message was produced when querying interface which didn't
    exist in the database
  * 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
  New:
  * Remove possible PollInterval and UpdateInterval drift over time
  * Sync SaveInterval to full minutes
- Update to version 2.0
  Fixed:
  * Data rate calculations when using SI decimal prefixes
  * Workaround for filled arcs not drawn correctly with some versions
    of libgd (libgd/libgd#351)
  New
  * 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 defaults:
                  v1.18     v2.0
      5 minutes     n/a      576   (48 hours)
      hours          24       96   (4 days)
      days           30       62   (2 full months)
      months         12       25   (2 full years)
      years         n/a      all
      top days       10       20
  * 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
- Don't use new systemd service options for system below 235 (systemd234.patch)
- Update to 2.1
2.1 / 6-Dec-2018
  * Fixed
    * --oneline could segmentation fault if database had total traffic values
      set but didn't have any daily or monthly traffic (Arch bug #60588)
    * 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
  * New
    * Remove possible PollInterval and UpdateInterval drift over time
    * Sync SaveInterval to full minutes
2.0 / 21-Oct-2018
  * Fixed
    * Data rate calculations when using SI decimal prefixes
    * Workaround for filled arcs not drawn correctly with some versions
      of libgd (libgd/libgd#351)
  * New
    * 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 defaults:
                   v1.18     v2.0
       5 minutes     n/a      576   (48 hours)
       hours          24       96   (4 days)
       days           30       62   (2 full months)
       months         12       25   (2 full years)
       years         n/a      all
       top days       10       20
    * 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
- Update to 1.18
  * Fix: Misspellings, compiler warnings and possible error situations
    (pull requests by Christian Göttsche)
  * Hardening added to examples/systemd/vnstat.service
    (pull request by Christian Göttsche)
  * Add RTC sanity check and sync wait to daemon startup, the possible wait
    duration can be configured using the TimeSyncWait keyword
  * Add optional parameter to --oneline output for forcing fields to output
    in bytes
  * Add --json support for -l / --live and -tr outputs
  * Number of decimals used in outputs can be configured using DefaultDecimals
    and HourlyDecimals
  * Add section separators for improving readabilty of the vnstat -h output,
    configurable using HourlySectionStyle
- Update to 1.17:
  * Fix: --importdb was creating invalid databases since version
    1.15
  * Fix: console output was being buffered which resulted in lack
    of output in at least systemd log
  * Add cross-compilation detection and improve install-data-hook
    to not assume that the binaries can be executed in the host
    system
- Update to 1.16:
  * Fix: traffic rate calculation, SI decimal prefixes were shown
    but calculation was done for IEC binary prefixes
  * Add option for configure to disable image output support even
    if required library is available, improve library detection
  * Add selection between SI decimal prefixes (kbit/s...) (default)
    and IEC binary prefixes (Kibit/s...) for traffic rate using
    RateUnitMode keyword in configuration file
  * Improve database handling resilience
  * Inherit database file ownership from database directory if
    UpdateFileOwner configuration option is enabled (default:
    enabled) when adding new interfaces for monitoring as root.
    This solves database file ownership mismatches when the daemon
    is started as a non-root user and an interface gets added for
    monitoring with a sudo command as root
  * Improve user guidance in error situations related to the
    configured default interface
- Update to 1.15:
  * Fix: XML output had extra commas, broken since previous version.
  * Fix: unintended shared pointer modification in mosecs()
    sometimes resulted in wrong month name to be shown for the
    current month.
  * Fix possible buffer overflow in /proc/net/dev parsing, requires
    corrupted content in /proc/net/dev or use of address sanitiser.
  * Use ANSI escape codes in -l and -tr modes for cursor location
    manipulation instead of printing backspaces, hide cursor while
    output is active.
  * Improve database import robustness.
  * Improve support for Asian UTF-8 date strings.
  * Replace hand written Makefiles with autotools.
  * Add --alwaysadd parameter to daemon for allowing automatic
    addition of interfaces even if the database directory was
    populated during startup.
- Fix: vnstati was missing from build, needed for vnstat-cgi to function.
- Update to 1.14 (changes since 1.11):
  * Fix memory allocation when zero interfaces are available,
    also lo needed to be missing in order to trigger this leak.
  * Fix rebuild total indexing.
  * Fix some error situations that could leave database file open
    until the end of command execution
  * Fix: Live traffic meter occasionally showing higher minimum
    than average in end statistics.
  * Fix setting locale when none is specified in config.
  * Fix cppcheck findings.
  * Improve traffic meter output accuracy.
  * Add tests and debug compilation target.
  * Remove use of -D parameter in Makefile install commands in
    order to improve cross-compilation support.
  * Set CFLAGS in Makefiles only when not already defined.
  * Add support for database import from text file (--importdb).
  * Rename --dumpdb to --exportdb.
  * Add example systemd service file.
  * Use ISO YYYY-MM-DD date format timestamps if logfile is used.
  * Improve daemon startup prints.
  * Add parameters for changing daemon process user and group.
  * Add example upstart job configuration file.
  * Create database, pid and log dirs during daemon startup if
    necessary.
  * Update ownership of database, log and pid files if needed
    during daemon startup if started as root and configured to
    change process user and group.
  * Remove cron update related example files and documentation, the
    cron update method should be considered as deprecated.
  * --create parameter for database creation.
  * Dynamic unit selection in hourly output instead of being fixed
    to KiB.
  * New options in image output (vnstati):
    + -nl / --nolegend for hiding the rx/tx legend;
    + --altdate for using alternative date and time text location;
    + --headertext for using custom text string in image header;
      section.
  * Add legend to hourly output image.
  * Add option for content alignment and page background colour to
    vnstat.cgi.
  * Document keyword value ranges in configuration file man page.
  * Import Makefile improvements from OpenBSD.
  * Automatic interface bandwidth detection, BandwidthDetection in
    config, default fallback value MaxBandwidth changed from 100 to
    1000.
  * JSON output (--json), vnstat-json.cgi and vnstat-json.php
    examples provided in the 'examples' directory
  * Drop support for over 10 year old database formats
    (versions 1.0 - 1.2).
  * Fix: JSON output syntax during first day of newly created
    databases.
  * Fix: field padding when using UTF-8 locale.
  * Add optional mode parameter to --json and --xml for limiting
    the output to only selected information.
- Add a systemd service.
- Remove vnstat-cron.patch and cronjob: upstream considers it
  deprecated.
- Remove vnstat-help_script.patch: fixed upstream.
- Only recommend Apache for vnstat-cgi: there are other HTTP
  servers.
- Spec cleanup.
- removed '-u' parameter from init.d script to actually being able to start the daemon
- Fixed spec file (removed lost pach files)
- remove the '-o' option in useradd: -o is useless without -u and 
  newer versions of pwdutils/shadowutils fail on this now
- specfile cleanup (added license header and cron dependency)
- fix address of Free Software Foundation in init script
- update to 1.11:
 * Fix: Memory allocation was miscalculated when creating interface list from
    /sys/class/net when /proc/net/dev wasn't available which in turn could
    crash the daemon
 * Fix: Daemon database cache could remain empty after a -HUP signal
 * Fix: Don't make temp directory in vnstat.cgi writable for everyone
 * Import GNU/kFreeBSD support from Debian
   (#608963, patch by Mats Erik Andersson)
 * Remove usage of GNU only '-D' option for install for BSD in Makefile
 * The daemon now automatically creates databases for available interfaces
   if no databases are found during startup
- prevent cron from writing a syslog message about the vnstat call
- update to 1.10:
 * Fix: Buffer overflow was possible in hourly image output when RateUnit=1                                                                  
   and HourlyRate=1                                                                                                                          
 * Fix: Minor memory leak was possible in the handling of HUP signal in daemon                                                               
 * Fix: Graphical elements weren't correctly aligned in summary image                                                                        
   when header wasn't visible (-nh)                                                                                                          
 * Fix: --delete didn't work                                                                                                                 
 * Possibility to merge statistics from several databases and save                                                                           
   the end result to a new database (--mergesaved)                                                                                           
 * Added validation of database cache in daemon in order to be more robust                                                                   
   in case of system memory corruption                                                                                                       
 * Support for --style to -l (live mode)                                                                                                     
 * Alternative print mode to -l (live mode) with optional parameter                                                                          
 * Present options and elements in man pages in alphabetical order                                                                           
 * Code cleanup
- changes in 1.9:                                                                                                                            
 * Fix: TrafficlessDays configuration option was enabled when set to zero                                                                    
   when it should have been disabled                                                                                                         
 * Fix: MonthRotate setting was getting ignored for the first month if                                                                       
   the database is created when day of month < MonthRotate value                                                                             
 * Configurable summary layout in image output (1.7 <> 1.8 layouts)                                                                          
 * --oneline, a simple parseable one line output                                                                                             
 * --transparent for setting image background transparency from the                                                                          
   command line                                                                                                                              
 * --delete for deleting databases and stopping monitoring, doesn't require                                                                  
   restarting the daemon                                                                                                                     
 * A database write can be configure to occur after interface status changes                                                                 
 * Different database write interval can be configure to be used when                                                                        
   all monitored interfaces are offline                                                                                                      
 * Better configurability for the content of outputs, including a narrow                                                                     
   output for space limited terminals (OutputStyle and --style)                                                                              
 * Code cleanup                                                                                                                              
 * New configuration file settings:                                                                                                          
   OutputStyle, SummaryLayout, SummaryRate, SaveOnStatusChange,                                                                              
   OfflineSaveInterval                   
- fix segfault caused by vnstat-limits+su.patch.
  vnstat-limits+su+fix.patch added.
- update to 1.8:
  * makes averaged traffic rates visible
  * adds monthly traffic to the summary
  * supports merging data from multiple interfaces to one output
  * dates are now formatted according to the system locale setting by default
- change ownership also of existing backup files of the database
- ignore '.' and '..' when modifying files -- the previous method could change
  the ownership of /var/lib...
- move creation of "vnstat" user from %post to %pre, so that it happens before
  files are installed
- make vnstat a system user and create a separate group "vnstat" for it
- prerequire the tools needed for the pre/post scripts
- change ownership of existing databases from root to vnstat user, when updating
- don't filter out br interfaces, thanks to Dmitry Mittov for noticing
- add a little frontend script to create the vnstat databases as the vnstat user
- add patch to vnstat help output to tell to use the script to create a database
- install hook scripts into /etc/ppp/*.d/
- install CGI + patch heavily, using a subpackage vnstat-cgi
- add support for vnstatd (added in 1.7) with init script, vnstat user, and an improved cron job file
- add switch user support during daemonization to vnstatd
- fix all compile warnings
- update to 1.7:
  * Fix: Timezone changes shouldn't cause a flood of errors anymore
  * Fix: MonthRotate value in config wasn't used
  * Fix: Unreadable configuration file doesn't cause a segmentation fault
  * Fix: /proc/net/dev parser didn't see the difference between eth10 and eth1
  * Fix: Updating a database from two of more processes at the same time was able to sometimes cause data loss
  * Fix: Estimates are calculated based on last database update
  * Fix: Each interface update had a possibility of losing 1023 bytes of traffic at most due to improper rounding
  * Daemon support as alternative for cron based updates
  * PNG image output (hourly rate based on patch by Sergio Ammirata)
  * XML output
  * Diskspace check can be disabled from configuration file
  * IEC standard prefixes (KiB/MiB/GiB/TiB)
  * List of available interfaces if wrong of unavailable interface is selected
- update to 1.6:
  1.6 / 1-Jan-08
   - Fix: Segmentation fault when environment variable "HOME" wasn't defined,
     this broke most CGI and PHP scripts that used vnStat
   - Support for /sys/class/net/* if /proc/net/dev is unavailable
   - Config file parser redesigned
   - --config parameter for selecting config file
   - Consistent exit status for all operations (0 for success, 1 for error)
   - Improved file locking
   - Man page restrictions paragraph updated
   - Minor non-visible fixes and code cleanup
  1.5 / 3-Dec-07
   - Fix: compile time warnings solved
   - Fix: kernel test is now more verbose
   - Fix: more informative error messages
   - Fix: possible division by zero for traffic estimates right after midnight
   - Fix: interface names longer than 6 chars (patch by Jan Schmidle)
   - Realtime transfer rate mode
   - Automatic 32bit/64bit counter detection
   - Config file support
   - Internal database backups and locking
   - More visuals in outputs
   - Adaptive units (kB, MB, GB, TB)
   - Possibility to sync counters without counting traffic
   - Maximum bandwidth of interfaces can be set
- re-import the package sources from 10.1, they got lost
- converted neededforbuild to BuildRequires
- make use of optflags
- add suse.de- prefix to the cron script 
- Use "-" in cron file to suppress syslog message
- New Package, Version 1.4

OBS-URL: https://build.opensuse.org/request/show/702577
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=44
2019-05-13 11:05:47 +00:00
5f090f6d66 Accepting request 698642 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/698642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=6
2019-05-06 11:25:51 +00:00
Lars Vogdt
476565dce9 Accepting request 698336 from home:mnhauke:monitoring
- Verify source signature
- Update to version 2.1
  Fixed:
  * --oneline could segmentation fault if database had total traffic values
    set but didn't have any daily or monthly traffic (Arch bug #60588)
  * No proper error message was produced when querying interface which didn't
    exist in the database
  * 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
  New:
  * Remove possible PollInterval and UpdateInterval drift over time
  * Sync SaveInterval to full minutes
- Update to version 2.0
  Fixed:
  * Data rate calculations when using SI decimal prefixes
  * Workaround for filled arcs not drawn correctly with some versions
    of libgd (libgd/libgd#351)
  New
  * 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 defaults:
                  v1.18     v2.0
      5 minutes     n/a      576   (48 hours)
      hours          24       96   (4 days)
      days           30       62   (2 full months)

OBS-URL: https://build.opensuse.org/request/show/698336
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=42
2019-04-27 10:28:36 +00:00
77ac0f61a7 Accepting request 693153 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/693153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=5
2019-04-12 07:15:30 +00:00
Chris O
c7493b6dbd Accepting request 693152 from home:dstoecker
- Don't use new systemd service options for system below 235 (systemd234.patch)

Get it working again for system up to 15.0

OBS-URL: https://build.opensuse.org/request/show/693152
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=40
2019-04-11 09:21:24 +00:00
6497712944 Accepting request 611542 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/611542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=4
2018-05-29 08:41:35 +00:00
Chris O
df88fdb301 Accepting request 611470 from home:dliedke:branches:server:monitoring
Update to 1.18

OBS-URL: https://build.opensuse.org/request/show/611470
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=38
2018-05-23 11:32:12 +00:00
ba70bdbcc9 Accepting request 461288 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/461288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=3
2017-03-01 22:43:57 +00:00
Chris O
a57282f981 Accepting request 459517 from home:dliedke:branches:server:monitoring
Update to 5.17

OBS-URL: https://build.opensuse.org/request/show/459517
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=36
2017-03-01 09:47:00 +00:00
de21c80a39 Accepting request 367671 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/367671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=2
2016-03-09 14:17:19 +00:00
Chris O
b76cf6803a Accepting request 366534 from home:XRevan86
- Update to 1.15.

OBS-URL: https://build.opensuse.org/request/show/366534
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=34
2016-03-07 15:23:22 +00:00
49fff7bf09 Accepting request 348666 from server:monitoring
New package for openSUSE🏭 monitor your network traffic

OBS-URL: https://build.opensuse.org/request/show/348666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vnstat?expand=0&rev=1
2016-02-11 11:37:09 +00:00
Lars Vogdt
afdedf8c82 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=32 2015-11-30 00:15:46 +00:00
Lars Vogdt
65e1e807b5 Accepting request 324132 from home:lemmy04
vnstati was missing from build and from vnstat-cgi subpackage.

OBS-URL: https://build.opensuse.org/request/show/324132
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=31
2015-08-20 10:36:10 +00:00
Lars Vogdt
e5e4eaf313 Accepting request 320478 from home:XRevan86
- Update to 1.14.

OBS-URL: https://build.opensuse.org/request/show/320478
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/vnstat?expand=0&rev=30
2015-08-06 08:03:27 +00:00