+RRDtool 1.4.6 - 2012-01-16
+==========================
+Enhancements:
+ * Added --json option to xport with inspiration from Erik Kastner and
+ Michael Markstaller -- Tobi
+
+ * updated win32 port -- Larry Adams and the cacti team
+
+ * configure option to disable building rrd_graph: --disable-rrd_graph
+ With support from Ulf Zimmermann (OpenLane)
+
+Bugfixes:
+ * fixed segfault in rrdtool (xport, fetch, graph) when handling
+ error conditions. -- James Brown
+ * improve compilation robustness in finding pic flags
+ * fix warnings in ruby bindings
+ * fix horizontal alignment of AREAS and LINES in graph output
+ * improved grid-fitting in graph output
+ * simplified configure tests for libwrap and libdbi
+ * rpn compare operators CAN return unknown ... (#293)
+ * do not require gettext 0.18 (0.17 is sufficient)
+ * improved rpm spec file -- Bernard Li
+ * fix glib dependency for --disable-rrd_graph and update library versions
+ (#323)
+ * fix uninitialized variable in rrd_graph (#322)
+ * fix issues with logarithmic charts (#296) -- Christoph Biedl
+ * improved data reduction algorithm in graph: after fetching, data must be
+ reduced to at least chart resolution, else some data will not get plotted.
+ fix for #298
+ * properly handle the case where RRDCACHED_ADDRESS is an empty string
+ * the number of COMPUTE rpn nodes is architecture dependent. calculate the
+ right number and complain otherwise. Fix for #300.
+ * make rrd_mkdir_p work on bsd* Unixes too ... their dirname call works
+ differently ... #305
+ * allow to restore XML files with zero row rras ... this is a degenerated
+ case that does not occur in the wild, as rrdtool prevents the creation
+ of such rrd files. But rrdtool restore 1.3 did allows to create them via
+ restore. Now this is possible again. #310.
+ * the first TREND* value can be calculated earlier ... -- fredrick (#312)
+ * actually link with LIBINTL if we got it ... should make solaris happy
+ * dbi_result_get_datetime_idx() return timestamp in UTC, but time axis on
+ graph supposed to be in local time. #321
+ * fix ruby binding for rrd_xport #318
+ * free step_list on error. fix for #317
+ * fix buffer overflow for LONG lines in journal handling code for update
+ requests. #316
+ * fix alignment of centered items ... title and footer
+ * fix for the header size problem and its effects on rrd_resize
+ * refuse to build if troff and nroff are not around #302
+ * plug memory leak in lua bindings #301
+ * improve cross compiling -- Michael Olbrich
+ * fix rrd_create behaviour when mmapping on a full filesystem by actually
+ 'filling' the file with zero. -- Francois-Xavier Bourlet
+ * with libwrap use 'rrdcached' as the name of our daemon and not just
+ rrdcache
+ * bring spacing around graph back in line with 1.2 goodness ... in
+ connection with no-legend and no title
+ * do not mistake "sqlxxabc.rrd" for a libdbi specification -- Peter Stamfest
+ * if rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to fail
+ * update timestamp continuity checks in rrd_cached ... allow sub-second
+ precision
+ * fix double free in rrd_resize
+ * do not close the file handle to the resize file of there was a problem
+ getting it in the first place.
+
+
+
RRDtool 1.4.5 - 2010-12-26
==========================
Bugfixes:
* rrdgraph-libdbi: print error message instead of dumping core on sql
problem -- Pavel Nikiforov
* rrdgraph-libdbi: properly allocated response buffer -- Pavel Nikiforov
- * rrdtool: in remote mode, make argument count for remote commmands strict
+ * rrdtool: in remote mode, make argument count for remote commands strict
-- Dave Peticolas
* rrdgraph: fix problems with second %s in right-axis format -- tobi
* compilation: works on MSVC2008 now -- jkane mail.com
calling set locale -- tobi
* rrd_cgi: windows compilation fix -- jkane mail.com
* rrdgraph: fix use of %s in strftime (G)PRINT commands #277 -- tobi
- * ruby: fix bindings to be compatible with curent ruby implementations #279
+ * ruby: fix bindings to be compatible with current ruby implementations #279
* rrdcached: Ensure that response_read() always calls fflush() or fclose() #278
-- kevin brintnall
* rrd_client: free addrinfo list after use ... -- Christian Magnusson
sub end ();
sub read ();
-$VERSION=1.4004;
+$VERSION=1.4006;
sub start ($){
croak "rrdtool is already running"
require DynaLoader;
-$VERSION=1.4004;
+$VERSION=1.4006;
bootstrap RRDs $VERSION;
Once you have decided. Save the two locations into environment variables.
BUILD_DIR=/tmp/rrdbuild
- INSTALL_DIR=/opt/rrdtool-1.4.5
+ INSTALL_DIR=/opt/rrdtool-1.4.6
If your F</tmp> is mounted with the option noexec (RHEL seems todo that) you have to choose
Lets first assume you already have all the necessary libraries
pre-installed.
- wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.5.tar.gz
- gunzip -c rrdtool-1.4.5.tar.gz | tar xf -
- cd rrdtool-1.4.5
+ wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.6.tar.gz
+ gunzip -c rrdtool-1.4.6.tar.gz | tar xf -
+ cd rrdtool-1.4.6
./configure --prefix=$INSTALL_DIR && make && make install
Ok, this was very optimistic. This try will probably have ended with
tcl setups that would prevent RRDtool from building if they are included in
their current state.
- cd $BUILD_DIR/rrdtool-1.4.5
+ cd $BUILD_DIR/rrdtool-1.4.6
./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python
$MAKE clean
$MAKE
S<[B<-e>|B<--end> I<seconds>]>
S<[B<-m>|B<--maxrows> I<rows>]>
S<[B<--step> I<value>]>
+S<[B<--json>]>
S<[B<--daemon> I<address>]>
S<[B<DEF:>I<vname>B<=>I<rrd>B<:>I<ds-name>B<:>I<CF>]>
S<[B<CDEF:>I<vname>B<=>I<rpn-expression>]>
rrdtool xport --daemon unix:/var/run/rrdcached.sock ...
+=item B<--json>
+
+produce json formated output (instead of xml)
+
=item B<--enumds>
The generated xml should contain the data values in enumerated tags.
Summary: Round Robin Database Tool to store and display time-series data
Name: rrdtool
-Version: 1.4.5
+Version: 1.4.6
Release: 1%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Databases
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* pngsize.c determine the size of a PNG image
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrdlib.h Public header file for librrd
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_cgi.c RRD Web Page Generator
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_create.c creates new rrds
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_datalang A system for passing named and typed parameters between
* the different parts of rrdtool
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* This code is stolen from rateup (mrtg-2.x) by Dave Rand
*****************************************************************************
* diff calculate the difference between two very long integers available as
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_dump Display a RRD
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_error.c Common Header File
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_fetch.c read date from an rrd to use for further processing
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_first Return
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_format.c RRD Database Format helper functions
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_format.h RRD Database Format header
*****************************************************************************/
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_gfx.c graphics wrapper for rrdtool
**************************************************************************/
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd__graph.c produce graphs from data in rrdfiles
****************************************************************************/
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_graph_helper.c commandline parser functions
* this code initially written by Alex van den Bogaerdt
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_hw.c : Support for Holt-Winters Smoothing/ Aberrant Behavior Detection
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_hw.h : Support for Holt-Winters Smoothing/ Aberrant Behavior Detection
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Takao Fujiwara, 2008
+ * RRDtool 1.4.6 Copyright by Takao Fujiwara, 2008
*****************************************************************************
* rrd_i18n.h Common Header File
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_info Get Information about the configuration of an RRD
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_last.c
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* Copyright by Florian Forster, 2008
*****************************************************************************
* rrd_lastupdate Get the last datum entered for each DS
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_open.c Open an RRD File
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_resize.c Alters size of an RRA
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_restore.c Contains logic to parse XML input and create an RRD file
* This file:
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_rpncalc.c RPN calculator functions
****************************************************************************/
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_rpncalc.h RPN calculator functions
****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_tool.c Startup wrapper
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_tool.h Common Header File
*****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* change header parameters of an rrd
*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
* Copyright by Florian Forster, 2008
*****************************************************************************
* rrd_update.c RRD Update Function
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_version Return
*****************************************************************************
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_xport.c export RRD data
****************************************************************************/
/****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
****************************************************************************
* rrd_xport.h contains XML related constants
****************************************************************************/
/*****************************************************************************
- * RRDtool 1.4.5 Copyright by Tobi Oetiker, 1997-2010
+ * RRDtool 1.4.6 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrdupdate.c Main program for the (standalone) rrdupdate utility
*****************************************************************************