]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/log
thirdparty/rrdtool-1.x.git
11 years agorrdcached-lsb: update to support unprivileged group/user configuration 501/head
Peter A. Bigot [Sun, 1 Jun 2014 00:42:41 +0000 (19:42 -0500)] 
rrdcached-lsb: update to support unprivileged group/user configuration

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: add options to drop privileges after daemonize
Peter A. Bigot [Sun, 1 Jun 2014 00:03:55 +0000 (19:03 -0500)] 
rrdcached: add options to drop privileges after daemonize

Some init systems have an interface to run daemons as unprivileged
accounts, but they conflict with rrdcached's expectations of creating
pid files and sockets in privileged areas when following Filesystem
Hierarchy Standard namings.  Add options that are used to drop to
unprivileged group and accounts after all activities that require
privilege have been completed.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdtool: fix mis-use of getuid
Peter A. Bigot [Sat, 31 May 2014 22:44:05 +0000 (17:44 -0500)] 
rrdtool: fix mis-use of getuid

Checking whether the application is running with root privileges requires
use of geteuid(), not getuid().

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: arrange option flags in order
Peter A. Bigot [Sat, 31 May 2014 21:27:16 +0000 (16:27 -0500)] 
rrdcached: arrange option flags in order

To make it easier to determine which argument flags are available, the
getopt optstring is sorted into ASCII order.  Checking this against the
documentation indicated several supported flags were not present in the
synopsis.  Also make all flags bold for consistency.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #500 from pabigot/fix-init-socket
Tobias Oetiker [Sat, 31 May 2014 22:11:34 +0000 (00:11 +0200)] 
Merge pull request #500 from pabigot/fix-init-socket

rrdcached-init-lsb: fix placement of socket options

11 years agorrdcached-init-lsb: fix placement of socket options 500/head
Peter A. Bigot [Sat, 31 May 2014 01:32:43 +0000 (20:32 -0500)] 
rrdcached-init-lsb: fix placement of socket options

Move the group and mode parameters early so they affect the interface
parameter.

11 years agoMerge pull request #499 from pabigot/fix-32bit
Tobias Oetiker [Sun, 25 May 2014 06:21:32 +0000 (08:21 +0200)] 
Merge pull request #499 from pabigot/fix-32bit

rrdcached: fix issue building on 32-bit hosts

11 years agorrdcached: fix issue building on 32-bit hosts 499/head
Peter A. Bigot [Sun, 25 May 2014 03:50:12 +0000 (22:50 -0500)] 
rrdcached: fix issue building on 32-bit hosts

Conditionally compiled code referenced local variables that no longer
exist; use the new references.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #488 from phpmoli/patch-11
Tobias Oetiker [Fri, 23 May 2014 13:45:23 +0000 (15:45 +0200)] 
Merge pull request #488 from phpmoli/patch-11

mods of #477 fix syntaxes, clarifications for rrdcached

11 years agoMerge pull request #486 from phpmoli/patch-9
Tobias Oetiker [Fri, 23 May 2014 13:44:05 +0000 (15:44 +0200)] 
Merge pull request #486 from phpmoli/patch-9

mods of #477 fixes in syntax definitions

11 years agoMerge pull request #493 from phpmoli/patch-13
Tobias Oetiker [Fri, 23 May 2014 13:43:12 +0000 (15:43 +0200)] 
Merge pull request #493 from phpmoli/patch-13

mods of #477 fix typo

11 years agomods of #477 fix typo 493/head
moli [Fri, 23 May 2014 03:38:36 +0000 (05:38 +0200)] 
mods of #477 fix typo

11 years agomods of #477 update-timestamps syntax 488/head
moli [Tue, 20 May 2014 20:01:17 +0000 (22:01 +0200)] 
mods of #477 update-timestamps syntax

copromise? it still doesnt show they are 1) not all 3 needed 2) could be written in any order

11 years agomods of #477 font is optional 486/head
moli [Tue, 20 May 2014 19:55:01 +0000 (21:55 +0200)] 
mods of #477 font is optional

but only with the :

11 years agomods of #477 added link to examples section
moli [Tue, 20 May 2014 19:39:15 +0000 (21:39 +0200)] 
mods of #477 added link to examples section

as advised

