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@1945 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1945 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix memory handling when argument separation in pipe mode fails. fix for #230
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1944 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1944 a5681a0c-68f1-0310-ab6d-d61299d08faa
set locale to C while restoring
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1939 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1939 a5681a0c-68f1-0310-ab6d-d61299d08faa
another typo fixed by Justin T Pryzby
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1938 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1938 a5681a0c-68f1-0310-ab6d-d61299d08faa
Removed left-over occurrence of LIB_LIBINTL -- sebastian
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1937 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1937 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fixed various typos in the manpages. Debian bug #550919. -- Justin T. Pryzby
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1936 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1936 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1935 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1935 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix potential memory leak in rrd_flushcached during failure. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1934 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1934 a5681a0c-68f1-0310-ab6d-d61299d08faa
sebastian was missing from the contributors list
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1933 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1933 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1932 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1932 a5681a0c-68f1-0310-ab6d-d61299d08faa
* 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@1931 a5681a0c-68f1-0310-ab6d-d61299d08faa
* to not force the message encoding ... messages
should be encoded in the current locale
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1931 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1930 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1930 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1929 a5681a0c-68f1-0310-ab6d-d61299d08faa
* 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@1929 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1928 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1928 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agorrdflushcached: Do not free 'opt_daemon' before checking the connection. -- Sebastian...
rrdflushcached: Do not free 'opt_daemon' before checking the connection. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1927 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1927 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agorrdfetch: Print a usage summary if not enough parameters have been given. -- Sebastia...
rrdfetch: Print a usage summary if not enough parameters have been given. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1926 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1926 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Handle journal replay in socket_permission_check(). -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1925 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1925 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Create the base directory on startup. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1924 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1924 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1923 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1923 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Improved an error message. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1922 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1922 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1921 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1921 a5681a0c-68f1-0310-ab6d-d61299d08faa
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@1920 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1920 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agoMoved rrd_dump_cb_r() to section "CORE FUNCTIONS" since this is not a utility functio...
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@1918 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1918 a5681a0c-68f1-0310-ab6d-d61299d08faa
Moved the 'librrd' manpage to section 3 -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1917 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1917 a5681a0c-68f1-0310-ab6d-d61299d08faa
documentation for rrd_mkdir_p added -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1916 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1916 a5681a0c-68f1-0310-ab6d-d61299d08faa
free config_pid_file after using it for the last time ... Else, the daemon might either segfault or leave the PID file around. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1915 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1915 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agotry to create missing journal directories rather than abort with an error. -- Sebasti...
try to create missing journal directories rather than abort with an error. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1914 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1914 a5681a0c-68f1-0310-ab6d-d61299d08faa
added rrd_mkdir_p - This function may be used to recursively create some directory, similar to
"mkdir -p" on the command-line. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1913 a5681a0c-68f1-0310-ab6d-d61299d08faa
"mkdir -p" on the command-line. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1913 a5681a0c-68f1-0310-ab6d-d61299d08faa
adjusted copyright wording according to sebastians suggestions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1912 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1912 a5681a0c-68f1-0310-ab6d-d61299d08faa
adapted for 2009
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1911 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1911 a5681a0c-68f1-0310-ab6d-d61299d08faa
show element type in legend
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1907 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1907 a5681a0c-68f1-0310-ab6d-d61299d08faa
detect if stdint.h is available. if not, use inttypes. this should fix #239 and make compilation on solaris 9 work.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1906 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1906 a5681a0c-68f1-0310-ab6d-d61299d08faa
replae with pointer
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1905 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1905 a5681a0c-68f1-0310-ab6d-d61299d08faa
call fpclass only once when replacing isnan for solaris
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1904 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1904 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove misspellt keyword ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1903 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1903 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure all elements required in the definition of isinf are defined in their turn
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1902 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1902 a5681a0c-68f1-0310-ab6d-d61299d08faa
Trim trailing whitespace, reoder getopt_long per shortopt char; Fix -D while at it
-- Bernhard Reutner-Fischer
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1899 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Bernhard Reutner-Fischer
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1899 a5681a0c-68f1-0310-ab6d-d61299d08faa
The attached patch allows to
$ rrdtool graph --border=0
to disable the 3d border around the image. -- Bernhard Reutner-Fischer rep.dot.nop gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1898 a5681a0c-68f1-0310-ab6d-d61299d08faa
$ rrdtool graph --border=0
to disable the 3d border around the image. -- Bernhard Reutner-Fischer rep.dot.nop gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1898 a5681a0c-68f1-0310-ab6d-d61299d08faa
yes this should not matter, but I think it is the right thing todo ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1895 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1895 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing prototypes
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1894 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1894 a5681a0c-68f1-0310-ab6d-d61299d08faa
Added a call back interface to rrd_dump to be able to call the function from c. See librrd.pod for documentation.
-- Benny Baumann BenBE geshi.org
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1893 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Benny Baumann BenBE geshi.org
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1893 a5681a0c-68f1-0310-ab6d-d61299d08faa
From: Florian Forster <octo@leeloo.lan.home.verplant.org>
This patch introduces per-socket, per-command permissions to the RRD
caching daemon, RRDCacheD. This allows administrators to limit access to
the daemon in a fine-grained manner.
The patch removes the command line option `-L' and introduces `-P'
instead. The option must appear *before* the `-l' option and the given
permissions are set for all following sockets or another `-P' option.
For example:
rrdcached -P FLUSH,PENDING -l 10.2.3.4 -P UPDATE -l unix:/some/path
Allow `FLUSH' and `PENDING' commands to clients connected via IPv4
networking and `UPDATE' to clients connected via a UNIX domain socket
only.
There are a couple of exceptions:
- The commands `HELP' and `QUIT' are always allowed.
- If the command `BATCH' is allowed, the command `.' is automatically
allowed, too.
By default, i. e. if no `-P' option is specified, all commands will be
allowed. As a shortcut to reset the behavior to the default behavior,
you can use the slightly hackish `-P ""' syntax.
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1892 a5681a0c-68f1-0310-ab6d-d61299d08faa
This patch introduces per-socket, per-command permissions to the RRD
caching daemon, RRDCacheD. This allows administrators to limit access to
the daemon in a fine-grained manner.
The patch removes the command line option `-L' and introduces `-P'
instead. The option must appear *before* the `-l' option and the given
permissions are set for all following sockets or another `-P' option.
For example:
rrdcached -P FLUSH,PENDING -l 10.2.3.4 -P UPDATE -l unix:/some/path
Allow `FLUSH' and `PENDING' commands to clients connected via IPv4
networking and `UPDATE' to clients connected via a UNIX domain socket
only.
There are a couple of exceptions:
- The commands `HELP' and `QUIT' are always allowed.
- If the command `BATCH' is allowed, the command `.' is automatically
allowed, too.
By default, i. e. if no `-P' option is specified, all commands will be
allowed. As a shortcut to reset the behavior to the default behavior,
you can use the slightly hackish `-P ""' syntax.
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1892 a5681a0c-68f1-0310-ab6d-d61299d08faa
with my Debian Testing box I had to apply the following small changes to
the `configure.ac' file in order to make `autoconf' happy. Don't know
what the problem precisely is ? m4 and its square parenthesis is too
high for me ;) -- Florian
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1891 a5681a0c-68f1-0310-ab6d-d61299d08faa
the `configure.ac' file in order to make `autoconf' happy. Don't know
what the problem precisely is ? m4 and its square parenthesis is too
high for me ;) -- Florian
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1891 a5681a0c-68f1-0310-ab6d-d61299d08faa
there is no config directory ... so lets not search for it in autogen.sh
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1890 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1890 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix freeing order when generating error messages. found by Dmitry V. Krivenok
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1889 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1889 a5681a0c-68f1-0310-ab6d-d61299d08faa
include math.h when testing IEEE
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1887 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1887 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove extra \ in perl example
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1886 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1886 a5681a0c-68f1-0310-ab6d-d61299d08faa
The journal files are time-stamped and replayed in order. This allows
systems with 32-bit signed off_t to write more than 2GB of journal entries
per flush interval. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1885 a5681a0c-68f1-0310-ab6d-d61299d08faa
systems with 32-bit signed off_t to write more than 2GB of journal entries
per flush interval. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1885 a5681a0c-68f1-0310-ab6d-d61299d08faa
add some shell proggramming advice ... Bernhard Reutner-Fischer
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1884 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1884 a5681a0c-68f1-0310-ab6d-d61299d08faa
Remove PID file later in the cleanup process --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1883 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1883 a5681a0c-68f1-0310-ab6d-d61299d08faa
Increment the DataSetsWritten counter before freeing the RRD values. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1882 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1882 a5681a0c-68f1-0310-ab6d-d61299d08faa
The current method may have caused flushes (and journal rotations) more
often than necessary. The problem was introduced in r1600. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1881 a5681a0c-68f1-0310-ab6d-d61299d08faa
often than necessary. The problem was introduced in r1600. --kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1881 a5681a0c-68f1-0310-ab6d-d61299d08faa
Two-phase shutdown for rrdcached ensures that values are flushed.
Previously, it was possible for the queue threads to exit before the flush
thread completed queueing values. If running with -F, rrdcached may have
crashed due to assertion failure before writing all values. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
Previously, it was possible for the queue threads to exit before the flush
thread completed queueing values. If running with -F, rrdcached may have
crashed due to assertion failure before writing all values. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
include PACKAGE_VERSION as version number for python module to fix #236
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1879 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1879 a5681a0c-68f1-0310-ab6d-d61299d08faa
in rrd > 1.3 it's called rrd_info_push ... and not just info_push ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1878 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1878 a5681a0c-68f1-0310-ab6d-d61299d08faa
Show the index of each data source in the rrd_info output. Patch for #231 provided by unknown person.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1877 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1877 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_tune HW Update
Allow to set the smoothing window (alpha, beta, gamma) to zero.
I'm using rrdtool 1.3.8 with abberant behavior detection from the Brutlag
method. I need to use a week seasonality and no smoothing for the SEASONAL
and DEVSEASONAL. So I use rrdtune in order to set the smoothing window to
0.0. This calls the set_hwarg(). But this method is also used to tune the
alpha, beta and gamma that can't be set to 0.0 So when I tune my smoothing
window size to 0.0, it returns -1 due to the if(window<=0.0) then do
nothing. I join here a small correction with a differnent method used to set
only the smoothing window size and allowing it to be zero.
-- sylvain.luiset gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1875 a5681a0c-68f1-0310-ab6d-d61299d08faa
Allow to set the smoothing window (alpha, beta, gamma) to zero.
I'm using rrdtool 1.3.8 with abberant behavior detection from the Brutlag
method. I need to use a week seasonality and no smoothing for the SEASONAL
and DEVSEASONAL. So I use rrdtune in order to set the smoothing window to
0.0. This calls the set_hwarg(). But this method is also used to tune the
alpha, beta and gamma that can't be set to 0.0 So when I tune my smoothing
window size to 0.0, it returns -1 due to the if(window<=0.0) then do
nothing. I join here a small correction with a differnent method used to set
only the smoothing window size and allowing it to be zero.
-- sylvain.luiset gmail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1875 a5681a0c-68f1-0310-ab6d-d61299d08faa
update conditional silent-rules
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1874 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1874 a5681a0c-68f1-0310-ab6d-d61299d08faa
Handle race condition for "UPDATE" with new files. Problem found by Sebastian Harl. Patch by Kevin.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1872 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1872 a5681a0c-68f1-0310-ab6d-d61299d08faa
Do not trust cache tree pointers after releasing the cache lock.
It's possible that a "FORGET" was issued in the mean time. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1871 a5681a0c-68f1-0310-ab6d-d61299d08faa
It's possible that a "FORGET" was issued in the mean time. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1871 a5681a0c-68f1-0310-ab6d-d61299d08faa
destroy flush condition variable
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1870 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1870 a5681a0c-68f1-0310-ab6d-d61299d08faa
Move <libgen.h> include so we know whether we HAVE_LIBGEN_H -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1869 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1869 a5681a0c-68f1-0310-ab6d-d61299d08faa
Silence automake portability warnings caused by multiple inference rules. -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1868 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1868 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for the size of time_t and behave accordingly
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1866 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1866 a5681a0c-68f1-0310-ab6d-d61299d08faa
be more careful when converting to string to time_t ... test if time_t is long long
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1863 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1863 a5681a0c-68f1-0310-ab6d-d61299d08faa
add the real license ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1860 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1860 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix bad pdf links
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1859 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1859 a5681a0c-68f1-0310-ab6d-d61299d08faa
added compat 5.1 license copied from website
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1858 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1858 a5681a0c-68f1-0310-ab6d-d61299d08faa
make config.h a symlink to rrd_config.h so that intl/Makefile is happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1857 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1857 a5681a0c-68f1-0310-ab6d-d61299d08faa
Relax automake requirements and make 1.11 features optional -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1856 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1856 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix some missing rrd_flushcached instances -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1855 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1855 a5681a0c-68f1-0310-ab6d-d61299d08faa
switch to the rrd_flushcached interface
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1854 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1854 a5681a0c-68f1-0310-ab6d-d61299d08faa
consider fgets return value
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1853 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1853 a5681a0c-68f1-0310-ab6d-d61299d08faa
do not try to mess with autopoints files
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1852 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1852 a5681a0c-68f1-0310-ab6d-d61299d08faa
check return value from write
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1851 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1851 a5681a0c-68f1-0310-ab6d-d61299d08faa
check return values of dup and ftruncate
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1850 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1850 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix some warnings
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1849 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1849 a5681a0c-68f1-0310-ab6d-d61299d08faa
added a copy to svn since it is changed from the original
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1848 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1848 a5681a0c-68f1-0310-ab6d-d61299d08faa
changed from original version, so include it ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1847 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1847 a5681a0c-68f1-0310-ab6d-d61299d08faa
include libtool with the distro
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1846 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1846 a5681a0c-68f1-0310-ab6d-d61299d08faa
another ID tag
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1845 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1845 a5681a0c-68f1-0310-ab6d-d61299d08faa
more id tags added
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1844 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1844 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated for release
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1843 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1843 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated for release
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1842 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1842 a5681a0c-68f1-0310-ab6d-d61299d08faa
added $Id:$
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1841 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1841 a5681a0c-68f1-0310-ab6d-d61299d08faa
initial news
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1840 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1840 a5681a0c-68f1-0310-ab6d-d61299d08faa
Mention that negative time values should be separated by '--' in rrdupdate.pod -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1839 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1839 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agoMake rrdtool compile on GNU/kFreeBSD. Fix for Debian bug 494874. Patch by Petr Salinger.
Make rrdtool compile on GNU/kFreeBSD. Fix for Debian bug 494874. Patch by Petr Salinger.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1837 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1837 a5681a0c-68f1-0310-ab6d-d61299d08faa
make negative update times work as diescribed in the documentation (-5 is NOW-5seconds)
this takes care of debian bug 332766
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1836 a5681a0c-68f1-0310-ab6d-d61299d08faa
this takes care of debian bug 332766
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1836 a5681a0c-68f1-0310-ab6d-d61299d08faa
madvise hints may not be ORed since they are enumerated ... #224
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1834 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1834 a5681a0c-68f1-0310-ab6d-d61299d08faa
back to 0.14.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1833 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1833 a5681a0c-68f1-0310-ab6d-d61299d08faa
get the latest gettext
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1830 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1830 a5681a0c-68f1-0310-ab6d-d61299d08faa
added gettext.h to dist
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1826 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1826 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing gettext.h
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1825 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1825 a5681a0c-68f1-0310-ab6d-d61299d08faa
we don't have any translations ... so do not pretend
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1824 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1824 a5681a0c-68f1-0310-ab6d-d61299d08faa
reduce gettext version requirements
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1823 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1823 a5681a0c-68f1-0310-ab6d-d61299d08faa