]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
15 years agoRelicense the RRDCacheD client interface under the MIT license. This
Tobias Oetiker [Mon, 26 Apr 2010 05:58:15 +0000 (05:58 +0000)] 
Relicense the RRDCacheD client interface under the MIT license. This
allows the interface to be used from non-GPL applications by copying the
source code files into the projects source tree. -- Florian Forster rrdtool@octo.it

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2070 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agomake rrdtool compile with gcc 4.5 if -std=c99 is set -- anicka@suse.cz
Tobias Oetiker [Sun, 18 Apr 2010 16:33:54 +0000 (16:33 +0000)] 
make rrdtool compile with gcc 4.5 if -std=c99 is set -- anicka@suse.cz

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agounify marking of unused arguments
Tobias Oetiker [Wed, 7 Apr 2010 13:04:33 +0000 (13:04 +0000)] 
unify marking of unused arguments

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2068 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix info syntax
Tobias Oetiker [Sat, 3 Apr 2010 06:59:19 +0000 (06:59 +0000)] 
fix info syntax

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2066 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agowhen printing time_t use %lld with (long long int) for portability
Tobias Oetiker [Mon, 29 Mar 2010 16:26:55 +0000 (16:26 +0000)] 
when printing time_t use %lld with (long long int) for portability

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2057 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years ago* do add intl directory back to Makefile.am ... no use distributing the stuff if...
Tobias Oetiker [Sun, 28 Mar 2010 09:04:49 +0000 (09:04 +0000)] 
* do add intl directory back to Makefile.am ... no use distributing the stuff if we don't use it
* link pangocairo and not pango ... thanks Stephen S. Disbrow for finding this

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2052 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadded solaris cairo build hint
Tobias Oetiker [Fri, 26 Mar 2010 20:36:23 +0000 (20:36 +0000)] 
added solaris cairo build hint

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2051 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Updated help output
Tobias Oetiker [Wed, 24 Mar 2010 17:19:57 +0000 (17:19 +0000)] 
rrdcached: Updated help output
rrdcached: Exit with status != 0, if an invalid command line option was used. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2049 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agobranched from trunk
Tobias Oetiker [Mon, 22 Mar 2010 18:58:49 +0000 (18:58 +0000)] 
branched from trunk

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2047 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoWall is not a portable cc option ... if this is to be used we would have to check
Tobias Oetiker [Mon, 22 Mar 2010 17:21:38 +0000 (17:21 +0000)] 
Wall is not a portable cc option ... if this  is to be used we would have to check
which C compiler is in use ... so lets drop it for now

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2045 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoinclude gettext 0.17 ... for those who do not have it on board
Tobias Oetiker [Mon, 22 Mar 2010 17:02:55 +0000 (17:02 +0000)] 
include gettext 0.17 ... for those who do not have it on board

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2044 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agowait before release to prevent timeout on scp
Tobias Oetiker [Mon, 22 Mar 2010 16:56:11 +0000 (16:56 +0000)] 
wait before release to prevent timeout on scp

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2043 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoprepare for the release of rrdtool-1.4.3
Tobias Oetiker [Mon, 22 Mar 2010 16:05:55 +0000 (16:05 +0000)] 
prepare for the release of rrdtool-1.4.3

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2042 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofixed spelling a bit
Tobias Oetiker [Mon, 22 Mar 2010 16:05:23 +0000 (16:05 +0000)] 
fixed spelling a bit

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2041 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agodo not autogen the CHANGES file anymore
Tobias Oetiker [Mon, 22 Mar 2010 16:03:53 +0000 (16:03 +0000)] 
do not autogen the CHANGES file anymore

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2040 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agowe are in 2010 now
Tobias Oetiker [Mon, 22 Mar 2010 15:05:43 +0000 (15:05 +0000)] 
we are in 2010 now

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2039 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoupdate date
Tobias Oetiker [Mon, 22 Mar 2010 15:00:13 +0000 (15:00 +0000)] 
update date

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2038 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Log to stderr (in addition to syslog) when running in foreground. -- Sebas...
Tobias Oetiker [Mon, 22 Mar 2010 14:51:06 +0000 (14:51 +0000)] 
rrdcached: Log to stderr (in addition to syslog) when running in foreground. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2037 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Do not put any code in assert(). -- Sebastian Harl
Tobias Oetiker [Mon, 22 Mar 2010 14:50:32 +0000 (14:50 +0000)] 
rrdcached: Do not put any code in assert(). -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2036 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Added -m command line option. This option may be used to specify
Tobias Oetiker [Mon, 22 Mar 2010 14:49:26 +0000 (14:49 +0000)] 
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

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2035 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Let -s affect the following sockets only. This way, it's possible
Tobias Oetiker [Mon, 22 Mar 2010 14:47:35 +0000 (14:47 +0000)] 
rrdcached: Let -s affect the following sockets only. This way, it's possible
to specify different groups for different sockets. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2034 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadd 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu)
Tobias Oetiker [Mon, 22 Mar 2010 09:05:39 +0000 (09:05 +0000)] 
add 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu)
(1.3 only docu). Fix for Debian Bug 573299 provided by Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2033 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoin rrd_cgi RRD::TIME::LAST do not raise argc when calling rrd_last since the strftime...
Tobias Oetiker [Mon, 15 Mar 2010 08:43:22 +0000 (08:43 +0000)] 
in rrd_cgi RRD::TIME::LAST do not raise argc when calling rrd_last since the strftime argument which
is provided is already in the count but does not get passed to rrd_last. Thanks to Robert Luberda (fixing Debian Bug #573638.)

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2030 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoObviously this will only work if rrdcached is running as root which in
Tobias Oetiker [Mon, 8 Mar 2010 17:13:16 +0000 (17:13 +0000)] 
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

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2029 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadded --no-overwrite option to rrdtool create. It prevents rrdtool from clobbering...
Tobias Oetiker [Mon, 8 Mar 2010 17:10:02 +0000 (17:10 +0000)] 
added --no-overwrite option to rrdtool create. It prevents rrdtool from clobbering existing rrd files. -- Chris - LINX

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2028 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoI think I just solved a longstanding bug in the rrd_update routine
Tobias Oetiker [Tue, 2 Mar 2010 23:22:35 +0000 (23:22 +0000)] 
I think I just solved a longstanding bug in the rrd_update routine
... I am writing a tool for seeding new rrd files from an existing
one ... essentially enabeling arbitrary restructuring ...

while doing this I found the following:

pdp:     1 2 | 3 4 5 6 7 | 8 9

for a consolidation of 5 steps I get

AVG RRA  ..  |         5 | ..
MIN RRA  ..  |         2 | ..
MAX RRA  ..  |         7 | ..

while I would have expected to get

AVG RRA  ..  |         5 | ..
MIN RRA  ..  |         3 | ..
MAX RRA  ..  |         7 | ..

the behavior has been like this at least since 1.2

looking at the code I found that the behavior had been introduced
by a patch optimizing rrd_update for updates covering multiple pdps
in one go ... in that optimization, the normal case where an update
covers exactly ONE pdp had been sort of neglected ... so much for
tunel vision.

The problem was, that the cdp value for MIN and MAX got initialized
from the last pdp value BEFORE the consolidation interval ... for
normal data no one would notice (or did notice) but it is still
wrong ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2024 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadded additional dependencies on Makefile to make sure bindings makefiles get rebuild...
Tobias Oetiker [Tue, 2 Mar 2010 16:54:04 +0000 (16:54 +0000)] 
added additional dependencies on Makefile to make sure bindings makefiles get rebuild after reconfig

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2023 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoreset rrd_state for grapv in ruby bindings -- Sven Engelhardt
Tobias Oetiker [Tue, 16 Feb 2010 13:04:18 +0000 (13:04 +0000)] 
reset rrd_state for grapv in ruby bindings -- Sven Engelhardt

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2022 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agomake sure we only use _NL_TIME_WEEK_1STDAY if we actually have it ... thanks kevin...
Tobias Oetiker [Sat, 13 Feb 2010 11:30:17 +0000 (11:30 +0000)] 
make sure we only use _NL_TIME_WEEK_1STDAY if we actually have it ... thanks kevin for the report

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2020 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agouse _NL_TIME_WEEK_1STDAY to determin the first day of the week.
Tobias Oetiker [Sun, 7 Feb 2010 19:55:47 +0000 (19:55 +0000)] 
use _NL_TIME_WEEK_1STDAY to determin the first day of the week.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2018 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agouse locale information from LC_TIME first_weekday to determine if the week should...
Tobias Oetiker [Sun, 7 Feb 2010 19:48:01 +0000 (19:48 +0000)] 
use locale information from LC_TIME first_weekday to determine if the week should start sunday or monday.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2017 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agonew rb_rrd_xport function for ruby bindings. -- Pavel Pachkovskij pavel.pachkovskij...
Tobias Oetiker [Fri, 5 Feb 2010 18:28:41 +0000 (18:28 +0000)] 
new rb_rrd_xport function for ruby bindings. -- Pavel Pachkovskij pavel.pachkovskij azati.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2016 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agomake sure that (argv-1)[0] points to something sensible ... hack to undo the damage...
Tobias Oetiker [Tue, 2 Feb 2010 17:07:20 +0000 (17:07 +0000)] 
make sure that (argv-1)[0] points to something sensible ... hack to undo the damage caused by a sensless optimization. see bug #251

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2013 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadd 'u' to backup one line for special legend placement tricks
Tobias Oetiker [Mon, 25 Jan 2010 22:25:14 +0000 (22:25 +0000)] 
add 'u' to backup one line for special legend placement tricks

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2012 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix right aligned text
Tobias Oetiker [Mon, 25 Jan 2010 22:09:23 +0000 (22:09 +0000)] 
fix right aligned text

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2011 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadd online documentation for --pango-markup switch
Tobias Oetiker [Mon, 25 Jan 2010 20:46:14 +0000 (20:46 +0000)] 
add online documentation for --pango-markup switch

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2010 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoAttached patch passes DESTDIR to setup.py as --root=<DESTDIR> iff a DESTDIR was given...
Tobias Oetiker [Thu, 21 Jan 2010 13:42:48 +0000 (13:42 +0000)] 
Attached patch passes DESTDIR to setup.py as --root=<DESTDIR> iff a DESTDIR was given. Bernhard Reutner-Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2006 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoonly draw the new type of marker in the graph legend when called with --dynamic-label...
Tobias Oetiker [Wed, 20 Jan 2010 19:47:04 +0000 (19:47 +0000)] 
only draw the new type of marker in the graph legend when called with --dynamic-labels -- tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2005 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadd a timeout to the ms_async timestamp updating issue since this test was reported...
Tobias Oetiker [Fri, 15 Jan 2010 06:57:18 +0000 (06:57 +0000)] 
add a timeout to the ms_async timestamp updating issue since this test was reported to hang while sync was called.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2003 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix cairo version
Tobias Oetiker [Fri, 15 Jan 2010 06:56:40 +0000 (06:56 +0000)] 
fix cairo version

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2002 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agonew (better) checker for incoming COUNTER or DERIVED data. thanks Florian!
Tobias Oetiker [Thu, 14 Jan 2010 13:01:43 +0000 (13:01 +0000)] 
new (better) checker for incoming COUNTER or DERIVED data. thanks Florian!

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2001 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agore-fix #243 checking for '\0' made the whole check pointless. Now it should actually...
Tobias Oetiker [Thu, 14 Jan 2010 12:56:59 +0000 (12:56 +0000)] 
re-fix #243 checking for '\0' made the whole check pointless. Now it should actually catch bad input.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2000 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agosizeof(time_t) is 4 byte not 32 bit ...
Tobias Oetiker [Mon, 11 Jan 2010 09:49:44 +0000 (09:49 +0000)] 
sizeof(time_t) is 4 byte not 32 bit ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1999 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agowe are using a comparison with sizeof(long) to figure the size of time_t this is...
Tobias Oetiker [Mon, 11 Jan 2010 09:06:59 +0000 (09:06 +0000)] 
we are using a comparison with sizeof(long) to figure the size of time_t this is unfortunate
since on freebsd in 64bit mode time_t is 32 bit while long is 64 bit

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1997 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoThe end of the export range should not be adjusted DOWN but UP to hit the next matchi...
Tobias Oetiker [Mon, 11 Jan 2010 08:11:19 +0000 (08:11 +0000)] 
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. Thanks swami for the bugreport.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1996 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agothe end time itself is not part of a time range ... this fixes the segfault reported...
Tobias Oetiker [Sat, 2 Jan 2010 16:33:26 +0000 (16:33 +0000)] 
the end time itself is not part of a time range ... this fixes the segfault reported in #248

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1995 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoteach rrd_restore to be able to read the #text value of <a></a> ... this fixes proble...
Tobias Oetiker [Sun, 20 Dec 2009 12:15:06 +0000 (12:15 +0000)] 
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.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1992 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agodo not build
Tobias Oetiker [Wed, 9 Dec 2009 15:00:43 +0000 (15:00 +0000)] 
do not build
anymore

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1990 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoyet another try to get the rpn example right ... #246
Tobias Oetiker [Tue, 8 Dec 2009 08:56:06 +0000 (08:56 +0000)] 
yet another try to get the rpn example right ... #246

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1986 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix spacing
Tobias Oetiker [Thu, 3 Dec 2009 23:32:30 +0000 (23:32 +0000)] 
fix spacing

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1985 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agothis one proofes difficult to fix ... :-) another try ...
Tobias Oetiker [Mon, 30 Nov 2009 07:18:10 +0000 (07:18 +0000)] 
this one proofes difficult to fix ... :-) another try ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1984 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoits 7000 not 700 ... fix for #246 again
Tobias Oetiker [Mon, 30 Nov 2009 07:17:02 +0000 (07:17 +0000)] 
its 7000 not 700 ... fix for #246 again

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1983 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadd 0,7000 to fix #246
Tobias Oetiker [Mon, 30 Nov 2009 07:13:25 +0000 (07:13 +0000)] 
add 0,7000 to fix #246

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1982 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agouse puts("x") instead of fputs("x\n",stdout) -- Bernhard Reutner-Fischer
Tobias Oetiker [Wed, 18 Nov 2009 22:01:46 +0000 (22:01 +0000)] 
use puts("x") instead of fputs("x\n",stdout) -- Bernhard Reutner-Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1977 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoremove duplicate help text -- Bernhard Reutner-Fischer
Tobias Oetiker [Wed, 18 Nov 2009 12:45:52 +0000 (12:45 +0000)] 
remove duplicate help text -- Bernhard Reutner-Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1976 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agobe more diligent in checking the input arguments for rrdtool update and complain...
Tobias Oetiker [Mon, 16 Nov 2009 14:59:51 +0000 (14:59 +0000)] 
be more diligent in checking the input arguments for rrdtool  update and complain if they are wrong. fix for #243 (and more)
--This line, and those below, will be ignored-

