[rrd-developers] RRDtool 1.4.3 - bug fixes and some rrdcached improvements

Tobias Oetiker tobi at oetiker.ch
Mon Mar 22 19:51:13 CET 2010

It's almost 4 months since the last release of RRDtool. A bunch of
bugfixes and some minor new features have accumulated. Time for an
update. For details about the release see the list below. Get your
copy from:


cheers tobi

Brought to you by the 2010 RRDtool sponsors
GOLD:   http://www.zenoss.com

SILVER: http://www.hitmeister.de  http://www.digicomp.ch
        http://www.atc-onlane.com http://hosteurope.de
        http://chinavasion.com    http://www.thebitsource.com

RRDtool 1.4.3 - 2010-03-22
New Features

* rrdcached: Log to stderr (in addition to syslog) when running in foreground.
  -- Sebastian Harl

* rrdcached: Added -m command line option. This option may be used to specify
  the file permissions of a UNIX socket. The option affects the following
  sockets only, i.e., it's possible to specify different modes for different
  sockets. -- Sebastian Harl

* rrdcached: Added -s option so set group permissions of the UNIX domain
  socket. Obviously this will only work if rrdcached is running as root which in
  my case it has to be (as upstart can't currently monitor non-root
  daemons). As you may have RRD data sources (data loggers) and RRD
  consumers (e.g. CGI scripts) that both need to talk to the cache
  daemon one solution is to set the group permissions of the socket.

  This offer some flexibility over trying to get every RRD user/daemon
  running under the same user context. -- Alex Bennee  ajb pitcairn.cambridgebroadband.com

* rrdcached: Let -s affect the following sockets only. This way, it's possible
  to specify different groups for different sockets. -- Sebastian Harl

* rrd_create: added --no-overwrite option. It prevents rrdtool from
  clobbering existing rrd files. -- Chris - LINX

* ruby bindings: rb_rrd_xport function  -- Pavel Pachkovskij pavel.pachkovskij azati.com

* use locale settings and _NL_TIME_WEEK_1STDAY to determine the first
  day of the week. Works on Linux at least -- Tobi Oetiker

* rrd_graph: \u to backup one line for special legend placement tricks
  -- tobi oetiker

* rrd_update: new (better) checker for incoming COUNTER or DERIVED data. -- Florian

Bug Fixes

* rrdcached: Do not put any code in assert(). -- Sebastian Harl

* add 'm' as a shortcut for 'zoom' in rrd_graph as it was in 1.3
  -- Sebastian Harl

* rrd_update: fix for max calculation ... the MAX value of the current
  consolidation interval was pre-initialized with the MAX value from the
  previous interval (an over optimization). -- Tobi Oetiker

* build: additional dependencies on Makefile to make sure bindings makefiles
  get rebuild after reconfig -- Tobi Oetiker

* ruby bindings: reset rrd_state for grapv in ruby bindings -- Sven Engelhardt

* rrd_cgi: make sure that (argv-1)[0] points to something sensible ...
  hack to undo the damage caused by a senseless optimization. see bug #251
  -- tobi oetiker

* rrd_graph: fix right aligned text -- tobi oetiker

* python bindings: pass DESTDIR to setup.py as --root=<DESTDIR> iff a DESTDIR
  was given. --- Bernhard Reutner-Fischer

* rrd_graph: backward compatibility fix - only draw the new type of marker
  in the graph legend when called with --dynamic-labels -- tobi oetiker

* rrd_restore: portability fix - sizeof(time_t) is 4 byte not 32 bit -- tobi oetiker

* rrd_xport: The end of the export range should not be adjusted DOWN but UP to hit the
  next matching step interval or the response will be one row short. -- tobi oetiker

* rrd_graph: the end time itself is not part of a time range ... this fixes the segfault
  reported in #248 -- tobi oetiker

* rrd_restore: teach rrd_restore to be able to read the #text value of <a></a> ... this
  fixes problems with blank last_ds entries ... as reported in #247. -- tobi oetiker

* rrd_update: be more diligent in checking the input arguments for rrdtool  update and
  complain if they are wrong. fix for #243 (and more) -- tobi oetiker

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900

More information about the rrd-developers mailing list