11 years agoMerge pull request #489 from pabigot/enh-rrdcached
Tobias Oetiker [Tue, 20 May 2014 19:28:54 +0000 (21:28 +0200)] 
Merge pull request #489 from pabigot/enh-rrdcached

rrdcached enhancements

11 years agoMerge pull request #492 from pabigot/fixup-rrdtool-doc
Tobias Oetiker [Tue, 20 May 2014 16:09:17 +0000 (18:09 +0200)] 
Merge pull request #492 from pabigot/fixup-rrdtool-doc

rrdtool.pod: revert to local link

11 years agorrdcached: support new option to listen on all addresses at default port 489/head
Peter A. Bigot [Tue, 20 May 2014 15:59:07 +0000 (10:59 -0500)] 
rrdcached: support new option to listen on all addresses at default port

This functionality can be achieved with "-l ''" (specifying an empty
string for host:port) but empty strings may be dropped during option
processing in scripts.  A separate option to support this capability is
much more clear.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agomisc doc: fix erronous use of section qualifier in intra-package links 492/head
Peter A. Bigot [Tue, 20 May 2014 15:31:12 +0000 (10:31 -0500)] 
misc doc: fix erronous use of section qualifier in intra-package links

rrdxport and rrdcached do belong in section 1 of the Unix manpages, but
they are documented within the RRDTool hierarchy and use of the
qualifier prevents them from being found.  Note also the need to
override the substitute text or modify the context so that the generated
HTML content reads correctly.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrd_daemon: move include of arpa/inet.h to avoid use on Windows
Peter A. Bigot [Tue, 20 May 2014 15:08:15 +0000 (10:08 -0500)] 
rrd_daemon: move include of arpa/inet.h to avoid use on Windows

arpa/inet.h may not be available on Windows systems; since I can't test
that, avoid trying to include it there.  Since the code that depends on
it is conditional on a define that would be provided by it, there should
be no impact from its absence except that somebody who uses Windows
would have to rework the fix for ipv4-over-ipv6 for that platform.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: support wildcard listen specifications
Peter A. Bigot [Mon, 19 May 2014 19:47:44 +0000 (14:47 -0500)] 
rrdcached: support wildcard listen specifications

The documentation suggested that the syntax "-l :42217" would cause the
daemon to listen on all available interfaces.  The implementation didn't
follow through, until now.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agorrdcached: support duration specifiers in command-line arguments
Peter A. Bigot [Mon, 19 May 2014 18:10:30 +0000 (13:10 -0500)] 
rrdcached: support duration specifiers in command-line arguments

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agolibrrd.sym: add rrd_scaled_duration
Peter A. Bigot [Mon, 19 May 2014 18:09:21 +0000 (13:09 -0500)] 
librrd.sym: add rrd_scaled_duration

This librrd function was found when linking executables where main() was
in a libtool convenience library, but not when linking rrdcached.  The
solution is to add it into the secret file that specifies which files
are part of the public API.

11 years agorrdtool.pod: revert to local link
Peter A. Bigot [Tue, 20 May 2014 15:01:32 +0000 (10:01 -0500)] 
rrdtool.pod: revert to local link

Per discussion at #483 the reference to rrdtool is unnecessary.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #490 from pabigot/enh-init-scripts
Tobias Oetiker [Tue, 20 May 2014 06:57:30 +0000 (08:57 +0200)] 
Merge pull request #490 from pabigot/enh-init-scripts

refine init scripts

11 years agoMerge pull request #487 from phpmoli/patch-10
Tobias Oetiker [Tue, 20 May 2014 06:41:32 +0000 (08:41 +0200)] 
Merge pull request #487 from phpmoli/patch-10

mods of #477 fix in command syntax

11 years agoMerge pull request #484 from phpmoli/patch-7
Tobias Oetiker [Tue, 20 May 2014 06:38:29 +0000 (08:38 +0200)] 
Merge pull request #484 from phpmoli/patch-7

mods of #477 fixed POD formatting problems

11 years agoetc: add example LSB-based init scripts 490/head
Peter A. Bigot [Mon, 19 May 2014 20:29:52 +0000 (15:29 -0500)] 
etc: add example LSB-based init scripts

