Skip to content

Releases: oetiker/rrdtool-1.x

RRDtool Version 1.9.0

29 Jul 08:43
522b228
Compare
Choose a tag to compare

RRDtool 1.9.0 — 2024-07-29

Bugfixes

  • Fix ytop and ybase adjustments for overlaping area issue on transparent areas @turban
  • Suppress warnings of implicit fall through @youpong
  • Update tarball download link in doc @c72578
  • Fix unsigned integer overflow in rrdtool first. Add test for rrd_first() @c72578
  • Fix tests under MSYS2 (Windows) @c72578
  • Fix BUILD_DATE in rrdtool help output @c72578
  • acinclude.m4: Include <stdlib.h> when using exit @ryandesign
  • rrdtool-release: Create NUMVERS from VERSION file @c72578
  • Avoids leaking of file descriptors in multi threaded programs by @ensc
  • Avoids potential unterminated string because of fixed PATH_MAX buffer
  • Fix extra reference of parameters of rrd_fetch_dbi_{long,double} @jamborm

Features

  • Remove autogenerated files from git repo (configure, Makefile.in, conftools, rrd_config.h.in)

  • Reads $RRD_LOCKING environment variable and adds --locking option to some tools. The updatex api has been also
    updated to support setting locking related bits in its extra_flags parameter. @ensc

    This allows now to choose between three kinds of locking:

    none: no locking is done at all; caller has to do it manually and can implement e.g., a timeout with alarm(2) or so
    try: fails when lock is hold by another process; users will see "ERROR: could not lock RRD". This is the default and the only possible mode with the old code
    block: waits until lock is available.

    It can be used like
    env RRD_LOCKING=block rrdupdate ...
    or
    rrdupdate --locking none ...
    or
    rrd_updatex_r(filename, tmplt, RRD_FLAGS_LOCKING_MODE_BLOCK, ...);

  • Add (remote) dump support to rrdcached @thz

  • Constify argv argument to library functions
    Without this, users of library function that want to pass in const strings need to duplicate them to avoid compiler warnings

  • Avoid multiple implementations of asprintf
    The locale-independent rrd_asprintf is equivalent to platform-provided snprintf when strings and integers are formatted.
    There is no user of vasprintf-msvc that is locale-dependent, therefore this implementation can be replaced with rrd_vasprintf.

Windows Binaries

  • Visual Studio 2022 builds (MSVC):

    • 32 bit: rrdtool-1.9.0-x86_vcpkg.zip
    • 64 bit: rrdtool-1.9.0-x64_vcpkg.zip
    • The builds have been prepared using GitHub Action Release Windows
  • MSYS2 (MinGW-w64) builds:

    • 32 bit: rrdtool-1.9.0-bin-mingw32.zip
    • 64 bit: rrdtool-1.9.0-bin-mingw64.zip
    • Package: mingw-w64-rrdtool

RRDtool Version 1.8.0

14 Mar 14:30
Compare
Choose a tag to compare

RRDtool 1.8.0 - 2022-03-13

Bugfixes

  • python bindings: properly convert double values of rrd info
  • failed to expand 'Py_UNUSED', Invalid usage when expanding 'Py_UNUSED'
  • document --showtime in xport help output
  • fix --use-nan-for-all-missing-data
  • update rrdruby.pod
  • add missing rrdruby.pod and rrdpython.pod to dist
  • Set first_weekday to 0 (Sunday), when HAVE__NL_TIME_WEEK_1STDAY is not defined
  • fix median calculation for all NaN inputs
  • fix potential leak in xport during failure
  • fix many warnings raised by Cppcheck
  • fix many compiler warnings from latest gcc
  • ensure proper initialization in rrd_daemon
  • cleanup testsuite
  • better testing
  • avoid invalid read in rrd_client
  • add symbols from rrdc to librrd
  • Fix duplicate write_changes_to_disk() calls when HAVE_LIBRADOS is true and HAVE_MMAP is false
  • documentation updates
  • for SMIN example in docs
  • fix for pyton3 compatibility
  • freemem only for valid status <Christian Kr"oger>
  • fix double meaning of time 0 as uninitialized value
  • fix for zfs not supporting fallocate. this makes resize work on zfs
  • add rrdrados.pod to dist
  • fetch - do not call rrd_freemem on uninitialized pointers
  • use separate pango fontmap per thread
  • switch to python 3
  • do not leak filename when opening a broken file
  • fix leaks in rrdcached
  • avoid segfault when flushing cache
  • escape json in legend entries
  • fix leak in xport
  • make rrdcgi param parsing more robust
  • fix race in journal_write

