]>
git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
Tobias Oetiker [Sat, 28 Feb 2015 11:15:10 +0000 (12:15 +0100)]
Merge pull request #587 from oetiker/smooth-fix
Smooth fix for #583
Tobias Oetiker [Fri, 27 Feb 2015 06:48:12 +0000 (07:48 +0100)]
it is HAVE_MMAP not MMAP
Tobias Oetiker [Thu, 26 Feb 2015 14:55:11 +0000 (15:55 +0100)]
Merge pull request #586 from mkhon/master
Fix I/O error detection in dump/restore
Tobias Oetiker [Thu, 26 Feb 2015 07:14:07 +0000 (08:14 +0100)]
only write cdp to disk if we are NOT in MMAP mode
Max Khon [Thu, 26 Feb 2015 07:00:05 +0000 (13:00 +0600)]
Fix formatting.
Max Khon [Thu, 26 Feb 2015 06:54:44 +0000 (12:54 +0600)]
- check fwrite(3) return value
- do fflush(3) to flush stdio buffers (with error check) so that
I/O errors are detected more properly
- do not leave incompletely written output file in case of I/O errors
- set error condition on I/O errors so that rrdtool exits with non-zero
exit code
Max Khon [Thu, 26 Feb 2015 06:53:04 +0000 (12:53 +0600)]
write_fh:
- Check fwrite return value to vail out early on I/O errors
- Do fflush(3) to flush stdio buffers as callers do not check fclose(3)
return value
Max Khon [Thu, 26 Feb 2015 06:52:29 +0000 (12:52 +0600)]
Don't leave incompletely written output file if restore fails.
Tobias Oetiker [Wed, 25 Feb 2015 15:27:43 +0000 (16:27 +0100)]
when copying the rra, we need to copy the whole thing, not only the first row.
Tobias Oetiker [Wed, 25 Feb 2015 11:25:54 +0000 (12:25 +0100)]
Merge pull request #585 from msperl/master-fix-for-argument-parser-for-keywords
fix for argument parser for def where the vname is equivalent to cf, rrd or vname
Max Khon [Wed, 25 Feb 2015 09:35:39 +0000 (15:35 +0600)]
Don't zero-out rrd->__mmap_start and rrd->__mmap_size.
Otherwise free_rrd_ptr_if_not_mmapped() will try to free non-malloc'ed memory.
The error from OS X malloc debugger is:
rrdtool(34216,0x7fff7bebd300) malloc: *** error for object 0x104a09d80:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Max Khon [Wed, 25 Feb 2015 09:35:09 +0000 (15:35 +0600)]
Add missing rrd_free().
Martin Sperl [Tue, 24 Feb 2015 14:00:22 +0000 (14:00 +0000)]
fixed modification of constant strings
and restored the "original" error-message
Martin Sperl [Tue, 24 Feb 2015 13:35:38 +0000 (13:35 +0000)]
fixed positional parser for def by allowing us to rerun the parser a second time
but this time with the first positional key altered...
Tobias Oetiker [Sat, 21 Feb 2015 17:50:05 +0000 (18:50 +0100)]
test should not be dependent on the current time
Tobias Oetiker [Sat, 21 Feb 2015 17:18:43 +0000 (18:18 +0100)]
fix perl cb test
Tobias Oetiker [Sat, 21 Feb 2015 16:50:09 +0000 (17:50 +0100)]
update changes file
Tobias Oetiker [Sat, 21 Feb 2015 16:11:26 +0000 (17:11 +0100)]
bump some version for the 1.5.0-rc2 release
Tobias Oetiker [Sat, 21 Feb 2015 16:06:37 +0000 (17:06 +0100)]
one more resolute
Tobias Oetiker [Sat, 21 Feb 2015 15:59:26 +0000 (16:59 +0100)]
reconfigure x-axis labels, so that they work form 1 second resolution up to 30 years
Tobias Oetiker [Mon, 16 Feb 2015 16:41:28 +0000 (17:41 +0100)]
Merge pull request #584 from siboulet/fix-cpp-template
Use of keyword "template" prevents including header file in C++
Tobias Oetiker [Mon, 9 Feb 2015 14:05:33 +0000 (15:05 +0100)]
expected the wrong result
Tobias Oetiker [Mon, 9 Feb 2015 13:04:02 +0000 (14:04 +0100)]
try to figure why the cb test fails on travis
Tobias Oetiker [Mon, 9 Feb 2015 09:48:24 +0000 (10:48 +0100)]
set the *end pointer and modify the test so that we see if it works
Tobias Oetiker [Mon, 9 Feb 2015 09:48:06 +0000 (10:48 +0100)]
be a bit more careful with what we accept from the callbacks
Tobias Oetiker [Fri, 6 Feb 2015 14:17:44 +0000 (15:17 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Fri, 6 Feb 2015 14:17:35 +0000 (15:17 +0100)]
scanf [...] is not regexp [...]
Tobias Oetiker [Tue, 3 Feb 2015 20:19:43 +0000 (21:19 +0100)]
Merge pull request #582 from siboulet/rados
Add support for storing RRD in Ceph through librados
Simon Boulet [Thu, 29 Jan 2015 21:30:01 +0000 (16:30 -0500)]
Add support for storing RRD in Ceph through librados
This patch adds support for creating, updating and retrieving RRD files
on a Ceph cluster. It adds a ceph// prefix to RRD file name (similar to
sql// used by libdbi). It uses librados to talk natively to Ceph.
Simon Boulet [Sun, 1 Feb 2015 02:03:53 +0000 (21:03 -0500)]
Use of keyword "template" prevents including header file in C++
Tobias Oetiker [Fri, 30 Jan 2015 20:37:34 +0000 (21:37 +0100)]
update prebuilt confiure
Tobias Oetiker [Fri, 30 Jan 2015 20:36:12 +0000 (21:36 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Fri, 30 Jan 2015 20:35:42 +0000 (21:35 +0100)]
enable-rrd_graph disabled rrdcgi ... oops
Tobias Oetiker [Fri, 30 Jan 2015 15:40:36 +0000 (16:40 +0100)]
Merge pull request #580 from sippy/xlab_improved
Xlab improved
Tobias Oetiker [Fri, 30 Jan 2015 15:32:39 +0000 (16:32 +0100)]
Merge pull request #579 from siboulet/fix-flock
Fix flock being always disabled
Tobias Oetiker [Fri, 30 Jan 2015 15:31:57 +0000 (16:31 +0100)]
Merge pull request #578 from aldot/master
po: add remove-potcdate.sin
Maksym Sobolyev [Thu, 29 Jan 2015 22:46:49 +0000 (14:46 -0800)]
Undo
dbd59f8 , so that we can forge pull request.
Maksym Sobolyev [Thu, 29 Jan 2015 22:29:57 +0000 (14:29 -0800)]
Improve auto-scaling of gridlines and placement of x-labels when
plotted_time/pixel ratio gets smaller than 2. This significantly
improves readability of small graphs (i.e. around 400-pixels wide)
when time range plotted becomes less than 600 seconds. Before
this change you would only get few gridlines and from 1-2 to 0
labels depending on how lucky are you. Some examples of such
graphs can be found here. "o" vs. "n" prefix denotes behaviour
before and after the change respectively, and number after that
denotes full scale of x axis in seconds:
Before:
http://sobomax.sippysoft.com/rrdtool/o660.png
http://sobomax.sippysoft.com/rrdtool/o600.png
http://sobomax.sippysoft.com/rrdtool/o540.png
http://sobomax.sippysoft.com/rrdtool/o480.png
http://sobomax.sippysoft.com/rrdtool/o420.png
http://sobomax.sippysoft.com/rrdtool/o360.png
http://sobomax.sippysoft.com/rrdtool/o300.png
http://sobomax.sippysoft.com/rrdtool/o240.png
http://sobomax.sippysoft.com/rrdtool/o180.png
http://sobomax.sippysoft.com/rrdtool/o120.png
After:
http://sobomax.sippysoft.com/rrdtool/n660.png
http://sobomax.sippysoft.com/rrdtool/n600.png
http://sobomax.sippysoft.com/rrdtool/n540.png
http://sobomax.sippysoft.com/rrdtool/n480.png
http://sobomax.sippysoft.com/rrdtool/n420.png
http://sobomax.sippysoft.com/rrdtool/n360.png
http://sobomax.sippysoft.com/rrdtool/n300.png
http://sobomax.sippysoft.com/rrdtool/n240.png
http://sobomax.sippysoft.com/rrdtool/n180.png
http://sobomax.sippysoft.com/rrdtool/n120.png
Simon Boulet [Thu, 29 Jan 2015 21:34:39 +0000 (16:34 -0500)]
Fix flock being always disabled
Bernhard Reutner-Fischer [Thu, 29 Jan 2015 20:19:33 +0000 (21:19 +0100)]
po: add remove-potcdate.sin
My build was failing with
make rrdtool.pot-update
make[2]: Entering directory '/scratch/src/rrdtool-1.x/po'
make[2]: *** No rule to make target 'remove-potcdate.sin', needed by 'remove-potcdate.sed'. Stop.
Fixed by adding this missing gettext-helper script.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Maksym Sobolyev [Wed, 28 Jan 2015 18:38:54 +0000 (10:38 -0800)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
configure.ac
Tobias Oetiker [Tue, 20 Jan 2015 18:05:57 +0000 (19:05 +0100)]
Merge pull request #577 from casta/fix_576
vars may be used uninitialized. issue #576.
Guillaume Castagnino [Tue, 20 Jan 2015 13:50:56 +0000 (14:50 +0100)]
vars may be used uninitialized. This may lead to unattended behaviour at certain optimisation level
Tobias Oetiker [Fri, 16 Jan 2015 08:12:38 +0000 (09:12 +0100)]
update the generated files to be in sync with the source
Tobias Oetiker [Wed, 14 Jan 2015 13:29:26 +0000 (14:29 +0100)]
slowly getting to make this work on solaris
Tobias Oetiker [Wed, 14 Jan 2015 12:52:01 +0000 (13:52 +0100)]
be more careful when checking for sigwaitinfo and sigwait presence
Tobias Oetiker [Wed, 14 Jan 2015 12:50:35 +0000 (13:50 +0100)]
sync generated files
Tobias Oetiker [Wed, 14 Jan 2015 11:16:57 +0000 (12:16 +0100)]
to include - in an scanf rang it must be at the end not at the beginning of the expressions
Tobias Oetiker [Wed, 14 Jan 2015 10:50:34 +0000 (11:50 +0100)]
Merge pull request #568 from dago/solaris
rrd_modify no longer exists
Tobias Oetiker [Tue, 13 Jan 2015 18:40:40 +0000 (19:40 +0100)]
Merge pull request #572 from mahadeva604/master
Fix the memory leak in rrdcached
Alexander Lozovoi [Tue, 13 Jan 2015 17:19:13 +0000 (20:19 +0300)]
Fix the memory leak in rrdcached
Tobias Oetiker [Mon, 12 Jan 2015 20:40:56 +0000 (21:40 +0100)]
fix wrong variable
Tobias Oetiker [Mon, 12 Jan 2015 20:39:54 +0000 (21:39 +0100)]
use ifdef not if
Tobias Oetiker [Mon, 12 Jan 2015 20:37:33 +0000 (21:37 +0100)]
check if we have sigwaitinfo and use sigwait instead ...
Tobias Oetiker [Mon, 12 Jan 2015 20:15:23 +0000 (21:15 +0100)]
even more in files
Tobias Oetiker [Mon, 12 Jan 2015 20:13:25 +0000 (21:13 +0100)]
more in files
Tobias Oetiker [Mon, 12 Jan 2015 20:11:29 +0000 (21:11 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Mon, 12 Jan 2015 20:10:49 +0000 (21:10 +0100)]
add in files ... to be able to build from a clone
Tobias Oetiker [Sun, 11 Jan 2015 22:01:25 +0000 (23:01 +0100)]
Merge pull request #570 from stamfest/fix-man-pages
Adapt man pages to cover new "tune" capabilites and remove obsolete "modify" man page.
Peter Stamfest [Sun, 11 Jan 2015 19:56:25 +0000 (20:56 +0100)]
Remove rrdmodify.pod from build infrastructure
Peter Stamfest [Sun, 11 Jan 2015 19:25:26 +0000 (20:25 +0100)]
Adapt man pages to cover new "tune" capabilites and remove obsolete
"modify" man page.
Tobias Oetiker [Fri, 9 Jan 2015 17:37:01 +0000 (18:37 +0100)]
check for sigwaitinfo presence, and if it is missing, look for it in librt
Dagobert Michelsen [Fri, 9 Jan 2015 13:56:46 +0000 (14:56 +0100)]
rrd_modify no longer exists
Tobias Oetiker [Fri, 9 Jan 2015 13:32:10 +0000 (14:32 +0100)]
add the missing 0
Tobias Oetiker [Fri, 9 Jan 2015 13:26:09 +0000 (14:26 +0100)]
Merge branch 'master' of github.com:oetiker/rrdtool-1.x
Tobias Oetiker [Fri, 9 Jan 2015 13:25:38 +0000 (14:25 +0100)]
check if the system has strndup, if not, compensate
Tobias Oetiker [Fri, 9 Jan 2015 12:51:36 +0000 (13:51 +0100)]
Merge pull request #566 from dago/solaris
Do not use elifdef
Dagobert Michelsen [Thu, 8 Jan 2015 21:52:29 +0000 (22:52 +0100)]
Do not use elifdef
Tobias Oetiker [Thu, 8 Jan 2015 14:20:18 +0000 (15:20 +0100)]
fix travis build
Tobias Oetiker [Thu, 8 Jan 2015 13:50:42 +0000 (14:50 +0100)]
add note on DCOUNTER and DDERIVE
Tobias Oetiker [Thu, 8 Jan 2015 13:50:39 +0000 (14:50 +0100)]
include missing files in dist
Tobias Oetiker [Thu, 8 Jan 2015 13:35:38 +0000 (14:35 +0100)]
get rid of all the version strings in the GIT version. they get added back when building a dist.
Tobias Oetiker [Thu, 8 Jan 2015 13:13:47 +0000 (14:13 +0100)]
more useles stuff removed
Tobias Oetiker [Thu, 8 Jan 2015 13:09:12 +0000 (14:09 +0100)]
more 1.5.0-rc1 cleanups
Tobias Oetiker [Thu, 8 Jan 2015 13:06:53 +0000 (14:06 +0100)]
cleaning up to get ready for the 1.5.0-rc1 release
Maksym Sobolyev [Fri, 26 Dec 2014 19:25:08 +0000 (11:25 -0800)]
Merge remote-tracking branch 'upstream/master'
Tobias Oetiker [Fri, 26 Dec 2014 06:25:18 +0000 (07:25 +0100)]
Merge pull request #538 from sippy/master
Add two new data types: DCOUNTER and DDERIVE
Maksym Sobolyev [Wed, 24 Dec 2014 19:17:54 +0000 (11:17 -0800)]
Modernize for the autoconf 2.69.
Maksym Sobolyev [Wed, 24 Dec 2014 18:28:45 +0000 (10:28 -0800)]
Kill unused variable.
Maksym Sobolyev [Wed, 24 Dec 2014 18:27:59 +0000 (10:27 -0800)]
Coalesce 10 updates into a sigle command, so that valgring
test run works faster.
Maksym Sobolyev [Wed, 24 Dec 2014 18:00:31 +0000 (10:00 -0800)]
Produce intermediary "ok" messages during update cycle, so that
travis doesn't think we are stuck.
Maksym Sobolyev [Wed, 24 Dec 2014 17:33:19 +0000 (09:33 -0800)]
Fix permission.
Maksym Sobolyev [Wed, 24 Dec 2014 17:28:40 +0000 (09:28 -0800)]
Reduce number of test data points in the dcounter1 file by an order
of magnitude. This should prevent valgrind run on travis to timeout.
Tobias Oetiker [Wed, 24 Dec 2014 14:26:43 +0000 (15:26 +0100)]
don't try todo the coverage thing
Maksym Sobolyev [Wed, 24 Dec 2014 01:56:31 +0000 (17:56 -0800)]
Skip "fetch" test for the rrdcached-style test. For some reason it
produces lot of unwanted output, which breaks it.
Maksym Sobolyev [Wed, 24 Dec 2014 01:21:14 +0000 (17:21 -0800)]
Add missing deref.
Maksym Sobolyev [Wed, 24 Dec 2014 01:17:26 +0000 (17:17 -0800)]
/usr/local/bin/bash -> /bin/bash.
Maksym Sobolyev [Wed, 24 Dec 2014 01:11:46 +0000 (17:11 -0800)]
Undo
409339b1cbed277ff7adb53156fbe9b1abcd3f59 once again, I should
have waited for the travis to chew it through before re-adding it
again.
Maksym Sobolyev [Wed, 24 Dec 2014 01:10:03 +0000 (17:10 -0800)]
Filter out "NaNs" from the fetch output, we are getting "-nan" on
linux, vs. "nan" on FreeBSD.
Maksym Sobolyev [Wed, 24 Dec 2014 01:02:44 +0000 (17:02 -0800)]
Modernize for the autoconf 2.69.
Maksym Sobolyev [Wed, 24 Dec 2014 01:02:02 +0000 (17:02 -0800)]
Maksym Sobolyev [Wed, 24 Dec 2014 00:58:52 +0000 (16:58 -0800)]
Add new version 5 of the RRD format to be activated when either
DCOUNTER or DDERIVE data type is requested. This is to provide
useful error output when trying to read new RRDs using old tools.
Maksym Sobolyev [Tue, 23 Dec 2014 23:21:26 +0000 (15:21 -0800)]
Add dcounter1 regression test script to test DCOUNTER / DDERIVE
ds types.
Maksym Sobolyev [Mon, 22 Dec 2014 20:26:48 +0000 (12:26 -0800)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
src/rrd_graph_helper.c
Tobias Oetiker [Mon, 8 Dec 2014 22:19:07 +0000 (23:19 +0100)]
don't use fadvise if we have mmap
Tobias Oetiker [Tue, 18 Nov 2014 17:49:15 +0000 (09:49 -0800)]
Merge pull request #561 from oetiker/xport-start-end-fix
port
741d4e9 to master -- fix start and end times for xport
Tobias Oetiker [Tue, 18 Nov 2014 17:49:05 +0000 (09:49 -0800)]
Merge pull request #562 from oetiker/counter-wrap-fix
maxint is 2^32-1
Tobias Oetiker [Tue, 18 Nov 2014 11:04:44 +0000 (12:04 +0100)]
maxint is 2^32-1
Tobias Oetiker [Tue, 18 Nov 2014 09:37:50 +0000 (10:37 +0100)]
port
741d4e9 to master -- fix start and end times for xport
Tobias Oetiker [Mon, 17 Nov 2014 23:23:51 +0000 (15:23 -0800)]
Merge pull request #556 from oetiker/restore-string-length-check
complain about strings that are too long when restoring to rrd