These scripts support automated startup on Debian (Ubuntu) and other
distributions that follow the Linux Standards Base.

http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoetc: rename sysv init scripts to denote RedHat environment dependency
Peter A. Bigot [Sat, 17 May 2014 21:21:34 +0000 (16:21 -0500)] 
etc: rename sysv init scripts to denote RedHat environment dependency

These example scripts will only work on RedHat-based distributions that
support chkconfig and /etc/init.d/functions.  They are not compatible
with current Linux Standard Base init scripts.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agomods of #477 added clarifications
moli [Mon, 19 May 2014 18:58:38 +0000 (20:58 +0200)] 
mods of #477 added clarifications

added text explaining templates cannot be used with rrdcached
rewrote timestamp syntax, maybe now it went to the other extreme..
removed deprecated --cache parameter from the example section
fixed --daemon behaviour description, please check if it is true

11 years agomods of #477 fix in command syntax 487/head
moli [Mon, 19 May 2014 18:37:20 +0000 (20:37 +0200)] 
mods of #477 fix in command syntax

marked a parameter optional

11 years agomods of #477 fixes in syntax definitions
moli [Mon, 19 May 2014 18:23:55 +0000 (20:23 +0200)] 
mods of #477 fixes in syntax definitions

removed some brackets
added RRD_DEFAULT_FONT to the envvar section

11 years agoMerge pull request #485 from phpmoli/patch-8
Tobias Oetiker [Mon, 19 May 2014 12:18:08 +0000 (14:18 +0200)] 
Merge pull request #485 from phpmoli/patch-8

mods of #477 clarifying boolean operators

11 years agomods of #477 clarifying boolean operators 485/head
moli [Mon, 19 May 2014 09:29:38 +0000 (11:29 +0200)] 
mods of #477 clarifying boolean operators

what does GE, LT mean? - asked the newbie. Now he knows.

11 years agomods of #477 fixed POD formatting problems 484/head
moli [Mon, 19 May 2014 08:53:13 +0000 (10:53 +0200)] 
mods of #477 fixed POD formatting problems

in a code syntax and a command line example

11 years agoMerge pull request #483 from phpmoli/patch-6
Tobias Oetiker [Mon, 19 May 2014 08:46:57 +0000 (10:46 +0200)] 
Merge pull request #483 from phpmoli/patch-6

mods of #477 fixing help example and trying to fix anchors

11 years agoMerge pull request #481 from phpmoli/patch-4
Tobias Oetiker [Mon, 19 May 2014 08:45:06 +0000 (10:45 +0200)] 
Merge pull request #481 from phpmoli/patch-4

mods of #477 cleared up DS and RRA syntax

11 years agoMerge pull request #480 from phpmoli/patch-3
Tobias Oetiker [Mon, 19 May 2014 08:44:00 +0000 (10:44 +0200)] 
Merge pull request #480 from phpmoli/patch-3

mods of #477 fixed typos

11 years agomods of #477 fixing help example and trying to fix anchors 483/head
moli [Mon, 19 May 2014 08:39:37 +0000 (10:39 +0200)] 
mods of #477 fixing help example and trying to fix anchors

rrdtool help example was clarified
and i'm trying to fix the html anchor here, but dont know how could i check if it's working or not. Googled and read http://perldoc.perl.org/perlpodspec.html still dont have a clue what does it say.

11 years agoMerge pull request #479 from phpmoli/patch-1
Tobias Oetiker [Mon, 19 May 2014 08:39:37 +0000 (10:39 +0200)] 
Merge pull request #479 from phpmoli/patch-1

mods of #477: text changes in the syntax definition

11 years agoMerge pull request #482 from phpmoli/patch-5
Tobias Oetiker [Mon, 19 May 2014 08:29:09 +0000 (10:29 +0200)] 
Merge pull request #482 from phpmoli/patch-5

mods of #477 added missing parameter

11 years agomods of #477 added missing parameter 482/head
moli [Mon, 19 May 2014 08:20:19 +0000 (10:20 +0200)] 
mods of #477 added missing parameter

..to synopsis

11 years agomods of #477 cleared up DS and RRA syntax 481/head
moli [Mon, 19 May 2014 08:12:01 +0000 (10:12 +0200)] 
mods of #477 cleared up DS and RRA syntax