Features

  • ROUND function for rrd RPN
  • vcpkg support for MSVC builds (see WIN32-BUILD-TIPS.txt)
  • add first_weekday for Windows port
  • add x64 platform for win32 build
  • add --add-jsontime for graphv
  • add --utc to graph
  • add automated testing for win32 builds
  • support TUNE command in rrdcached

Windows Binaries

  • Visual Studio 2019 builds (MSVC):

    • 32 bit: rrdtool-1.8.0-x86_vcpkg.zip
    • 64 bit: rrdtool-1.8.0-x64_vcpkg.zip
    • The builds have been prepared using GitHub Action Release Windows
  • MSYS2 (MinGW-w64) builds:

    • 32 bit: rrdtool-1.8.0-bin-mingw32.zip
    • 64 bit: rrdtool-1.8.0-bin-mingw64.zip
    • Package: mingw-w64-rrdtool

USS Consolidation

27 May 19:48
Compare
Choose a tag to compare

Bugfixes

  • Updated the Makefiles to properly include all needed files into the distribution tar
  • Cleaned up Compiler Warnings / Wolfgang Stöggl
  • Improved compilation in MinGW environment / Wolfgang Stöggl
  • fix segfault on non-existent RRD file when using rrdcached / @themylogin
  • fix bounds handling, documentation and checking on rrdtool xport / Óscar Nájera
  • Fix %s/%S unit autoscaling in gprint for json/xml @az143
  • Optimized PDP Calculation @JKammler

Windows Binaries

  • Visual Studio Community 2017 builds:

    • 32 bit: nmake -f win32\Makefile.msc
      rrdtool-1.7.2_vs2017.zip
      rrdtool-1.7.2_vs2017_activeperl_5.16.zip
    • 64 bit: nmake -f win32\Makefile.msc USE_64BIT=1
      rrdtool-1.7.2_vs2017_x64.zip
  • MSYS2 (MinGW-w64) builds:

    • 32 bit: rrdtool-1.7.2_msys2_i686-w64-mingw32_release.zip
    • 64 bit: rrdtool-1.7.2_msys2_x86_64-w64-mingw32_release.zip
  • Fedora 29 (MinGW-w64) builds:

    • 32 bit: rrdtool-1.7.2_f29_i686-w64-mingw32_release.zip
    • 64 bit: rrdtool-1.7.2_f29_x86_64-w64-mingw32_release.zip

Win Win Win

04 Feb 13:33
Compare
Choose a tag to compare

RRDtool 1.7.1 - 2019-02-04

Bugfixes

  • about 38949 assorted fixes for the windows build of rrdtool <Wolfgang Stöggl>
  • fix many compile time warnings <Wolfgang Stöggl>
  • Re-enable 0-width lines
  • Include rrd_pdpcalc.pod in Makefile.am also <Peter Valdemar Mørch>
  • Lots of spelling fixes for rrdtool source and documentation <Peter Valdemar Mørch>, <Jean-Michel Vourgère>, ,
  • fix off by one issue in rrdtool xport output
  • fix lua extension build
  • fix python bindings , , , <Christian Kröger>
  • fix multiple static variable issues in conflict with MT
  • make translations actually work
  • Fixed configure --enable / --disable options <Jaroslav Škarvada>
  • rrd_daemon stability fixes
  • fix tcl bindings
  • do not call umask ever (not MT safe)

