Code

rrdtool-all.git
12 years agoadded support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes. Fix for...
oetiker [Fri, 20 Jan 2012 07:27:50 +0000 (07:27 +0000)]
added support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes. Fix for #333 (thanks Christoph)

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

12 years agoadded openlane
oetiker [Wed, 18 Jan 2012 13:04:26 +0000 (13:04 +0000)]
added openlane

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

12 years agobe clearer as to what VDEF LAST/FIRST do.
oetiker [Wed, 18 Jan 2012 06:08:12 +0000 (06:08 +0000)]
be clearer as to what VDEF LAST/FIRST do.

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

12 years agoremove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)
oetiker [Tue, 17 Jan 2012 06:53:29 +0000 (06:53 +0000)]
remove perl 5.004 compatibility hack and make things work on newer perls in exchange :-)

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

12 years agoprepare for the release of rrdtool-1.4.6
oetiker [Mon, 16 Jan 2012 14:44:19 +0000 (14:44 +0000)]
prepare for the release of rrdtool-1.4.6

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

12 years agoprepare for the release of rrdtool-1.4.6
oetiker [Mon, 16 Jan 2012 14:40:06 +0000 (14:40 +0000)]
prepare for the release of rrdtool-1.4.6

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

12 years agofix libwrap and libdbi detection logic
oetiker [Mon, 16 Jan 2012 14:34:21 +0000 (14:34 +0000)]
fix libwrap and libdbi detection logic

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

12 years agoprepare for the release of rrdtool-1.4.6
oetiker [Mon, 16 Jan 2012 13:44:41 +0000 (13:44 +0000)]
prepare for the release of rrdtool-1.4.6

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

12 years agorrdtool is assuming that rrd_xport will always return -1 on failure;
oetiker [Mon, 16 Jan 2012 10:59:14 +0000 (10:59 +0000)]
rrdtool is assuming that rrd_xport will always return -1 on failure;
however, rrd_xport returns errno (which is, generally, not -1) if
rrd_client fails. I figured it was easier to change rrdtool than to change
everything in rrd_client. For good measure, I also changed the checks on
the calls to rrd_fetch and rrd_graph. I'm not sure if they're susceptible
to the same problem, but, well, better to check for the one thing you do
what you want than to enumerate all the possible things you don't want.

This segfault is caused by an uninitialized variable use (in particular,
legend_v and col_cnt end up being used and passed to printf uninitialized).
Nothing offhand jumped out at me as easily-exploitable to do code
injection, but I only spent five or so minutes looking at it, so there very
well may be a security problem hiding behind this. -- James Brown <jbrown@yelp.com>

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

12 years agointegrated json support in rrdtool xport with inspiration from Erik Kastner and Micha...
oetiker [Sun, 15 Jan 2012 16:31:12 +0000 (16:31 +0000)]
integrated json support in rrdtool xport with inspiration from Erik Kastner and Michael Markstaller -- Tobi

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

12 years agolatest sponsor status
oetiker [Wed, 4 Jan 2012 10:28:00 +0000 (10:28 +0000)]
latest sponsor status

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

12 years agoadded sponsors
oetiker [Fri, 23 Dec 2011 09:49:11 +0000 (09:49 +0000)]
added sponsors

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

12 years agobe more careful when finding pic flags
oetiker [Mon, 19 Dec 2011 16:03:09 +0000 (16:03 +0000)]
be more careful when finding pic flags

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

12 years agoensure we got long ints in ruby printfs
oetiker [Sun, 18 Dec 2011 11:54:57 +0000 (11:54 +0000)]
ensure we got long ints in ruby printfs

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

12 years agofix horyzontal alignement of lines and aread
oetiker [Fri, 16 Dec 2011 20:19:49 +0000 (20:19 +0000)]
fix horyzontal alignement of lines and aread

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

12 years agobackport improved grid-fitting
oetiker [Fri, 16 Dec 2011 17:40:15 +0000 (17:40 +0000)]
backport improved grid-fitting

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

12 years agosimplified configure tests for libwrap and libdbi
oetiker [Fri, 16 Dec 2011 16:34:02 +0000 (16:34 +0000)]
simplified configure tests for libwrap and libdbi

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