added some brackets as it wasnt clear for me as a newbie

11 years agofixed typos 480/head
moli [Mon, 19 May 2014 08:06:08 +0000 (10:06 +0200)] 
fixed typos

added a space :)
and changed the variable "database" to "dbname" to conform with the examples around that

11 years agoMerge pull request #478 from phpmoli/patch-2
Tobias Oetiker [Mon, 19 May 2014 07:42:38 +0000 (09:42 +0200)] 
Merge pull request #478 from phpmoli/patch-2

mods of #477: mods in syntax of commands added two small texts

11 years agomods in syntax of commands added two small texts 478/head
moli [Mon, 19 May 2014 07:16:44 +0000 (09:16 +0200)] 
mods in syntax of commands added two small texts

modifications in the syntax of LINE, HRULE and VRULE commands some places
added HRULE hidden legend default behaviour
added an example for %lf

11 years agotext changes in the syntax definition 479/head
moli [Mon, 19 May 2014 06:53:36 +0000 (08:53 +0200)] 
text changes in the syntax definition

in the line of XPORT statement fixed a typo and the legend was marked optional

11 years agoMerge pull request #475 from pabigot/fix-dist
Tobias Oetiker [Mon, 19 May 2014 04:17:51 +0000 (06:17 +0200)] 
Merge pull request #475 from pabigot/fix-dist

Fix autotools dist support

11 years agomake distcheck: complete updates required for support 475/head
Peter A. Bigot [Sat, 17 May 2014 20:57:27 +0000 (15:57 -0500)] 
make distcheck: complete updates required for support

Rework the tests so they can run in a situation where the source tests
directory is read-only.  Also fix a couple minor issues with make
distclean and make distuninstallcheck.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agogitigore: add doc files created only by make dist
Peter A. Bigot [Sat, 17 May 2014 20:06:43 +0000 (15:06 -0500)] 
gitigore: add doc files created only by make dist

11 years agoautomake: full support for make check
Peter A. Bigot [Sat, 17 May 2014 20:05:53 +0000 (15:05 -0500)] 
automake: full support for make check

Presence of the TESTS variable adds check as a target, but for this to
work completely all the test infrastructure needs to be part of the
distribution package, which is easiest if there's a Makefile.am in that
directory.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoautomake: rework for separated builds
Peter A. Bigot [Sat, 17 May 2014 19:25:18 +0000 (14:25 -0500)] 
automake: rework for separated builds

Standard practice (including the assumptions of make distcheck) is that
the system can be built in an out-of-tree directory referencing sources
in a read-only filesystem.  The language-specific bindings build
infrastructure, particularly for perl, makes that difficult but
achievable.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agogitignore: add for lua and ruby bindings
Peter A. Bigot [Sat, 17 May 2014 19:21:40 +0000 (14:21 -0500)] 
gitignore: add for lua and ruby bindings

11 years agoautoconf: rework config file locations
Peter A. Bigot [Sat, 17 May 2014 12:42:26 +0000 (07:42 -0500)] 
autoconf: rework config file locations

If we assume somebody puts the src directory in the include file path to
CC, we don't need relative symlinks to rrd_config.h which will make
separated builds much easier to support.  Then we don't need to have the
config files in the root directory and symlinks back and forth between
there and src.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoautomake: update dist checks for recent changes
Peter A. Bigot [Sat, 17 May 2014 12:10:50 +0000 (07:10 -0500)] 
automake: update dist checks for recent changes

Various files have been added and removed causing the dist and distcheck
Make targets to fail.  This commit fixes dist; distcheck is improved but
is not complete because the bindings Makefile.am assumes the build is
performed in the source tree.  (Standard autotool practice now is to
require support for separated builds.)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #474 from pabigot/enh-fetch-duration
Tobias Oetiker [Sat, 17 May 2014 06:02:21 +0000 (08:02 +0200)] 
Merge pull request #474 from pabigot/enh-fetch-duration

Use new duration interface in rrdfetch

11 years agoMerge pull request #470 from pabigot/add-test-for-rrdcreate
Tobias Oetiker [Sat, 17 May 2014 06:00:27 +0000 (08:00 +0200)] 
Merge pull request #470 from pabigot/add-test-for-rrdcreate