Features

  • Multiline Titles , ,
  • French translation <Jean-Michel Vourgère>
  • Added support for --allow-shrink with --rigid flag (#843)
  • Added SUSPEND/RESUME/SUSPENDALL/RESUMEALL commands for rrd_cached <
  • include the daemon name in the error message

full details in v1.7.0...v1.7.1

Update: new tarball with complete etc directory

Recoverty

16 May 12:35
Compare
Choose a tag to compare

This release has only very few user visible changes , but the whole code has been analyzed with Coverty and issues have been fixed. So there should be many fewer chances for rrdtool to crash from odd input.

Bugfixes

  • made rrd_fetch_cb_wrapper in RRDs more careful with its arguments
  • many bugfixes to resolve issues identified Coverty scan
  • fix build issues with libdbl
  • take the ds step into account while caching data in rrd graph DEF statements
  • never 'exit' from librrd (even when DEBUG is on)

Features

  • new command rrd list to show rrd files in a directory
  • configurable log-level for rrdcached
  • hungarian translation (hu.po)

API

  • New Exported funtions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list
  • rrd_list support for perl and python binding
  • all new and much more complete python bindings working on both python 2.6+ and 3.3+
  • extended documentation in rrdlib.pod

Threading is safe :)

19 Apr 15:53
Compare
Choose a tag to compare

New Features

  • librrd is now fully thread-safe. librrd_th is gone
  • make lua bindings work with lua 5.1
  • configure option to disable doc building --enable-docs=no
  • new CDEF function SMIN: a,b,c,3,SMIN -> min(a,b,c)
  • new CDEF function SMAX: a,b,c,3,SMAX -> max(a,b,c)
  • new CDEF function STDEV: a,b,c,3,STDEV -> stdev(a,b,c)
  • new CDEF function POW: a,b,POW -> a**b
  • new CDEF function PERCENT: a,b,c,95,3,PERCENT -> find 95percentile of a,b,c
  • re-introducted --showtime option on rrdxport
  • be more careful in determining the locales idea of first day of the week
  • lots of spelling fixes all around

End Run

19 Apr 10:05
Compare
Choose a tag to compare

a bunch of bugfixes for the 1.5 branch

  • segfault on CDEF:x=
  • Disable nagel algorithm as it is causing massive slowdown
  • make vname nameing rules more liberal and more in line with 1.4
  • Fix recursive directory creation in rrdcached on FREEBSD
  • Fixed compilation when there's no sigwaitinfo

in anticipation of the first 1.6 release ...

LISA15

10 Nov 17:43
Compare
Choose a tag to compare

Bugfixes

  • fix JSON output in xport with legend and gprint blocks
  • fix parse_time mutex unlocking in the error case
  • don't crash on invalid variable names in CDEF
  • add mutex locking in rrdc_fetch
  • fix buffer overflow in rrd_restore
  • shorten test precision to 7 digits ...
  • never exit from a library function
  • buffer overflow in rrd_restore.c fixed #669

Happy Birthday Brother

09 Aug 11:25
Compare
Choose a tag to compare

Bug Fixes

  • parse floating point numbers according to C locale in rrdtool create
    arguments, regardless of the systems locale setting.
  • include missing rrd_rados.h into distribution archive
  • make rrdtool work on ARM again
  • make rrdtool test suit pass on 32bit OSs
  • fix --grid-dash option regression in graph
  • fix systemd support
  • fix link dependency for libpng since we are using functions directly
  • fix python module name
  • fix rrdtool tune to accept U in minimum and maximum options
  • fi
  • rrd_parsetime now uses a mutex lock to become thread safe
  • rrd_xport is now thread safe
  • stop using MAX_PATH and make everything dynamic and make rrdtool work on
    Gnu HURD ... thanks nirgal!

Features

  • new RPN operators: STEPWIDTH, NEWDAY, NEWWEEK, NEWMONTH and NEWWEEK
    together they allow to draw graphs where a rate is converted back to
    absolute numbers and accumulated over a period.

On the way to Chicago

01 May 08:50
Compare
Choose a tag to compare

Bug Fixes

  • Brought commmand-line options and documentation back into sync.
  • Make LINE dashes option work again