M    trunk/program/src/rrd_update.c
M    branches/1.3/program/src/rrd_update.c

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1973 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoprepare for the release of rrdtool-1.4.2
Tobias Oetiker [Sun, 15 Nov 2009 11:54:23 +0000 (11:54 +0000)] 
prepare for the release of rrdtool-1.4.2

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1970 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix pod syntax
Tobias Oetiker [Sun, 15 Nov 2009 11:53:56 +0000 (11:53 +0000)] 
fix pod syntax

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1969 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoSwitch LC_NUMERIC to C prior to creating rrd_xport output. This makes sure that numbe...
Tobias Oetiker [Sun, 15 Nov 2009 10:51:10 +0000 (10:51 +0000)] 
Switch LC_NUMERIC to C prior to creating rrd_xport output. This makes sure that numbers are always output with a . and not with a ,

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1968 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoclarify rrd_daemon code with JOURNAL_REPLAY macro -- kevin
Tobias Oetiker [Fri, 30 Oct 2009 22:49:50 +0000 (22:49 +0000)] 
clarify rrd_daemon code with JOURNAL_REPLAY macro -- kevin

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1967 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoprepare for the release of rrdtool-1.4.1
Tobias Oetiker [Wed, 28 Oct 2009 05:15:17 +0000 (05:15 +0000)] 
prepare for the release of rrdtool-1.4.1

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1963 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoupdated versions to account for rrd cached fix
Tobias Oetiker [Wed, 28 Oct 2009 05:15:04 +0000 (05:15 +0000)] 
updated versions to account for rrd cached fix

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1962 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoAvoid unnecessary string handling for UPDATE commands in rrd_deaemon for 20x
Tobias Oetiker [Wed, 28 Oct 2009 05:14:03 +0000 (05:14 +0000)] 
Avoid unnecessary string handling for UPDATE commands in rrd_deaemon for 20x
speed increasse. Only copy as many bytes as necessary. During journal
replay, avoid unnecessary copy (string is discarded). Bug reported by
Thorsten von Eicken Patched by kevin brintnall

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1961 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agowe have 2009 now
Tobias Oetiker [Tue, 27 Oct 2009 21:44:09 +0000 (21:44 +0000)] 
we have 2009 now

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1959 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoadded links to documentation
Tobias Oetiker [Tue, 27 Oct 2009 21:40:09 +0000 (21:40 +0000)] 
added links to documentation

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1958 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoset version to 1.4.0 for all files
Tobias Oetiker [Tue, 27 Oct 2009 17:55:25 +0000 (17:55 +0000)] 
set version to 1.4.0 for all files

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1957 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agocreate build script for 1.4 release
Tobias Oetiker [Tue, 27 Oct 2009 17:51:06 +0000 (17:51 +0000)] 
create build script for 1.4 release

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1956 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years ago* remove intl from build process ... someone who does actually need it should fix...
Tobias Oetiker [Tue, 27 Oct 2009 17:49:29 +0000 (17:49 +0000)] 
* remove intl from build process ... someone who does actually need it should fix this ...
* make the code work on solaris 10 (tested on opencsw server farm. thanks!)

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1955 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agomore solaris 10 portability changes ....
Tobias Oetiker [Tue, 27 Oct 2009 17:04:03 +0000 (17:04 +0000)] 
more solaris 10 portability changes ....

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1954 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoremove HAVE_LOCALE_H and HAVE_TIME_H and HAVE_SETLOCALE since they have not been...
Tobias Oetiker [Tue, 27 Oct 2009 16:18:43 +0000 (16:18 +0000)] 
remove HAVE_LOCALE_H and HAVE_TIME_H and HAVE_SETLOCALE since they have not been used consistantly anyway

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1953 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoif we use HAVE_TIME_H we should have a check for this in configure ...
Tobias Oetiker [Tue, 27 Oct 2009 16:12:32 +0000 (16:12 +0000)] 
if we use HAVE_TIME_H we should have a check for this in configure ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1952 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoupdated for 1.4 release
Tobias Oetiker [Tue, 27 Oct 2009 13:57:59 +0000 (13:57 +0000)] 
updated for 1.4 release

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1951 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agosimplify rrd_graph LC_NUMERIC fix so that all call paramters are affected by it.
Tobias Oetiker [Tue, 27 Oct 2009 13:54:33 +0000 (13:54 +0000)] 
simplify rrd_graph LC_NUMERIC fix so that all call paramters are affected by it.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1950 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoallow the grid on:off pattern to be configured
Tobias Oetiker [Tue, 27 Oct 2009 13:13:37 +0000 (13:13 +0000)] 
allow the grid on:off pattern to be configured

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1949 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoneeds locale.h to compile
Tobias Oetiker [Tue, 27 Oct 2009 13:07:25 +0000 (13:07 +0000)] 
needs locale.h to  compile

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1948 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agooptional software is expected to live in /opt, so lets follow this custom ... /usr...
Tobias Oetiker [Fri, 23 Oct 2009 15:58:10 +0000 (15:58 +0000)] 
optional software is expected to live in /opt, so lets follow this custom ... /usr/local is really old school.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1945 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agofix memory handling when argument separation in pipe mode fails. fix for #230
Tobias Oetiker [Thu, 22 Oct 2009 23:22:23 +0000 (23:22 +0000)] 
fix memory handling when argument separation in pipe mode fails. fix for #230

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1944 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoset locale to C while restoring
Tobias Oetiker [Tue, 20 Oct 2009 19:23:49 +0000 (19:23 +0000)] 
set locale to C while restoring

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1939 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoanother typo fixed by Justin T Pryzby
Tobias Oetiker [Thu, 15 Oct 2009 08:42:31 +0000 (08:42 +0000)] 
another typo fixed by Justin T Pryzby

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1938 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoRemoved left-over occurrence of LIB_LIBINTL -- sebastian
Tobias Oetiker [Thu, 15 Oct 2009 04:47:55 +0000 (04:47 +0000)] 
Removed left-over occurrence of LIB_LIBINTL -- sebastian

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1937 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoFixed various typos in the manpages. Debian bug #550919. -- Justin T. Pryzby
Tobias Oetiker [Wed, 14 Oct 2009 08:04:59 +0000 (08:04 +0000)] 
Fixed various typos in the manpages. Debian bug #550919. -- Justin T. Pryzby

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1936 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoload rrd_config.h before rrd_client.h since its content is expected to be present...
Tobias Oetiker [Sun, 11 Oct 2009 16:00:14 +0000 (16:00 +0000)] 
load rrd_config.h before rrd_client.h since its content is expected to be present  -- Florian Forster

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1935 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoFix potential memory leak in rrd_flushcached during failure. -- kevin
Tobias Oetiker [Sun, 4 Oct 2009 21:16:34 +0000 (21:16 +0000)] 
Fix potential memory leak in rrd_flushcached during failure. -- kevin

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1934 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agosebastian was missing from the contributors list
Tobias Oetiker [Sun, 4 Oct 2009 12:18:03 +0000 (12:18 +0000)] 
sebastian was missing from the contributors list

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1933 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoDo not mess with the locale settings. The main program takes care of that (rrd_tool...
Tobias Oetiker [Sun, 4 Oct 2009 12:00:23 +0000 (12:00 +0000)] 
Do not mess with the locale settings. The main program takes care of that (rrd_tool.c calls setlocale(LC_ALL,"") already.
We do call setlocale on LC_NUMERIC a few times to get predictable number formats when parsing strings into floats, but apart from that the code is
written in a portable manner and can take whatever the local system supports.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1932 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years ago* comment on the reson for calling setlocale
Tobias Oetiker [Sun, 4 Oct 2009 11:48:40 +0000 (11:48 +0000)] 
* comment on the reson for calling setlocale
* to not force the message encoding ... messages
  should be encoded in the current locale

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1931 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrd_client, rrd_daemon: Do not require hostnames to contain a dot.
Tobias Oetiker [Sun, 4 Oct 2009 11:37:25 +0000 (11:37 +0000)] 
rrd_client, rrd_daemon: Do not require hostnames to contain a dot.
Non-FQDN (e.g. "localhost") are now supported as well. Anything that does not
start with '[' should be (and is now) treated as <name>[:<port>]. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1930 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrd_client: Improved error handling / reporting.
Tobias Oetiker [Sun, 4 Oct 2009 11:36:20 +0000 (11:36 +0000)] 
rrd_client: Improved error handling / reporting.

 * Report getaddrinfo() errors using gai_strerror().
 * Replaced "Internal error" with a more verbose error message, if available.

-- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1929 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrd_client: Do not rewrite path names when accessing remote daemons.
Tobias Oetiker [Sun, 4 Oct 2009 11:35:02 +0000 (11:35 +0000)] 
rrd_client: Do not rewrite path names when accessing remote daemons.

When talking to a local daemon (thru a UNIX socket), relative path names are
resolved to absolute path names to allow for transparent integration into
existing solutions (as requested by Tobi).

However, when talking to a remote daemon, absolute path names are not allowed,
since path name translation is done by the server (relative to the base
directory). -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1928 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdflushcached: Do not free 'opt_daemon' before checking the connection. -- Sebastian...
Tobias Oetiker [Sun, 4 Oct 2009 11:34:00 +0000 (11:34 +0000)] 
rrdflushcached: Do not free 'opt_daemon' before checking the connection. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1927 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdfetch: Print a usage summary if not enough parameters have been given. -- Sebastia...
Tobias Oetiker [Sun, 4 Oct 2009 11:33:15 +0000 (11:33 +0000)] 
rrdfetch: Print a usage summary if not enough parameters have been given. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1926 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Handle journal replay in socket_permission_check(). -- Sebastian Harl
Tobias Oetiker [Sun, 4 Oct 2009 11:32:18 +0000 (11:32 +0000)] 
rrdcached: Handle journal replay in socket_permission_check(). --  Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1925 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Create the base directory on startup. -- Sebastian Harl
Tobias Oetiker [Sun, 4 Oct 2009 11:30:24 +0000 (11:30 +0000)] 
rrdcached: Create the base directory on startup. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1924 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Improved the "base-dir symlink check".
Tobias Oetiker [Sun, 4 Oct 2009 11:29:40 +0000 (11:29 +0000)] 
rrdcached: Improved the "base-dir symlink check".
The daemon checks if the specified base directory contains symlinks by
comparing the canonicalized path name (by realpath()) with the path name
specified on the command line. The GNU libc's implementation of realpath()
removed trailing slashes ('/') from the pathname. Thus, specifying a base
directory with a trailing slash results in rrdcached aborting, complaining
about an invalid base directory, which is quite annoying imho. Now, trailing
slashes are removed before comparing the two path names. --  Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1923 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Improved an error message. -- Sebastian Harl
Tobias Oetiker [Sun, 4 Oct 2009 11:28:43 +0000 (11:28 +0000)] 
rrdcached: Improved an error message. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1922 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrdcached: Create the pidfile and (UNIX) socket directories as well.
Tobias Oetiker [Sun, 4 Oct 2009 11:27:44 +0000 (11:27 +0000)] 
rrdcached: Create the pidfile and (UNIX) socket directories as well.
Those files may be located in a subdirectory of, e.g., /var/run/. To avoid the
need to manually create (and recreate, e.g. in case /var/run/ is on a tmpfs)
that subdirectory, let the daemon handle the creation of those directories. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1921 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agorrd_fetch_libdbi: Fixed some compiler warnings. While at it, declared some private...
Tobias Oetiker [Thu, 1 Oct 2009 18:54:13 +0000 (18:54 +0000)] 
rrd_fetch_libdbi: Fixed some compiler warnings. While at it, declared some private helper functions as static. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1920 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoMoved rrd_dump_cb_r() to section "CORE FUNCTIONS" since this is not a utility functio...
Tobias Oetiker [Mon, 28 Sep 2009 16:21:13 +0000 (16:21 +0000)] 
Moved rrd_dump_cb_r() to section "CORE FUNCTIONS" since this is not a utility function but rather part of RRDtool's core. -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1918 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agoMoved the 'librrd' manpage to section 3 -- Sebastian Harl
Tobias Oetiker [Mon, 28 Sep 2009 16:16:59 +0000 (16:16 +0000)] 
Moved the 'librrd' manpage to section 3 -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1917 a5681a0c-68f1-0310-ab6d-d61299d08faa

15 years agodocumentation for rrd_mkdir_p added -- Sebastian Harl
Tobias Oetiker [Mon, 28 Sep 2009 16:16:35 +0000 (16:16 +0000)] 
documentation for rrd_mkdir_p added -- Sebastian Harl

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1916 a5681a0c-68f1-0310-ab6d-d61299d08faa