tests: add test for new rrdcreate feature

11 years agoMerge pull request #473 from pabigot/cleanup-distclean
Tobias Oetiker [Sat, 17 May 2014 05:59:05 +0000 (07:59 +0200)] 
Merge pull request #473 from pabigot/cleanup-distclean

cleanup: fix make distclean in doc

11 years agolibrrd.pod: fix syntax errors 474/head
Peter A. Bigot [Fri, 16 May 2014 17:24:56 +0000 (12:24 -0500)] 
librrd.pod: fix syntax errors

11 years agorrd_fetch: improve resolution-related parameters
Peter A. Bigot [Fri, 16 May 2014 17:06:52 +0000 (12:06 -0500)] 
rrd_fetch: improve resolution-related parameters

The interface now accepts scaled durations (e.g., 5m) for the
resolution.

A new option automatically performs the start time alignment discussed
in the documentation.

11 years agorrd_scaled_duration: refactor as utility function
Peter A. Bigot [Fri, 16 May 2014 15:52:49 +0000 (10:52 -0500)] 
rrd_scaled_duration: refactor as utility function

Move the infrastructure supporting expression of counts and durations by
suffixed integers into librrd where it can be used by other programs.
Clean up the documentation to remove redundancies.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agotests: add another rrdcreate scaled test 470/head
Peter A. Bigot [Fri, 16 May 2014 16:11:42 +0000 (11:11 -0500)] 
tests: add another rrdcreate scaled test

11 years agotests: add missed rrd_scaled_duration diagnostic
Peter A. Bigot [Fri, 16 May 2014 15:54:52 +0000 (10:54 -0500)] 
tests: add missed rrd_scaled_duration diagnostic

11 years agotests: add test for new rrdcreate feature
Peter A. Bigot [Fri, 16 May 2014 11:57:34 +0000 (06:57 -0500)] 
tests: add test for new rrdcreate feature

11 years agoMerge pull request #472 from pabigot/cleanup-nowarnings
Tobias Oetiker [Fri, 16 May 2014 14:47:18 +0000 (16:47 +0200)] 
Merge pull request #472 from pabigot/cleanup-nowarnings

Cleanup nowarnings

11 years agocleanup: fix make distclean in doc 473/head
Peter A. Bigot [Fri, 16 May 2014 14:42:49 +0000 (09:42 -0500)] 
cleanup: fix make distclean in doc

RRD*.pod were in the repository, but were always generated and were
removed by "make distclean", resulting in an unexpected response from
"git status".  Resolve this by removing them from the repository.

Also eliminate the wildcards from CLEANFILES, instead explicitly listing
all derived files.

Also add a couple files to EXTRADIST (PDF documentation and the RRD*.pod
files).

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agoMerge pull request #471 from pabigot/cleanup-gitignore
Tobias Oetiker [Fri, 16 May 2014 14:30:48 +0000 (16:30 +0200)] 
Merge pull request #471 from pabigot/cleanup-gitignore

Cleanup gitignore

11 years agocleanup: fix link target 472/head
Peter A. Bigot [Fri, 16 May 2014 14:18:48 +0000 (09:18 -0500)] 
cleanup: fix link target

11 years agocleanup: remove compiler warnings
Peter A. Bigot [Fri, 16 May 2014 14:16:19 +0000 (09:16 -0500)] 
cleanup: remove compiler warnings

Eliminate the cause of several diagnostics emitted by gcc 4.6.3 and
4.9.0:

- index, time, tmpfile, optind, and remove are all globally-visible
  symbols that were shadowed by local declarations
- time_t may be a signed type, resulting in a signed/unsigned comparison
  warning from an operation in rrd_xport
- bypass declarations of variables not referenced due to DISABLE_FLOCK

11 years agogitignore: ignore files generated by running make 471/head
Peter A. Bigot [Fri, 16 May 2014 13:43:07 +0000 (08:43 -0500)] 
gitignore: ignore files generated by running make

11 years agogitignore: ignore files generated by running configure
Peter A. Bigot [Fri, 16 May 2014 13:29:57 +0000 (08:29 -0500)] 
gitignore: ignore files generated by running configure

These can be removed with: git clean -fdx

Doing so will also remove the autotools support files generated by
bootstrap.

