]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Fri, 27 Feb 2015 06:48:41 +0000 (07:48 +0100)]
it is HAVE_MMAP not MMAP
Tobias Oetiker [Thu, 26 Feb 2015 07:12:08 +0000 (08:12 +0100)]
copy the whole RRA not just the first row ...
Tobias Oetiker [Thu, 26 Feb 2015 07:09:42 +0000 (08:09 +0100)]
we do not actually have to write the cdp_prep area since it is memory mapped
Tobias Oetiker [Tue, 18 Nov 2014 10:58:51 +0000 (02:58 -0800)]
Merge pull request #559 from bragatto/fix-counter32-boundary
Fixed 32bit counter boundary
Eduardo Bragatto [Tue, 18 Nov 2014 09:36:38 +0000 (07:36 -0200)]
Fixed 32bit counter boundary
Tobias Oetiker [Tue, 18 Nov 2014 09:31:36 +0000 (01:31 -0800)]
Merge pull request #557 from bragatto/1.4
Fixed started and ending times for RRD xport
Eduardo Bragatto [Tue, 18 Nov 2014 09:01:35 +0000 (07:01 -0200)]
Undone changes to rrd_update.c
Eduardo Bragatto [Tue, 18 Nov 2014 08:30:03 +0000 (06:30 -0200)]
Fixed overflow boundary for 32 bit counters
Eduardo Bragatto [Tue, 18 Nov 2014 00:01:20 +0000 (22:01 -0200)]
Fixed ending time as well (behaviour was different but corner case was the same: when start ou end times were exact multiples of step)
Eduardo Bragatto [Mon, 17 Nov 2014 23:56:20 +0000 (21:56 -0200)]
Fixed starting time, still need to review ending time
Tobias Oetiker [Mon, 17 Nov 2014 22:24:23 +0000 (14:24 -0800)]
Merge pull request #555 from bragatto/1.4
Fixed wrong ending time on RRD xport
Eduardo Bragatto [Sun, 16 Nov 2014 18:46:11 +0000 (16:46 -0200)]
Update rrd_tool.c
Fixed wrong ending time on RRD xport
Tobias Oetiker [Thu, 6 Nov 2014 07:12:28 +0000 (08:12 +0100)]
Merge pull request #553 from julthomas/jth/1.4/empty-imginfo
Allow empty imginfo format string
Julien Thomas [Thu, 6 Nov 2014 00:36:14 +0000 (01:36 +0100)]
Allow empty imginfo format string
Empty -f|--imginfo used to be very usefull to print data as text format
on stdout. It was allowed up to 1.4.7 and was particularly interesting
because there was no filename/width/height printed out. The "feature"
was broken in 1.4.8 by the addition of a format check on the imginfo
value. The recent rework based on regexp still breaks it. Adding it back
would preserve compatibility on scripts/parser eating rrdtool graph
/dev/null -f '' output.
Before :
[root@nagios-2b ~]# rrdtool graph /dev/null -f "" --start -1d \
DEF:d=/var/lib/rrd/nagios-2b/load.rrd:load5:AVERAGE \
VDEF:v=d,AVERAGE \
PRINT:v:%.6lf
5.284605
After :
[root@nagios-2b ~]# rrdtool graph /dev/null -f "" --start -1d \
DEF:d=/var/lib/rrd/nagios-2b/load.rrd:load5:AVERAGE \
VDEF:v=d,AVERAGE \
PRINT:v:%.6lf
ERROR: bad format for imginfo
Tobias Oetiker [Wed, 29 Oct 2014 13:33:08 +0000 (14:33 +0100)]
Working average has value at position k added. MyMod ensures k wraps around
to beginning when in excess of row_count. But when wrapping around the
first (#=offset) entries are already updated so you are smoothing later
values using pre-smoothed values. This is effectively double weighting some
values and diluting the last (#=offset) values smoothed since they are
getting some effect from outside their expected smoothing window.
This patch fixes the problem by first makeing a copy of the rrd_values.
Tobias Oetiker [Mon, 29 Sep 2014 22:45:58 +0000 (00:45 +0200)]
fiddling with the GLIB_LIBS
Tobias Oetiker [Mon, 29 Sep 2014 22:44:02 +0000 (00:44 +0200)]
tagged 1.4.9 for release
Tobias Oetiker [Mon, 29 Sep 2014 22:40:06 +0000 (00:40 +0200)]
fix glib-2.0 dependency problem in rrdcached build
Tobias Oetiker [Mon, 29 Sep 2014 21:45:39 +0000 (23:45 +0200)]
tagged 1.4.9 for release
Tobias Oetiker [Mon, 29 Sep 2014 21:24:49 +0000 (23:24 +0200)]
tagged 1.4.9 for release
Tobias Oetiker [Mon, 29 Sep 2014 21:24:13 +0000 (23:24 +0200)]
update release scripts
Tobias Oetiker [Mon, 29 Sep 2014 20:26:17 +0000 (22:26 +0200)]
added missing VERSION file
Tobias Oetiker [Mon, 29 Sep 2014 19:37:12 +0000 (21:37 +0200)]
get ready for 1.4.9
Tobias Oetiker [Mon, 29 Sep 2014 19:37:09 +0000 (21:37 +0200)]
get ready for 1.4.9
Tobias Oetiker [Mon, 29 Sep 2014 19:15:06 +0000 (21:15 +0200)]
remove duplicate
Tobias Oetiker [Tue, 16 Sep 2014 09:38:48 +0000 (11:38 +0200)]
the %s portion of the printf format is optional
Tobias Oetiker [Tue, 16 Sep 2014 09:31:11 +0000 (11:31 +0200)]
allow gG format
Tobias Oetiker [Tue, 16 Sep 2014 08:37:42 +0000 (10:37 +0200)]
do not capture
Tobias Oetiker [Tue, 16 Sep 2014 08:33:55 +0000 (10:33 +0200)]
fix character class definition
Tobias Oetiker [Tue, 16 Sep 2014 07:31:09 +0000 (09:31 +0200)]
a proper fix to the bad_format checking misery
Tobias Oetiker [Thu, 4 Sep 2014 20:26:00 +0000 (22:26 +0200)]
for the tests we need dc
Tobias Oetiker [Fri, 22 Aug 2014 09:04:08 +0000 (11:04 +0200)]
some extra fixes
David Schweikert [Thu, 20 Mar 2014 14:45:32 +0000 (15:45 +0100)]
add documentation for RRDs::xport
Tobias Oetiker [Wed, 30 Jul 2014 06:53:21 +0000 (08:53 +0200)]
only have graph options when there is graph support
petgit [Sun, 13 Jul 2014 14:24:13 +0000 (16:24 +0200)]
Create rrd file: Allow only short integer numbers in rpn formula
Tobias Oetiker [Sun, 15 Jun 2014 20:35:04 +0000 (22:35 +0200)]
eliminate double calls to setlocale
Tobias Oetiker [Sun, 2 Mar 2014 10:28:39 +0000 (11:28 +0100)]
Merge branch '1.4' of github.com:oetiker/rrdtool-1.x into 1.4
Tobias Oetiker [Sun, 2 Mar 2014 10:27:45 +0000 (11:27 +0100)]
there is no total CF
Tobias Oetiker [Wed, 26 Feb 2014 07:36:18 +0000 (08:36 +0100)]
Merge pull request #446 from stamfest/pipe-restore
Pipe restore
Tobias Oetiker [Wed, 26 Feb 2014 05:20:37 +0000 (06:20 +0100)]
Merge pull request #442 from pabigot/1.4
rrd_graph: initialize new data member (fix #441)
Peter Stamfest [Wed, 19 Feb 2014 21:34:20 +0000 (22:34 +0100)]
suppress error message from libxml when reading XML from stdin.
This avoids breakage of the pipe protocol in case of errors.
Peter Stamfest [Wed, 19 Feb 2014 21:25:48 +0000 (22:25 +0100)]
Avoid endless looping in case of XML errors.
Peter Stamfest [Wed, 19 Feb 2014 20:54:27 +0000 (21:54 +0100)]
Fix double-free bug
Peter Stamfest [Wed, 19 Feb 2014 08:56:16 +0000 (09:56 +0100)]
Add support for rrd restore to explicitly end xml files when using
the pipe interface by using the "-" special filename and using
ctrl-Z/newline as an end-of-file indicator.
Peter A. Bigot [Wed, 19 Feb 2014 00:31:01 +0000 (18:31 -0600)]
autogen.sh: use POSIX comparison for test
Although bash recognizes ==, and the shell has a shebang to use it, some
of us still automatically type "sh autogen.sh" instead of
"./autogen.sh", and this breaks on debian/jessie where /bin/sh is not
bash. The fix is trivial and should be safe for bash too (which
recommends using = instead of == with the test command for POSIX
conformance.
Peter A. Bigot [Mon, 17 Feb 2014 23:24:25 +0000 (17:24 -0600)]
rrd_graph: initialize new data member (fix #441)
primary_axis_format was added to image_desc_t but rrd_graph_init was not
updated to initialize it, resulting in this error when the garbage
values were used as axis labels:
(process:24893): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Tobias Oetiker [Fri, 14 Feb 2014 12:48:04 +0000 (13:48 +0100)]
Merge pull request #440 from julthomas/jth/1.4/minmaxnan
Add support for MINNAN and MAXNAN operators
Julien Thomas [Fri, 7 Feb 2014 13:21:53 +0000 (14:21 +0100)]
Add support for MINNAN and MAXNAN operators
NAN-safe version of MIN and MAX. If one of the input numbers is
unknown then the result of the operation will be the other one.
If both are unknown, then the result of the operation is unknown.
Tobias Oetiker [Mon, 10 Feb 2014 21:25:42 +0000 (22:25 +0100)]
Merge pull request #439 from AutoAquaria/1.4
Add --left-axis-format option to control labels on y-axis of graph.
AutoAquaria [Mon, 10 Feb 2014 17:18:56 +0000 (11:18 -0600)]
Add --left-axis-format option to control labels on y-axis of graph.
Tobias Oetiker [Sun, 24 Nov 2013 22:14:43 +0000 (23:14 +0100)]
more travis changes ... trying to get it to build lua bindings too
Tobias Oetiker [Sun, 24 Nov 2013 21:55:28 +0000 (22:55 +0100)]
add lua and tcl to travis build
Tobias Oetiker [Sun, 24 Nov 2013 21:42:47 +0000 (22:42 +0100)]
add libdbi
Tobias Oetiker [Sun, 24 Nov 2013 15:40:27 +0000 (07:40 -0800)]
Merge pull request #427 from julthomas/jth/1.4/json
Fix json output when printing legend entries
Julien Thomas [Wed, 20 Nov 2013 14:48:06 +0000 (15:48 +0100)]
Fix json output when printing infinity values
The printf of a rrd_value_t variable can output inf in case of an
infinity value. That inf value is not JSON valid, nor are Infinity,
NaN, Number.NEGATIVE_INFINITY or Number.POSITIVE_INFINITY.
This commit adds a test for infinity values by using isinf() and
outputs a null in such case.
Julien Thomas [Fri, 8 Nov 2013 00:07:16 +0000 (01:07 +0100)]
Fix json output when printing legend entries
Branch 1.4 is missing this patch in order to produce valid json output.
This is related to issue #380 reported by apfeiffe.
Tobias Oetiker [Thu, 31 Oct 2013 09:15:38 +0000 (10:15 +0100)]
initial 1.4 travis support
Tobias Oetiker [Thu, 31 Oct 2013 08:47:55 +0000 (09:47 +0100)]
properly detect failing fallocate and fall back to seeking
Tobias Oetiker [Mon, 21 Oct 2013 13:00:26 +0000 (15:00 +0200)]
minus one warning
Tobias Oetiker [Thu, 3 Oct 2013 13:52:48 +0000 (15:52 +0200)]
leaktest should not be here
Tobias Oetiker [Thu, 3 Oct 2013 13:51:00 +0000 (15:51 +0200)]
removing testing leftovers
Tobias Oetiker [Fri, 23 Aug 2013 14:21:33 +0000 (16:21 +0200)]
4294967296 has to be treaded as long long for this to work ... help the compiler see this
Tobias Oetiker [Mon, 19 Aug 2013 14:48:11 +0000 (16:48 +0200)]
fix a bunch of json syntax issues (issue 380)
Johannes BrandstE4tter [Fri, 16 Aug 2013 09:07:36 +0000 (11:07 +0200)]
fix format string in Ruby binding
Conflicts:
bindings/ruby/main.c
Jaroslav Škarvada [Mon, 3 Jun 2013 15:06:26 +0000 (17:06 +0200)]
Added imginfo format check
Resolves: http://bugzilla.redhat.com/show_bug.cgi?id=969296
(CVE-2013-2131)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Tobias Oetiker [Thu, 23 May 2013 07:55:06 +0000 (09:55 +0200)]
tagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:54:06 +0000 (09:54 +0200)]
tagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:50:32 +0000 (09:50 +0200)]
tagged 1.4.8 for release
Tobias Oetiker [Thu, 23 May 2013 07:30:21 +0000 (09:30 +0200)]
tagged 1.4.8 for release
Trevor Bowen [Mon, 13 May 2013 21:47:29 +0000 (16:47 -0500)]
Fixed failed IEEE check for cross-compile support.
Tobias Oetiker [Tue, 30 Apr 2013 09:28:20 +0000 (11:28 +0200)]
backport of the (C)DEF hash patch to accelerate processing of large (+100 statements) graph instructions.
Tobias Oetiker [Tue, 19 Mar 2013 06:17:23 +0000 (07:17 +0100)]
fixed overflow probem with partial matching
Tobias Oetiker [Sat, 16 Mar 2013 17:09:38 +0000 (18:09 +0100)]
raise an error if part of an CDEF is unparsable
Nick [Sat, 9 Feb 2013 18:46:40 +0000 (18:46 +0000)]
Added check for graph timespan overflowing if time_t is 32 bits.
Conflicts:
src/rrd_create.c
Nick [Sat, 9 Feb 2013 16:38:17 +0000 (16:38 +0000)]
Fixed overflow bug.
Max Khon [Wed, 12 Dec 2012 06:48:23 +0000 (13:48 +0700)]
Fix build when glib is in non-standard location (e.g. /opt).
Olivier Doucet [Wed, 9 Jan 2013 14:52:44 +0000 (15:52 +0100)]
Updated rrdgraph_libdbi doc about MySQL performance issues
Georg Lutz [Sat, 5 Jan 2013 11:35:04 +0000 (12:35 +0100)]
LT -> LE
Tobias Oetiker [Mon, 19 Nov 2012 08:17:55 +0000 (09:17 +0100)]
fixed regression from renaming skipscale
Tobias Oetiker [Mon, 19 Nov 2012 08:09:15 +0000 (09:09 +0100)]
properly fix handling of time_t size in rrd_restore
Tobias Oetiker [Wed, 14 Nov 2012 16:48:32 +0000 (17:48 +0100)]
use skipscale everywhere and not SKIPSCALE
Tobias Oetiker [Wed, 14 Nov 2012 13:19:44 +0000 (14:19 +0100)]
Normally the graphing function makes sure that the entire LINE or AREA
is visible in the chart. The scaling of the chart will be modified
accordingly if necessary. Any LINE or AREA can be excluded from this
process by adding the option SKIPSCALE.
LINE:x#f00::SKIPSCALE
Antony Dovgal [Tue, 13 Nov 2012 14:57:49 +0000 (15:57 +0100)]
fix for first day of the week detection logic
Tobias Oetiker [Sat, 10 Nov 2012 16:49:20 +0000 (17:49 +0100)]
Merge branch '1.4' of github.com:oetiker/rrdtool-1.x into 1.4
Tobias Oetiker [Sat, 10 Nov 2012 16:47:28 +0000 (17:47 +0100)]
do not die when failing to add link
Tobias Oetiker [Sat, 10 Nov 2012 16:46:44 +0000 (17:46 +0100)]
fix trendnan variable access
Tobias Oetiker [Fri, 19 Oct 2012 20:47:25 +0000 (13:47 -0700)]
Merge pull request #352 from tokkee/sh/build-issues
ruby bindings: Fixed a few build issues.
Sebastian Harl [Fri, 19 Oct 2012 17:12:31 +0000 (19:12 +0200)]
ruby/main: Fixed "format not a string literal and no format arguments" errors.
These kind of errors are reported by current versions of GCC.
Sebastian Harl [Fri, 19 Oct 2012 17:11:30 +0000 (19:11 +0200)]
ruby bindings: Fixed a miss-placed cast.
Tobias Oetiker [Tue, 11 Sep 2012 12:33:08 +0000 (14:33 +0200)]
add git notes
Tobias Oetiker [Mon, 3 Sep 2012 13:39:29 +0000 (13:39 +0000)]
fix off by 1 error
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2305
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Wed, 22 Aug 2012 09:57:33 +0000 (09:57 +0000)]
fixed pango markup link
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2304
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 14 Aug 2012 09:23:11 +0000 (09:23 +0000)]
remove a bunch of variables which were set but never used as pointed out by gcc
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2303
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 14 Aug 2012 09:22:19 +0000 (09:22 +0000)]
fix locations for installing the sample programs to make automake happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2302
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 13 Aug 2012 14:04:15 +0000 (14:04 +0000)]
integrate rrdinfo and rrdcreate into the rrdupdate binary - Sven-Göran Bergh
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2300
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 12 Aug 2012 20:49:17 +0000 (20:49 +0000)]
openbsd does not know EPROTO it seems
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2298
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sun, 12 Aug 2012 14:37:31 +0000 (14:37 +0000)]
complete segfault fix for second axis %s format begun in r2123 (thanks Martin Pelikan for the hint)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2297
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Tue, 31 Jul 2012 12:43:45 +0000 (12:43 +0000)]
RRDs.xs uses &PL_sv_undef to insert undefined values into arrays and hashes. This leads to all sorts of problems. For details, please see "AVs, HVs and undefined values" section in perlguts(1). -- patch by tobez+lars
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2296
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Sat, 28 Jul 2012 13:54:59 +0000 (13:54 +0000)]
support for the xport command -- Jimmy Ngo
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2294
a5681a0c -68f1-0310-ab6d-
d61299d08faa
Tobias Oetiker [Mon, 7 May 2012 07:31:28 +0000 (07:31 +0000)]
fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2288
a5681a0c -68f1-0310-ab6d-
d61299d08faa