12 years agosearch for tcpd.h with <>
oetiker [Fri, 16 Dec 2011 13:25:34 +0000 (13:25 +0000)]
search for tcpd.h with <>

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

12 years agofix win32 distributables
oetiker [Fri, 16 Dec 2011 07:48:48 +0000 (07:48 +0000)]
fix win32 distributables

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

12 years agomake cpp defines more portable
oetiker [Fri, 16 Dec 2011 07:30:02 +0000 (07:30 +0000)]
make cpp defines more portable

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

12 years agoneed min defined now
oetiker [Fri, 16 Dec 2011 07:29:44 +0000 (07:29 +0000)]
need min defined now

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

12 years agoupdated win32 port by Larry Adams and the cacti team
oetiker [Thu, 15 Dec 2011 16:07:05 +0000 (16:07 +0000)]
updated win32 port by Larry Adams and the cacti team

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

12 years agorpn compare operators CAN return unknown ... (#293)
oetiker [Thu, 1 Dec 2011 15:27:24 +0000 (15:27 +0000)]
rpn compare operators CAN return unknown ... (#293)

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

12 years agogettext 0.17 is sufficient too and more widely used than 0.18 ...
oetiker [Thu, 1 Dec 2011 15:09:12 +0000 (15:09 +0000)]
gettext 0.17 is sufficient too and more widely used than 0.18 ...
-- Bernard Li <bernard@vanhpc.org>

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

12 years agofix some issues with the
oetiker [Thu, 1 Dec 2011 15:07:38 +0000 (15:07 +0000)]
fix some issues with the
spec file, specifically:

- Reset Release to 1
- Add -lua subpackage
- Fix -perl subpackage so it includes the correct Perl package paths

The version should probably be updated to 1.5.0 (for trunk), or we
could just grab that from configure.ac.

Tested building on EL5 and EL6 (beta).

It would be great if this could also be backported to the 1.4 tree.

-- Bernard Li <bernard@vanhpc.org>

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

12 years agofix typo in configure.ac (regression from r2227) fix for #324
oetiker [Tue, 29 Nov 2011 22:42:45 +0000 (22:42 +0000)]
fix typo in configure.ac (regression from r2227) fix for #324

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

12 years agoIt seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_fl...
oetiker [Mon, 28 Nov 2011 07:38:54 +0000 (07:38 +0000)]
It seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_flags & ONLY_GRAPH) != 0. Therefore, static variable pixie in function xtr() remains uninitialized (fix for #322). -- u00mp yandex.ru

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

12 years agofix glib dependency for --disable-rrd_graph and update library versions (fix for...
oetiker [Mon, 28 Nov 2011 07:32:36 +0000 (07:32 +0000)]
fix glib dependency for --disable-rrd_graph and update library versions (fix for #323)

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

12 years agoinitialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop...
oetiker [Thu, 24 Nov 2011 15:07:23 +0000 (15:07 +0000)]
initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christoph Biedl) #296

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

12 years agoupdates to the win32 port -- Chris Larsen
oetiker [Thu, 24 Nov 2011 14:56:02 +0000 (14:56 +0000)]
updates to the win32 port -- Chris Larsen

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

12 years agoafter fetching, data must be reduced to at least chart resolution, else some data...
oetiker [Thu, 24 Nov 2011 14:26:30 +0000 (14:26 +0000)]
after fetching, data must be reduced to at least chart resolution, else some data will not get plotted. fix for #298

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

12 years agoproperly handle the case where RRDCACHED_ADDRESS is an empty string
oetiker [Thu, 24 Nov 2011 10:55:18 +0000 (10:55 +0000)]
properly handle the case where RRDCACHED_ADDRESS is an empty string

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

12 years agothe number of COMPUTE rpn nodes is architecture dependent. calculate the right number...
oetiker [Wed, 23 Nov 2011 16:54:17 +0000 (16:54 +0000)]
the number of COMPUTE rpn nodes is architecture dependent. calculate the right number and complain otherwise. Fix for #300.

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

12 years agomake rrd_mkdir_p work on bsd* unixes too ... their dirname call works differently...
oetiker [Wed, 23 Nov 2011 08:53:49 +0000 (08:53 +0000)]
make rrd_mkdir_p work on bsd* unixes too ... their dirname call works differently ... #305

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

12 years agoweeding
oetiker [Tue, 22 Nov 2011 16:14:23 +0000 (16:14 +0000)]
weeding

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

12 years agoadded stormons
oetiker [Tue, 22 Nov 2011 16:01:06 +0000 (16:01 +0000)]
added stormons

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

12 years agoallow to restore xml files with zero row rras ... this is a degenerated case
oetiker [Tue, 22 Nov 2011 15:40:22 +0000 (15:40 +0000)]
allow to restore xml files with zero row rras ... this is a degenerated case
that does not occure 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. Fix for #310.

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

12 years agothe first TREND* value can be calculated earlier ... -- fredrick (fix for #312)
oetiker [Tue, 22 Nov 2011 12:59:57 +0000 (12:59 +0000)]
the first TREND* value can be calculated earlier ... -- fredrick (fix for #312)

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

12 years agoactually link with LIBINTL if we got it ... should make solaris happy
oetiker [Tue, 22 Nov 2011 12:46:15 +0000 (12:46 +0000)]
actually link with LIBINTL if we got it ... should make solaris happy

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

12 years agodbi_result_get_datetime_idx() return timestamp in UTC, but time axis on graph suppose...
oetiker [Wed, 16 Nov 2011 16:49:10 +0000 (16:49 +0000)]
dbi_result_get_datetime_idx() return timestamp in UTC, but time axis on graph supposed to be in local time.
fix provided in #321
 --This line, and those below, will be ignored--

M    trunk/program/src/rrd_fetch_libdbi.c
M    branches/1.4/program/src/rrd_fetch_libdbi.c

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

12 years agoallow rrdtool for windows to properly support binary mode stdout/stdin -- Larry Adams
oetiker [Mon, 14 Nov 2011 21:30:31 +0000 (21:30 +0000)]
allow rrdtool for windows to properly support binary mode stdout/stdin -- Larry Adams

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

12 years agofix ruby binding for rrd_xport #318
oetiker [Thu, 20 Oct 2011 06:48:39 +0000 (06:48 +0000)]
fix ruby binding for rrd_xport #318

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

12 years agofree step_list on error. fix for #317
oetiker [Tue, 18 Oct 2011 14:22:04 +0000 (14:22 +0000)]
free step_list on error. fix for #317

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

12 years agofix buffer overflow for LONG lines in journal handling code for update requests.
oetiker [Tue, 27 Sep 2011 06:15:36 +0000 (06:15 +0000)]
fix buffer overflow for LONG lines in journal handling code for update requests.
fix for #316

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

12 years agofix link
oetiker [Mon, 26 Sep 2011 13:58:42 +0000 (13:58 +0000)]
fix link

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

12 years agosync up
oetiker [Sat, 24 Sep 2011 15:20:32 +0000 (15:20 +0000)]
sync up

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

12 years agohandling of ENV_RRDCACHED_ADDRESS:
oetiker [Fri, 16 Sep 2011 13:04:31 +0000 (13:04 +0000)]
handling of ENV_RRDCACHED_ADDRESS:
added missing brackets after if, backported fix from trunk to 1.4 while doing it
-- patch by x @ zamyteam.org

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

12 years agofix image names
oetiker [Thu, 15 Sep 2011 04:40:57 +0000 (04:40 +0000)]
fix image names

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

12 years agofix alignment of centered items ... title and footer
oetiker [Sun, 14 Aug 2011 09:41:30 +0000 (09:41 +0000)]
fix alignment of centered items ... title and footer

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

12 years agojava rrd
oetiker [Wed, 6 Jul 2011 22:04:16 +0000 (22:04 +0000)]
java rrd

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

12 years agoproper fix for the header size problem and its effects on rrd_resize
oetiker [Wed, 29 Jun 2011 15:18:22 +0000 (15:18 +0000)]
proper fix for the header size problem and its effects on rrd_resize

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

12 years agofox for #302. refuse to build if troff and nroff are not around
oetiker [Thu, 23 Jun 2011 06:31:08 +0000 (06:31 +0000)]
fox for #302. refuse to build if troff and nroff are not around

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

12 years agofix for #301: plug memory leak in lua bindings -- bmayland @ leoninedev.com
oetiker [Thu, 23 Jun 2011 05:48:37 +0000 (05:48 +0000)]
fix for #301: plug memory leak in lua bindings -- bmayland @ leoninedev.com

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

12 years agoFix for #304: checking for time_t is done with AC_RUN_IFELSE which fails when cross...
oetiker [Thu, 23 Jun 2011 05:45:36 +0000 (05:45 +0000)]
Fix for #304: checking for time_t is done with AC_RUN_IFELSE which fails when cross-compiling. The size of time_t can be detected with AC_CHECK_SIZEOF. -- Michael Olbrich

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

13 years agosync with reality
oetiker [Fri, 6 May 2011 06:17:03 +0000 (06:17 +0000)]
sync with reality

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

13 years agofixed release tagging
oetiker [Fri, 6 May 2011 06:11:10 +0000 (06:11 +0000)]
fixed release tagging

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

13 years agofix rrd_create behaviour when mmaping on a full filesystem by actually 'filling'...
oetiker [Thu, 21 Apr 2011 06:12:50 +0000 (06:12 +0000)]
fix rrd_create behaviour when mmaping on a full filesystem by actually 'filling' the file with
zero. -- Francois-Xavier Bourlet francois-xavier.bourlet dotcloud.com

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

13 years agowith libwrap use 'rrdcached' as the name of our daemon and not just rrdcache
oetiker [Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000)]
with libwrap use 'rrdcached' as the name of our daemon and not just rrdcache

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

13 years agobring spaceing around graph back in line with 1.2 goodness ... in connection with...
oetiker [Mon, 14 Mar 2011 08:22:46 +0000 (08:22 +0000)]
bring spaceing around graph back in line with 1.2 goodness ... in connection with no-legend and no title

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

13 years agosync with reality
oetiker [Thu, 10 Mar 2011 06:40:34 +0000 (06:40 +0000)]
sync with reality

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

13 years agodo not mistake "sqlxxabc.rrd" for a libdbi specification -- Peter Stamfest
oetiker [Thu, 3 Mar 2011 07:04:19 +0000 (07:04 +0000)]
do not mistake "sqlxxabc.rrd" for a libdbi specification -- Peter Stamfest

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

13 years agozenoss is back
oetiker [Wed, 26 Jan 2011 13:06:00 +0000 (13:06 +0000)]
zenoss is back

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

13 years agoas rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to...
oetiker [Wed, 26 Jan 2011 08:38:47 +0000 (08:38 +0000)]
as rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to fail

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

13 years agoupdate timestamp continuity checks in rrd_cached ... allow sub-second precision
oetiker [Tue, 18 Jan 2011 14:18:09 +0000 (14:18 +0000)]
update timestamp continuity checks in rrd_cached ... allow sub-second precision

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

13 years agoAdded configure option to disable building rrd_graph: --disable-rrd_graph. With suppo...
oetiker [Tue, 18 Jan 2011 08:49:24 +0000 (08:49 +0000)]
Added configure option to disable building rrd_graph: --disable-rrd_graph. With support from Ulf Zimmermann (OpenLane)

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

13 years agofacebook integration
oetiker [Tue, 18 Jan 2011 08:46:22 +0000 (08:46 +0000)]
facebook integration

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

13 years agoadded explanation on the rows returned from fetch. fix for #291.
oetiker [Sat, 15 Jan 2011 13:01:13 +0000 (13:01 +0000)]
added explanation on the rows returned from fetch. fix for #291.

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

13 years agomake sure we do not free stuff in rrdnew which was simply copied from rrdold and...
oetiker [Sat, 15 Jan 2011 12:53:43 +0000 (12:53 +0000)]
make sure we do not free stuff in rrdnew which was simply copied from rrdold and thus gets freed there already ...

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

13 years agoadded hitmeister
oetiker [Sat, 15 Jan 2011 12:23:57 +0000 (12:23 +0000)]
added hitmeister

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

13 years agofix wording regarding min/max setting
oetiker [Thu, 6 Jan 2011 15:39:55 +0000 (15:39 +0000)]
fix wording regarding min/max setting

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

13 years agodo not close the filehandle to the resize file of there was a problem getting it...
oetiker [Thu, 6 Jan 2011 15:00:34 +0000 (15:00 +0000)]
do not close the filehandle to the resize file of there was a problem getting it in the first place.

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

13 years agosync sponsorships with reality
oetiker [Sun, 2 Jan 2011 14:42:48 +0000 (14:42 +0000)]
sync sponsorships with reality

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

13 years agoadded nagios
oetiker [Sun, 26 Dec 2010 21:48:39 +0000 (21:48 +0000)]
added nagios

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

13 years agoupdated changes
oetiker [Sun, 26 Dec 2010 19:50:34 +0000 (19:50 +0000)]
updated changes

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

13 years agoprepare for the release of rrdtool-1.4.5
oetiker [Sun, 26 Dec 2010 19:24:48 +0000 (19:24 +0000)]
prepare for the release of rrdtool-1.4.5

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

13 years agoit there is no right label, do not reserve any space for it
oetiker [Sun, 26 Dec 2010 19:19:13 +0000 (19:19 +0000)]
it there is no right label, do not reserve any space for it

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

13 years agomake configure recognize tcl-site argument (#281)
oetiker [Sun, 26 Dec 2010 17:25:09 +0000 (17:25 +0000)]
make configure recognize tcl-site argument (#281)

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

13 years agoadd some extra checks to RRA arguments
oetiker [Sun, 26 Dec 2010 17:13:08 +0000 (17:13 +0000)]
add some extra checks to RRA arguments

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

13 years agomake MAP_PRIVATE conditional on AIX not being defined ... should fix part of #216
oetiker [Sun, 26 Dec 2010 16:04:03 +0000 (16:04 +0000)]
make MAP_PRIVATE conditional on AIX not being defined ... should fix part of #216

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

13 years ago Sigma calculation had an error. The first data value in each bin didn't get squared...
oetiker [Tue, 21 Dec 2010 16:38:22 +0000 (16:38 +0000)]
 Sigma calculation had an error. The first data value in each bin didn't get squared. -- Hans Jørgen Jakobsen

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

13 years agorrdcached: Fix permissions of the default socket.
oetiker [Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)]
rrdcached: Fix permissions of the default socket.

If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).

This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster

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

13 years agoadd extra space to LDFLAGS when building ruby bindings ... otherwhise this will break...
oetiker [Mon, 20 Dec 2010 07:03:40 +0000 (07:03 +0000)]
add extra space to LDFLAGS when building ruby bindings ... otherwhise this will break if there is already content in LDFLAGS ... fix for #284 thanks dam at opencsw.

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

13 years agoaix does not know about -Wl
oetiker [Fri, 17 Dec 2010 16:10:20 +0000 (16:10 +0000)]
aix does not know about -Wl

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

13 years agoadded not on using LINE AREA or PRINT
oetiker [Tue, 7 Dec 2010 17:58:56 +0000 (17:58 +0000)]
added not on using LINE AREA or PRINT

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

13 years agointroduce "epoch" as a new base time reference, meaning timestamp 0.
oetiker [Thu, 11 Nov 2010 16:12:17 +0000 (16:12 +0000)]
introduce "epoch" as a new base time reference, meaning timestamp 0.
This disambiguates between some "at-style" time specs:

11111111 yields an error message:

did you really mean month 1111111?

and

19711205 denotes Dec 12, 1971 and not the timestamp.

The patch allows to write:

epoch+11111111s or epoch+19711205s

-- Peter Stamfest

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

13 years agoHere is a patch that fixes a serious endless loop problem on 32 bit
oetiker [Thu, 11 Nov 2010 16:06:55 +0000 (16:06 +0000)]
Here is a patch that fixes a serious endless loop problem on 32 bit
architectures near the timestamp 2^31 (oh yes - y2k038 is showing its ugly
face) when using the graph command(s). Once the endtime of a graph is
above the mentioned timestamp, mktime always returns -1 (and correctly
so), causing some loops to loop forever. The patch fixes this, causing
some strange output, but there is no other sane way to handle this (expect
by switching to a 64 bit platform). -- Peter Stamfest

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

13 years ago add hosts_access support to rrdcached -- Shaun Reitan mailinglists@unix-scripts.com
oetiker [Tue, 9 Nov 2010 16:37:18 +0000 (16:37 +0000)]
 add hosts_access support to rrdcached -- Shaun Reitan mailinglists@unix-scripts.com

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

13 years agocached is using tcp not udp ...
oetiker [Tue, 9 Nov 2010 16:16:58 +0000 (16:16 +0000)]
cached is using tcp not udp ...

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

13 years agomake sure we do not try to draw points all that far outside the drawing area
oetiker [Tue, 9 Nov 2010 16:15:06 +0000 (16:15 +0000)]
make sure we do not try to draw points all that far outside the drawing area
since some versions of cairo seem to go unstable when this happens. -- Peter Stamfest

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

13 years agoupdate gold sponsorship
oetiker [Mon, 1 Nov 2010 19:42:35 +0000 (19:42 +0000)]
update gold sponsorship

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

13 years agofollow the normal code path for exiting rrd_update if there is a problem with rrdc...
oetiker [Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000)]
follow the normal code path for exiting rrd_update if there is a problem with rrdc, plugging a memory leak on the way --  Christian Magnusson

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

13 years agofree addrinfo list after use ... -- Christian Magnusson
oetiker [Mon, 25 Oct 2010 05:40:26 +0000 (05:40 +0000)]
free addrinfo list after use ... -- Christian Magnusson

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

13 years agoEnsure that response_read() always calls fflush() or fclose().
oetiker [Sat, 9 Oct 2010 09:50:44 +0000 (09:50 +0000)]
Ensure that response_read() always calls fflush() or fclose().
This fixes defect #278 (unknown commands from Solaris client). -- kevin brintnall

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

13 years agofix ruby bindings to be compatible with curent ruby implementations fix for #279
oetiker [Tue, 28 Sep 2010 15:44:19 +0000 (15:44 +0000)]
fix ruby bindings to be compatible with curent ruby implementations fix for #279

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

13 years agofix use of %s in strftime rrdgraph (G)PRINT commands ... bug (#277) found by Denis...
oetiker [Fri, 10 Sep 2010 09:16:49 +0000 (09:16 +0000)]
fix use of %s in strftime rrdgraph (G)PRINT commands ... bug (#277) found by Denis, fix by tobi

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

13 years agoit seems that strcasecmp and strcasencmp have issues on windows replace
oetiker [Wed, 8 Sep 2010 16:41:23 +0000 (16:41 +0000)]
it seems that strcasecmp and strcasencmp have issues on windows replace
with stricmp and strnicmp --  jkane mail.com

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

13 years agofix use of setlocale all over the place ...
oetiker [Wed, 8 Sep 2010 12:15:13 +0000 (12:15 +0000)]
fix use of setlocale all over the place ...

-    old_locale = setlocale(LC_NUMERIC, "C");
+    old_locale = setlocale(LC_NUMERIC, NULL);
+    setlocale(LC_NUMERIC, "C");

the original version never restored the locale since it held a copy of the
new locale and not the old one despite the name. bug found by  Pawe? 'Reef' Polewicz

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

13 years agoremove observernms as it is now called observium
oetiker [Tue, 31 Aug 2010 09:12:20 +0000 (09:12 +0000)]
remove observernms as it is now called observium

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

13 years agomore world and gallery entries
oetiker [Tue, 31 Aug 2010 09:09:47 +0000 (09:09 +0000)]
more world and gallery entries

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

13 years agofix MSVC2008 compilation ... it does not understand char *const *argv iin rrd_getopt
oetiker [Tue, 31 Aug 2010 07:31:43 +0000 (07:31 +0000)]
fix MSVC2008 compilation ... it does not understand char     *const *argv iin rrd_getopt
-- jkane mail.com

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