11 years agoMerge pull request #468 from pabigot/enh-create-with-dur
Tobias Oetiker [Fri, 16 May 2014 11:27:58 +0000 (13:27 +0200)] 
Merge pull request #468 from pabigot/enh-create-with-dur

rrdcreate: support scale suffix for heartbeat/steps/rows

11 years agorrdcreate: improve scale support 468/head
Peter A. Bigot [Fri, 16 May 2014 11:09:48 +0000 (06:09 -0500)] 
rrdcreate: improve scale support

- Fix missed diagnostic for negative values accepted by strtoul.
- Add detailed diagnostics for parsing failures.
- Add diagnostic when duration-based RRA steps (rows) are not multiples of
  PDP interval (RRA span).
- Fix row count when PDP interval not one second.
- Extend documentation to special-function RRA example.

11 years agorrdcreate: support scale suffix for heartbeat/steps/rows
Peter A. Bigot [Thu, 15 May 2014 21:27:41 +0000 (16:27 -0500)] 
rrdcreate: support scale suffix for heartbeat/steps/rows

This feature allows this opaque create specification:

  rrdtool create power1.rrd \
    --start 0 --step 1 \
    DS:watts:GAUGE:300:0:24000 \
    RRA:AVERAGE:0.5:1:864000 \
    RRA:AVERAGE:0.5:60:129600 \
    RRA:AVERAGE:0.5:3600:13392 \
    RRA:AVERAGE:0.5:86400:3660

to be expressed with more understandable durations:

  rrdtool create power2.rrd \
    --start 0 --step 1s \
    DS:watts:GAUGE:5m:0:24000 \
    RRA:AVERAGE:0.5:1s:10d \
    RRA:AVERAGE:0.5:1m:90d \
    RRA:AVERAGE:0.5:1h:18M \
    RRA:AVERAGE:0.5:1d:10y

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
11 years agotry to make coveralls work
Tobias Oetiker [Thu, 15 May 2014 14:08:22 +0000 (16:08 +0200)] 
try to make coveralls work

11 years agoMerge pull request #467 from oetiker/flock-option
Tobias Oetiker [Wed, 14 May 2014 14:56:23 +0000 (16:56 +0200)] 
Merge pull request #467 from oetiker/flock-option

Flock option

11 years agoMerge branch 'master' into flock-option 467/head
Tobias Oetiker [Wed, 14 May 2014 14:31:24 +0000 (16:31 +0200)] 
Merge branch 'master' into flock-option

11 years agoautogen.sh is now bootstrap!
Tobias Oetiker [Wed, 14 May 2014 14:29:11 +0000 (16:29 +0200)] 
autogen.sh is now bootstrap!

11 years agomake file locking compiletime configurable
Tobias Oetiker [Wed, 14 May 2014 14:23:32 +0000 (16:23 +0200)] 
make file locking compiletime configurable

11 years agomake file locking compiletime configurable
Tobias Oetiker [Wed, 14 May 2014 14:23:28 +0000 (16:23 +0200)] 
make file locking compiletime configurable

11 years agothat file should be called bootstrap it seems
Tobias Oetiker [Wed, 14 May 2014 13:15:27 +0000 (15:15 +0200)] 
that file should be called bootstrap it seems

11 years agoMerge pull request #465 from msperl/master-predictperc
Tobias Oetiker [Wed, 7 May 2014 06:03:03 +0000 (08:03 +0200)] 
Merge pull request #465 from msperl/master-predictperc

added PREDICTPERC(entil) CDEF function

11 years agoadded interpolation for percentile 465/head
Martin Sperl [Tue, 6 May 2014 21:37:47 +0000 (21:37 +0000)] 
added interpolation for percentile

11 years agoadded PREDICTPERC function
Martin Sperl [Tue, 6 May 2014 20:12:44 +0000 (20:12 +0000)] 
added PREDICTPERC function
there is one still open question: should we interpolate to get the final value?
Say: if we have 8 values, and we want thd 95th percventile, then
we should actually take the 6.65th 0-based index value (=95/100*(8-1)).
with the current implementation we round, so we return actually the 100th percentile.
what we could also do is:
value=val[floor(idx)]+(idx-floor(idx))*(val[floor(idx)+1]-val[floor(idx)])
(besides some boundry checking for the explicit percentile 100)

this should get decided prior to final merging

11 years agoMerge pull request #464 from aelse/issue463-fix-xport-json
Tobias Oetiker [Tue, 6 May 2014 07:30:02 +0000 (09:30 +0200)] 
Merge pull request #464 from aelse/issue463-fix-xport-json

Fix #463 - account for step in xport json

11 years agoFix #463 - account for step in xport json 464/head
Alexander Else [Tue, 6 May 2014 07:22:50 +0000 (17:22 +1000)] 
Fix #463 - account for step in xport json

Final element check changed from end to end-step

11 years agoMerge pull request #460 from tokkee/build
Tobias Oetiker [Tue, 6 May 2014 06:33:37 +0000 (08:33 +0200)] 
Merge pull request #460 from tokkee/build

Fixed various compiler warnings

11 years agoMerge pull request #462 from msperl/master-cached+template
Tobias Oetiker [Mon, 5 May 2014 20:12:27 +0000 (22:12 +0200)] 
Merge pull request #462 from msperl/master-cached+template

enable --template when using --daemon

11 years agoenabled template for rrdcached updates 462/head
Martin Sperl [Mon, 5 May 2014 16:18:55 +0000 (16:18 +0000)] 
enabled template for rrdcached updates
this essentially "expands" the template to a "normal" update
based on the structure from the file itself.
This structure is cached in a GTree until the process dies - no validation is done to check if the file changed in the meantime

11 years agoadded option to strip path away when using rrdcached
Martin Sperl [Mon, 5 May 2014 16:10:31 +0000 (16:10 +0000)] 
added option to strip path away when using rrdcached

11 years agorrd_daemon: Fixed the resolved_path argument passed to realpath(). 460/head
Sebastian Harl [Sat, 26 Apr 2014 10:33:10 +0000 (12:33 +0200)] 
rrd_daemon: Fixed the resolved_path argument passed to realpath().

The function expects a character pointer, not a pointer to an array of
character pointers.

11 years agoFixed invalid type conversions.
Sebastian Harl [Sat, 26 Apr 2014 10:28:17 +0000 (12:28 +0200)] 
Fixed invalid type conversions.

11 years agoFixed various unused variable compiler warnings.
Sebastian Harl [Sat, 26 Apr 2014 10:27:44 +0000 (12:27 +0200)] 
Fixed various unused variable compiler warnings.

11 years agosrc/Makefile: Link rrdcached against ALL_LIBS directly.
Sebastian Harl [Sat, 26 Apr 2014 09:51:01 +0000 (11:51 +0200)] 
src/Makefile: Link rrdcached against ALL_LIBS directly.

rrdcached uses glib and, thus, needs to be linked against the lib directly.
While some linkers work fine since librrd_th is linked against ALL_LIBS, some
other linkers don't.

11 years agoMerge pull request #459 from tokkee/debbts606844
Tobias Oetiker [Fri, 25 Apr 2014 21:11:27 +0000 (23:11 +0200)] 
Merge pull request #459 from tokkee/debbts606844

rrdupdate(1): Removed a duplicate section.

11 years agorrdupdate(1): Removed a duplicate section. 459/head
Sebastian Harl [Fri, 25 Apr 2014 19:32:10 +0000 (21:32 +0200)] 
rrdupdate(1): Removed a duplicate section.

Presumably, this was caused by some merge.

Reported by Sandro Tosi in https://bugs.debian.org/603507

11 years agotrying to get coverage for shared library
Tobias Oetiker [Sat, 29 Mar 2014 21:01:58 +0000 (22:01 +0100)] 
trying to get coverage for shared library

11 years agocoveralls.io
Tobias Oetiker [Sat, 29 Mar 2014 20:50:56 +0000 (21:50 +0100)] 
coveralls.io

11 years agoONLY gcov should run in the src directory
Tobias Oetiker [Sat, 29 Mar 2014 06:31:43 +0000 (07:31 +0100)] 
ONLY gcov should run in the src directory

11 years agogcov must run in the source directoy
Tobias Oetiker [Sat, 29 Mar 2014 06:15:47 +0000 (07:15 +0100)] 
gcov must run in the source directoy