Re: [rrd-developers] [PATCH] pointer manipulation utility functions

2009-04-20 Thread Tobias Oetiker
Hi Kevin, Friday kevin brintnall wrote: This patch includes utility functions to support dynamically sized arrays. This simplifies the code that manages some of the dynamic structures inside rrdcached. Per Tobi's request, I started a librrd.pod where we'll document the external facing

Re: [rrd-developers] rfc: later caching

2009-04-20 Thread Tobias Oetiker
Today kevin brintnall wrote: I thought we'd do it in stages: (1) Process the update string twice. Once when updatev received from the client (update in-memory copy). Once when we call rrd_update_r() with the update string. - minimal changes to the current

Re: [rrd-developers] [PATCH] rrdcached server-side authentication

2009-04-28 Thread Tobias Oetiker
Hi Kevin, :-) I can soon start using the daemon in the wan ... Today kevin brintnall wrote: [...] +=item B-A Iauth_file + +This file contains a list of authentication secrets, one per line. +Comments start with B#; any remaining characters on the line are +ignored. Trailing white space

Re: [rrd-developers] .pod update - request for approval

2009-04-29 Thread Tobias Oetiker
Hi Pablo, Yesterday Pablo Sanchez wrote: [ I originally sent this directly to Tobi and Alex. Given their e-mail addresses are published, I suspect they must get a jillion spam messages a day. I'm posting this here. ] Hi, I'm using RRD and did some reserch to determine the

Re: [rrd-developers] [PATCH] rrdcached server-side authentication

2009-05-04 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: I am very happy with Kevins patch, since it significantly raises the level of effort required to penetrate the system. So, are you saying that your goal was to provide some moderate level of security? Do you accept that there are known issues

Re: [rrd-developers] [PATCH] rrdcached server-side authentication

2009-05-04 Thread Tobias Oetiker
Hi Florian, Yesterday Florian Forster wrote: Hi Kevin, Tobi, Sebstian and list, thanks Kevin for this initial implementation :) I didn't read the source code yet, so please forgive me if I misunderstand some details. On Wed, Apr 29, 2009 at 03:14:18AM +, kevin brintnall wrote: A user

Re: [rrd-developers] [PATCH] rrdcached server-side authentication

2009-05-05 Thread Tobias Oetiker
Hi Kevin, Today kevin brintnall wrote: * make sure that un-authed users may not do anything when authentication is active Enforcing this rule on all sockets obviates a common use case.. It doesn't allow us to separate read-only users (who should be able to FLUSH) from read-write users

Re: [rrd-developers] [PATCH] rrdcached server-side authentication

2009-05-06 Thread Tobias Oetiker
Hi All, Today kevin brintnall wrote: On Wed, May 06, 2009 at 06:12:15PM +0200, Florian Forster wrote: Hi, On Tue, May 05, 2009 at 08:58:37AM -0500, kevin brintnall wrote: Until we have per-command authorization, I'm thinking we should add a 3rd type of socket that requires

Re: [rrd-developers] Bug#529291: rrdtool python bindings leak memory

2009-05-18 Thread Tobias Oetiker
thanks will add tobi Today Sebastian Harl wrote: tags 529291 + upstream thanks Hi Anders, On Mon, May 18, 2009 at 03:22:35PM +0200, Anders Hammarquist wrote: The python bindings for the calls rrd_info, rrd_graph_v and rrd_update_v do not properly release references to some objects that

[rrd-developers] rrdtool 1.3.8 - fixes for solaris and rrd_restore

2009-05-19 Thread Tobias Oetiker
RRDtool 1.3.8 released -- The new release contains mostly bug fixes. As usual, you can get the update from http://oss.oetiker.ch/rrdtool/ Detailed changes for 1.3.8 -- Bug fixes: - python bindings memory handling fix by Anders Hammarquist (deb

Re: [rrd-developers] rrdtool 1.3.8 - fixes for solaris and rrd_restore

2009-05-19 Thread Tobias Oetiker
Hi Jarod, oops bad timing ... fixed :-) tobi Today Jarod Wilson wrote: On Tuesday 19 May 2009 09:59:31 Tobias Oetiker wrote: RRDtool 1.3.8 released -- The new release contains mostly bug fixes. As usual, you can get the update from http://oss.oetiker.ch

Re: [rrd-developers] [PATCH 5/5] src/rrd_graph.c: Use `rrdc_fetch' if daemon is available.

2009-05-25 Thread Tobias Oetiker
Hi Florian, Saturday Florian Forster wrote: From: Florian Forster o...@leeloo.lan.home.verplant.org - -if ((rrd_fetch_fn(im-gdes[i].rrd, - im-gdes[i].cf, - im-gdes[i].start, -

[rrd-developers] rrd_flush.c - rrd_flushcached.c (was Re: [PATCH] add 'flush' to language bindings)

2009-05-26 Thread Tobias Oetiker
On Sat, Mar 28, 2009 at 12:15:02PM +0100, Tobias Oetiker wrote: yes dropping rrd_flush from the api is not a good idea, otoh it does not acomplish anything sensible in the code, so I propose the following: have rrdc_flush for the client flushing function and turn rrd_flush into a no-op

Re: [rrd-developers] rrd_flush.c - rrd_flushcached.c (was Re: [PATCH] add 'flush' to language bindings)

2009-05-26 Thread Tobias Oetiker
Hi Bernhard, Today Bernhard Reutner-Fischer wrote: On Tue, May 26, 2009 at 09:17:59AM +0200, Tobias Oetiker wrote: finally getting ready to publish 1.4rc I have resolved the btw.. Can we please have cf_conv exported since otherwise it is not really possible to do anything useful

Re: [rrd-developers] [PATCH] rrdupdate(1): Mention that negative time values should be separated by '--'.

2009-06-02 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: --- program/doc/rrdupdate.pod | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) thanks, it's in tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775

Re: [rrd-developers] [rrd] build tool-chain updates (was: 1.4rc1 announcement)

2009-06-07 Thread Tobias Oetiker
Hi Kevin, Yesterday kevin brintnall wrote: * switched to using automake 1.11 which provides a 'silent' build process, causing errors and warnings to stand out much more than before. by Tobi Oetiker Tobi, Are all these version upgrades necessary? I think we should only insist on

Re: [rrd-developers] [rrd] Lua bindings licensing (was: RRDtool + Lua module patch)

2009-06-09 Thread Tobias Oetiker
Hi Sebastian, thanks ... added cheers tobi Today Sebastian Harl wrote: Hi Fidelis, The source files of the Lua bindings include compat-5.1. The copyright information of those files include the copyright holder only but no license information: Copyright Kepler Project 2004-2006

Re: [rrd-developers] UPDATEV shim?

2009-06-18 Thread Tobias Oetiker
Hi Kevin, Yesterday kevin brintnall wrote: Tobi, What should we do about UPDATEV until we have support in rrdcached? Currently the client code will just abort UPDATEV requests. This may cause problems in an environment that uses both UPDATE and UPDATEV... it's probably desirable to set

Re: [rrd-developers] UPDATEV shim?

2009-06-20 Thread Tobias Oetiker
Hi Kevin, Yesterday kevin brintnall wrote: - FLUSH the file, then operate directly on it (race condition with new updates?) tis will have odd effects for people who assume update to be working remotely ... True. This is probably a better temporary solution: On updatev, the

Re: [rrd-developers] librrd4 dependancies

2009-06-29 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: Hi David, On Sat, Jun 27, 2009 at 11:36:03PM -0700, da...@lang.hm wrote: I can see how rrdtool would have depenancies on various graphics libraries (since in most environments it creates graphs), but librrd4 only populates the rrd datastores, it

Re: [rrd-developers] Building rrdtool v1.3.8 on win32

2009-07-05 Thread Tobias Oetiker
Today Barrie0482 wrote: I found this #ifdef WIN32 /* Gross Hack Alert */ #if _MSC_VER 1300 #define strtoll(p, e, b) ((*(e) = (char*)(p) + (((b) == 10) ? strspn((p), 0123456789) : 0)), _atoi64(p)) #else #define strtoll(p, e, b) _strtoi64(p, e, b) #endif cheers tobi Hi Tobi, I am using

Re: [rrd-developers] Building rrdtool v1.3.8 on win32

2009-07-05 Thread Tobias Oetiker
. Cheers, Barrie Tobias Oetiker wrote: Today Barrie0482 wrote: I found this #ifdef WIN32 /* Gross Hack Alert */ #if _MSC_VER 1300 #define strtoll(p, e, b) ((*(e) = (char*)(p) + (((b) == 10) ? strspn((p), 0123456789) : 0)), _atoi64(p)) #else #define strtoll(p, e, b

Re: [rrd-developers] Building rrdtool v1.3.8 on win32

2009-07-05 Thread Tobias Oetiker
consistant ... cheers tobi Cheers, Barrie Tobias Oetiker wrote: do the errors only occure on the rrds created by rrd_restore ? this would indicate that there is still a problem with rrd_restore on windows ... -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http

Re: [rrd-developers] Building rrdtool v1.3.8 on win32

2009-07-06 Thread Tobias Oetiker
with the wrong binaries. I am going to clean up my project area and make sure I have my information correct. Sorry about the wrong information. Cheers, Barrie Tobias Oetiker wrote: Tomorrow Barrie wrote: Hi Tobi, The errors occur on both the rrd created bt rrd_create and rrd_restore

Re: [rrd-developers] [PATCH] Do not trust cache tree pointers after releasing the cache lock.

2009-07-12 Thread Tobias Oetiker
Yesterday kevin brintnall wrote: It's possible that a FORGET was issued in the mean time. --- src/rrd_daemon.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) thanks tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch

Re: [rrd-developers] Possible race conditions / data loss in rrdcached?

2009-07-14 Thread Tobias Oetiker
Today kevin brintnall wrote: Anyway, this should be easy to fix. See the patch, I'll send in a minute. Beware, though, that I do not have a RRDCacheD setup, so the patch is mostly untested - it compiles though ;-) Your patch doesn't address the problem. I will email another shortly.

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-17 Thread Tobias Oetiker
Hi Kevin, For large file support, we need to consider the things that link against librrd. We can either require all dependents (transitively) to enable large file support (bad) or we could remove any functions that use off_t from the public librrd interface. It looks like all such

Re: [rrd-developers] [rrd] Re: rrdcached dies when journal reaches 2G

2009-07-18 Thread Tobias Oetiker
Hi Kevin, I have not looked at the code, but do you only reset the journal on flush or when there are no data left in the cache ? This might cause a long running copy of cached to generate rather huge an unwieldy journals ... Currently, the journal is rotated when the flush is started.

Re: [rrd-developers] [RRDTool] Configure option to build without rrdgraph

2009-08-01 Thread Tobias Oetiker
Bruno, I don't think that having versions of the library with stub functions is a good idea ... the change should be such that the library gets a different name ... eg librrdcore then it will be clear that it does not contain all functions ... cheers tobi On Sat, 01 August 2009 Tobias Oetiker t

Re: [rrd-developers] [PATCH] Two-phase shutdown for rrdcached ensures that values are flushed.

2009-08-08 Thread Tobias Oetiker
Jul 19 kevin brintnall wrote: 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

Re: [rrd-developers] [PATCH] Remove PID file later in the cleanup process.

2009-08-08 Thread Tobias Oetiker
Jul 23 kevin brintnall wrote: --- src/rrd_daemon.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) thanks tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] How to set a specific font for TITLE inrrdtool 1.3.x

2009-08-08 Thread Tobias Oetiker
Jul 28 Bernhard Reutner-Fischer wrote: On Mon, Jul 27, 2009 at 05:03:51PM -0700, swami wrote: Hi, Thanks for the response. I tried giving the font with space like DejaVuSans Bold in double quotes and it worked . Tobi, i suggest to add the following note: Index:

Re: [rrd-developers] [PATCH] split rrdcached journal into multiple files =1GB

2009-08-08 Thread Tobias Oetiker
Jul 28 kevin brintnall wrote: 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. P.S. This relies on the 4 patches I've sent since you went offline. three cheers and a hurray

Re: [rrd-developers] UTF-8 and pango ... again

2009-08-08 Thread Tobias Oetiker
Today Sebastian Harl wrote: Hi Tobi, On Sat, Aug 08, 2009 at 02:11:37PM +0200, Tobias Oetiker wrote: Today Sebastian Harl wrote: On Sat, Aug 08, 2009 at 11:33:56AM +0200, Tobias Oetiker wrote: Jul 21 Sebastian Harl wrote: The following problem has been reported to me

Re: [rrd-developers] RRDCacheD - Client rewriting path

2009-08-08 Thread Tobias Oetiker
Hi Yann, Today Yann Jouanin wrote: Hello list, It seems the behavior of RRD client when using RRDCacheD can make trouble when using RRDCacheD on another host than the one where using client. The translation between relative path and absolute path is done in client code (rrdc_flush) while

Re: [rrd-developers] rrdtool-1.3.99909060808 configure error

2009-08-09 Thread Tobias Oetiker
Hi Benny, Today Benny Baumann wrote: Am 09.08.2009 11:52, schrieb Barrie: checking if IEEE math works with signal The excerpt from the config.log is the following (if I found the correct place). configure:24927: checking if IEEE math works with signal(SIGFPE,SIG_IGN) configure:25019: gcc

Re: [rrd-developers] rrdtool-1.3.99909060808 configure error

2009-08-09 Thread Tobias Oetiker
of Microsoft Visual C++. To get the Ruby binding for Ruby v1.9.1 compiled for rrdtool in Windows, it seems that I need to compile rrdtool with MinGW32. I'll let let you know of the progess. Thanks. Cheers, Barrie Tobias Oetiker wrote: Today Barrie wrote: Hi Tobi, Thanks for your

Re: [rrd-developers] UTF-8 and pango ... again

2009-08-10 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: - save LANG - set LANG=LC_TIME - call pango for x-axis - restore LANG I agree that documenting the need to have a properly set up environment would be a good thing (e.g. if rrdtool is called from a [shell-]script, that

Re: [rrd-developers] RRDCacheD - Client rewriting path

2009-08-11 Thread Tobias Oetiker
Today Florian Forster wrote: Hi Tobi, On Tue, Aug 11, 2009 at 07:48:30AM +0200, Tobias Oetiker wrote: * Some magical version of the functions will check some sort of environment and call the appropriate function. this is to maintain the present interface ? well, I would much

Re: [rrd-developers] Small fix for autoconf

2009-08-16 Thread Tobias Oetiker
Tuesday Florian Forster wrote: Hi, 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 ;) same here ... but it still

Re: [rrd-developers] [PATCH] Suggestion for API extension (rrd_dump)

2009-08-16 Thread Tobias Oetiker
Hi Benny, I finally got the time to look at your patch, the call back interface as such seems ok to me ... (I have never written one myself, so I don;t know if we should look out for certain gotchas ... ) the implementation in rrd_dump does not strike me as all that elegant ... repeating the

Re: [rrd-developers] [PATCH] Suggestion for API extension (rrd_dump)

2009-08-17 Thread Tobias Oetiker
Hi Benny, Today Benny Baumann wrote: the implementation in rrd_dump does not strike me as all that elegant ... I know it's not that elegant right now, especially because of the string literals ... snprintf(somestring_buf, 255, ...) cb(somestring_buf, strlen(somestring_buf), ...)

Re: [rrd-developers] [PATCH] graph --border

2009-08-19 Thread Tobias Oetiker
Hi Bernhard, Today Bernhard Reutner-Fischer wrote: Hi, The attached patch allows to $ rrdtool graph --border=0 to disable the 3d border around the image. PS: It would be nice if you could sort the getopt options alphabetically. :-/ thanks ... and the is now ... cheers tobi --

Re: [rrd-developers] [PATCH] graph --border

2009-08-20 Thread Tobias Oetiker
Hi Bernhard, Yesterday Bernhard Reutner-Fischer wrote: On Wed, Aug 19, 2009 at 05:24:51PM +0200, Tobias Oetiker wrote: Hi Bernhard, Today Bernhard Reutner-Fischer wrote: Hi, The attached patch allows to $ rrdtool graph --border=0 to disable the 3d border around the image

Re: [rrd-developers] [PATCH] python binding tuple as arg in every method

2009-08-20 Thread Tobias Oetiker
Hi Tomasz, Not beeing a python wizz, please tell me in what way is your patch adding something else than what r1771 already did ... please check the latest 1.4pre snapshot cheers tobi Yesterday Tomasz Pajor wrote: Hello, You can create a tuple from for example list, list is propagated

Re: [rrd-developers] Libtool dpkg-buildpackage fails for SVN

2009-08-23 Thread Tobias Oetiker
Hi Benny, Today Benny Baumann wrote: - Added the usr/share/perl5/leaktest.pl to librrdp-perl.install - Ran the dpkg-buildpackage (which than fails) - Copied the missing CHANGES file from debian/changelog - reran debian/rules binary -- Got my packages (Ignore the could not sign packages

Re: [rrd-developers] rrdtool-1.3.99909060808 configure error

2009-08-23 Thread Tobias Oetiker
script runs I get the following. configure: loading cache config.cache The config.cache file is created, but it is zero length. It would be good to use as it takes so long to run the configure script through all the options that have passed. Cheers, Barrie Tobias Oetiker wrote: Friday

Re: [rrd-developers] Python Bindings in rc4, return dict of info cmd

2009-08-24 Thread Tobias Oetiker
Today Hermann Lauer wrote: Hello, rc4 did compile and install fine on debian lenny, but I noticed that the return of the info cmd is now a flat dict instead of a structured one (see below). So simple getting of the datasources is not possible anymore. this is to keep the interface in line

Re: [rrd-developers] Preview for updated RRDTool PHP extension and userland wrapper

2009-08-24 Thread Tobias Oetiker
Hi Benny, Today Benny Baumann wrote: Hi, Am 24.08.2009 16:40, schrieb Tobias Oetiker: Hi Benny, btw if you are happy to contribute this for the rrdtool mainline, I will be happy to integrate it ... cheers tobi The extension part is ready so far (no major known bugs left IMHO

Re: [rrd-developers] Preview for updated RRDTool PHP extension and userland wrapper

2009-08-24 Thread Tobias Oetiker
Hi Benny, P.S.: @Tobi: If you like you can add the extension as a contribution for PHP5 or use it to update the outdated version in the SVN. The wrapper shouldn't go there yet though as it isn't in a shape for this ATM. Comments on its interface welcome though. I had a closer look at

Re: [rrd-developers] Graph data without the graph?

2009-09-09 Thread Tobias Oetiker
Hi Evan, I think rrd_xport may lend itself better to this task ... cheers tobi Yesterday Evan Miller wrote: Mark Plaksin happy at usg.edu writes: Here's a fun feature request: Make 'rrdtool graph -a JSON' return JSON describing the graph instead of an image. The idea being that you

Re: [rrd-developers] Graph data without the graph?

2009-09-10 Thread Tobias Oetiker
Today Pablo Sanchez wrote: [ Comments below, in line ] On Thursday 10 September 2009 at 1:14 pm, Sebastian Harl penned about Re: [rrd-developers] Graph data without the graph? Hi Sebastian, [ snipped ] What do others think about that? It might make sense to work on that before

Re: [rrd-developers] Graph data without the graph?

2009-09-10 Thread Tobias Oetiker
Yesterday Pablo Sanchez wrote: [ Comments below, in line ] On Thursday 10 September 2009 at 3:35 pm, Tobias Oetiker penned about Re: [rrd-developers] Graph data without the graph? Hi Tobi, in a sense rrdtool is still a prototype ... being the first oss tool to seriously explore

Re: [rrd-developers] [PATCH 1/2] rrd_utils: Added rrd_mkdir_p.

2009-09-26 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: This function may be used to recursively create some directory, similar to mkdir -p on the command-line. --- I've added Kevin and myself to the list of copyright holders. I hope, I did not miss anyone. (side note: 2008 is no typo - that function

Re: [rrd-developers] [PATCH] librrd.pod: Documented rrd_mkdir_p().

2009-09-28 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: --- program/doc/librrd.pod | 28 1 files changed, 28 insertions(+), 0 deletions(-) thanks ... added tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch

Re: [rrd-developers] [PATCH] doc/Makefile: Moved the 'librrd' manpage to section 3.

2009-09-28 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: This manpage does not document an executable but rather library calls. thanks ... added tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] [PATCH] librrd.pod: Moved rrd_dump_cb_r() to section CORE FUNCTIONS.

2009-09-28 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: This is not a utility function but rather part of RRDtool's core. thanks ... added tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] RRDCacheD - Client rewriting path

2009-09-29 Thread Tobias Oetiker
Hi Sebastian, Saturday Sebastian Harl wrote: Well, I'd try to keep behavior consistent when talking to the daemon, i.e. something along the lines of the new file-name syntax proposed earlier (by Florian iIrc). In short: specify that you're talking to the daemon and then use relative path

Re: [rrd-developers] RRDCacheD - Client rewriting path

2009-10-01 Thread Tobias Oetiker
Today Sebastian Harl wrote: Hi Tobi, On Wed, Sep 30, 2009 at 10:53:31PM +0200, Tobias Oetiker wrote: what I would do now, is this: * If the client is called on a local daemon with a relative pathname, the path name gets rewritten. * If the client is called on a remote daemon

Re: [rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.

2009-10-03 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: 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

Re: [rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: Hi Tobi, On Sat, Oct 03, 2009 at 11:36:11PM +0200, Tobias Oetiker wrote: Today Sebastian Harl wrote: When talking to a local daemon (thru a UNIX socket), relative path names are resolved to absolute path names to allow for transparent

Re: [rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: Hi Benny, Thanks for your feedback! On Sat, Oct 03, 2009 at 11:54:53PM +0200, Benny Baumann wrote: Am 03.10.2009 23:36, schrieb Tobias Oetiker: Today Sebastian Harl wrote: When talking to a local daemon (thru a UNIX socket), relative path

Re: [rrd-developers] [PATCH] rrdcached: Create the pidfile and (UNIX) socket directories as well.

2009-10-04 Thread Tobias Oetiker
Yesterday Sebastian Harl wrote: 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. ---

Re: [rrd-developers] [PATCH] rrdcached: Improved the base-dir symlink check.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: 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

Re: [rrd-developers] [PATCH] rrdcached: Create the base directory on startup.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: --- program/src/rrd_daemon.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) thanks ... applied tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775

Re: [rrd-developers] [PATCH] rrdfetch: Print a usage summary if not enough parameters have been given.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: --- program/src/rrd_fetch.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) thanks applied tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb:

Re: [rrd-developers] [PATCH] rrdflushcached: Do not free 'opt_daemon' before checking the connection.

2009-10-04 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: --- program/src/rrd_flushcached.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) thanks applied tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902

Re: [rrd-developers] getting rid of some of the LOCALE magic

2009-10-04 Thread Tobias Oetiker
the library is called and would most likely not be thrilled if the library altered the settings on the fly to whatever some environemt variable sais ... cheers tobi Regards, BenBE. Am 04.09.2009 09:54, schrieb Tobias Oetiker: People, in rrd_graph I am calling #ifdef HAVE_SETLOCALE

Re: [rrd-developers] [PATCH] Fix potential memory leak in rrd_flushcached during failure.

2009-10-04 Thread Tobias Oetiker
Hi Kevin, Today kevin brintnall wrote: --- src/rrd_flushcached.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) thanks tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] RRDtool 1.4 (rc2) packages for Debian

2009-10-06 Thread Tobias Oetiker
Hi Benny, as I said before, if you provide patches for integrating your php bindings into the rrdtool distro, I will be glad todo so! cheers tobi Today Sebastian Harl wrote: Hi Benny, On Tue, Oct 06, 2009 at 04:31:24PM +0200, Benny Baumann wrote: Am 06.10.2009 00:29, schrieb Sebastian

Re: [rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.

2009-10-07 Thread Tobias Oetiker
Today kevin brintnall wrote: On Wed, Oct 07, 2009 at 11:36:42AM +0200, Florian Forster wrote: On Sun, Oct 04, 2009 at 01:14:24PM +0200, Tobias Oetiker wrote: I think the current implementation where only relative paths are allowed for remote access is fine, since this provides a measure

Re: [rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.

2009-10-07 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: Hi again, On Wed, Oct 07, 2009 at 11:36:42AM +0200, Florian Forster wrote: Wouldn't it be *much* simpler to simply let the user chose what to do? I. e. forbid absolute paths by default and only if the

Re: [rrd-developers] rrdcached + collectd issues

2009-10-11 Thread Tobias Oetiker
Hi Florian, Yesterday Florian Forster wrote: With the attached patch against revision 1934 I was able to build the rrdcached plugin of collectd without problems. the patch is in tobi Regards, ?octo -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland

Re: [rrd-developers] [PATCH] Fixed various typos in the manpages.

2009-10-14 Thread Tobias Oetiker
Today Sebastian Harl wrote: Thanks to Justin T. Pryzby for reporting this in Debian bug #550919. thanks too ... I have added it cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] [PATCH] src/Makefile.am: Removed left-over occurrence of LIB_LIBINTL.

2009-10-15 Thread Tobias Oetiker
Hi Sebastian, Yesterday Sebastian Harl wrote: --- program/src/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) it's in tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

Re: [rrd-developers] storing arbitrary metadata in rrd

2009-10-18 Thread Tobias Oetiker
Hi Spike, Yesterday Spike Spiegel wrote: Hi, I believe this topic has come up before and unless I missed it I do not recall or could find a solution and I keep bumping into situations where I'd pay for that support, and I mean literally :). Unfortunately iirc there was some major rewrite

[rrd-developers] RRDtool 1.3.9 a bugfix release

2009-10-24 Thread Tobias Oetiker
This is a bugfix release. As usual, you can download it from http://oss.oetiker.ch/rrdtool/ cheers tobi Brought to you by the 2009 RRDtool sponsors: GOLD: http://www.zenoss.com http://www.groundworkopensource.com

Re: [rrd-developers] No ordering information in info hash

2009-10-27 Thread Tobias Oetiker
Hi Hermann, there was an extension recently added a ds[x].index entry which will help you resolve this problem ... make sure you use a current snapshot of the archive ... cheers tobi Today Hermann Lauer wrote: Hello all, I noticed that in the python bindings of rrdtool-1.3.99909060808

Re: [rrd-developers] No ordering information in info hash

2009-10-27 Thread Tobias Oetiker
Hi Hermann, try rrdtool-1.4.0.tar.gz ... which I just uploaded ... will announce tomorrow. cheers tobi Yesterday Hermann Lauer wrote: Hello Tobi, On Tue, Oct 27, 2009 at 09:43:40PM +0100, Tobias Oetiker wrote: Hi Hermann, there was an extension recently added a ds[x].index entry which

Re: [rrd-developers] [PATCH] Avoid unnecessary string handling for UPDATE commands.

2009-10-27 Thread Tobias Oetiker
Hi Kevin, Today kevin brintnall wrote: - only copy as many bytes as necessary - during journal replay, avoid unnecessary copy (string is discarded) Thank you Thorsten von Eicken t...@rightscale.com you di have perfect timing :-) so it will be an 1.4.1 announement today. But I guess the

[rrd-developers] RRDtool 1.4 - higher Performance and cool Features

2009-10-28 Thread Tobias Oetiker
Just in time for LISA'09 I am releasing the all new RRDtool 1.4. RRDtool 1.4 comes with a much anticipated RRDcache Daemon, elevating the system to new performance levels it also contains a host of new and improved features. See the List below. Get your copy from: http://oss.oetiker.ch/rrdtool/

Re: [rrd-developers] [PATCH] JOURNAL_REPLAY macro clarifies our intentions

2009-10-30 Thread Tobias Oetiker
Hi Kevin, Today kevin brintnall wrote: --- src/rrd_daemon.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) it's getting better all the time ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch

Re: [rrd-developers] Auth in rrdtools 1.5 - library suggestion

2009-11-02 Thread Tobias Oetiker
Hi Thomas, I just had a look at that page and it does indeed sound interesting ... thanks for the hint tobi Yesterday Thomas Guyot-Sionnest wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've seen in a wiki page that rrdtool may use authentication or authorization in the

Re: [rrd-developers] patch to do vertical gradients

2009-11-05 Thread Tobias Oetiker
Hi Rian, Today Rian Shelley wrote: This time i remembered to attach the patch :D thanks for this ... it looks cool ... quersion though, is there some information carying capability in this feature ? Not really. For the most part, I wanted to add some control over how the AREA's were

Re: [rrd-developers] [PATCH 1/2] Add utility functions to allocate pointers in variable size chunks.

2009-11-09 Thread Tobias Oetiker
Hi Kevin, since 1.4.x is now out, I would like to hold off on adding new public functions to the 1.4 branche ... these would go into the new trunk. or is there also a bug-fix component to this change ? cheers tobi Oct 31 kevin brintnall wrote: --- doc/librrd.pod | 18 ++

Re: [rrd-developers] RRDTOOL xport issue whereas RRDTOOL fetch is fine

2010-01-11 Thread Tobias Oetiker
returned cover your requested timespan ... since you are only getting one line it may be non obvious what the interval is, but then again you are free to request a little more data from fetch ... cheer tobi Regards swami - Original Message - From: Tobias Oetiker t...@oetiker.ch

Re: [rrd-developers] Bug#543631: rrdupdate does not support floating point values with DERIVE, COUNTER

2010-01-13 Thread Tobias Oetiker
Dec 28 Sebastian Harl wrote: Hi, (This is a follow-up to Debian [bug543631].) On Wed, Aug 26, 2009 at 08:00:22AM +, Florian Weimer wrote: Floating point values are supported with GAUGE. This suprising behavior is not clearly documented, as far as I can tell. I don't think there

Re: [rrd-developers] [PATCH] Fix checking for simple integers

2010-01-14 Thread Tobias Oetiker
Today Florian Forster wrote: Hi, in src/rrd_update.c there is this code (which is checking for simple integers): if ( ( updvals[ds_idx + 1][0] '0' || updvals[ds_idx + 1][0] '9' ) updvals[ds_idx + 1][0] != '-' updvals[ds_idx + 1][0] != 'U'

Re: [rrd-developers] Bug#543631: rrdupdate does not support floating point values with DERIVE, COUNTER

2010-01-14 Thread Tobias Oetiker
Hi Florian, Today Florian Weimer wrote: * Tobias Oetiker: OTOH with long long being available across the board, this might be a bit of a anachronism ... not quite sure though, what happens when you diff two doubles realy close to 2^64 ... does this stay accurate enough ? I guess

Re: [rrd-developers] Bug#543631: Bug#543631: rrdupdate does not support floating point values with DERIVE, COUNTER

2010-01-14 Thread Tobias Oetiker
Hi Sebastian, Today Sebastian Harl wrote: Hi, On Thu, Jan 14, 2010 at 08:12:38AM +0100, Tobias Oetiker wrote: Dec 28 Sebastian Harl wrote: (This is a follow-up to Debian [bug543631].) On Wed, Aug 26, 2009 at 08:00:22AM +, Florian Weimer wrote: Floating point values

Re: [rrd-developers] [PATCH] Allow rrdached to set the group permissions of the Unix socket for to arbitrary groups

2010-01-25 Thread Tobias Oetiker
Hi Alex, Friday Alex Bennee wrote: As partially explained in the patch comments my setup is as follows: * rrdcached running from upstart This allows upstart to ensure rrdcached is restarted if it ever dies. Currently upstart does not offer the facility to run daemons under another uid.

Re: [rrd-developers] r2017 breaks build on !linux

2010-02-13 Thread Tobias Oetiker
Hi Kevin, Thursday kevin brintnall wrote: On Thu, Feb 11, 2010 at 06:42:50PM +0100, Tobias Oetiker wrote: Hi Kevin, Today kevin brintnall wrote: Tobi, r2107 uses _NL_TIME_FIRST_WEEKDAY to determine the first weekday. As far as I can tell, this macro exists only on Linux

Re: [rrd-developers] Alternative to rrdcached on linux - rrdfs - FUSE based RRD caching

2010-02-23 Thread Tobias Oetiker
Hi Peter, wow ... sounds impressive. Have you done performance evaluations ? If you could apply your genius to rrdcached and maybe make it even better based on the insights gained from the rrdfs implementation? cheers tobi Today Peter Stamfest wrote: Hello! In the last couple of days, I

Re: [rrd-developers] Alternative to rrdcached on linux - rrdfs - FUSE based RRD caching

2010-02-24 Thread Tobias Oetiker
Hi Peter, Today Peter Stamfest wrote: Tobias Oetiker t...@oetiker.ch schrieb am 23.02.2010 23:28:53: Hi Peter, wow ... sounds impressive. Have you done performance evaluations ? Only insofar, as it is fast. Accessing RRDs in /dev/shm is just wow. I wanted to do my first real

[rrd-developers] [rrd] longstanding bug in rrd update core solved (I think)

2010-03-02 Thread Tobias Oetiker
Folks, 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

[rrd-developers] ALPHA RELEASE: rrdjig - a tool to populate rrd files based on old ones

2010-03-08 Thread Tobias Oetiker
Hi, In a project for http://www.init7.net I have implemented rrdjig. This tool can populate an rrd file based on the data found in an existing rrd. It recreates an aproximation of the original data stream and feeds it into the destination rrd file using rrdtool update. With this method it is

Re: [rrd-developers] Patch for read only access for i386 on x86_64 and x86_64 on i386

2010-03-08 Thread Tobias Oetiker
Hi Camilo, Mar 1 Camilo Viecco wrote: Hello list At work we have a large archive rrdfiles crerated on i386 and we need to use x86_64 on some newer machines. Long story short I needed to access both 64 bit data from 32 bit hosts and vice versa. Since the common data format is still pending

Re: [rrd-developers] Bug#573638: rrdtool: rrdcgi crashes at printlasttime()

2010-03-14 Thread Tobias Oetiker
Hi Robert, in 2012:2013 I put in the patch below ... this should provide a more generic fix for the problem. rrd_cgi functions all used to fail horribly when a librrd function tried to touch ARGV[0] (mostly to print an errror message including the name name of the calling program) ... obviously

Re: [rrd-developers] [PATCH] RRDCacheD: Add the FETCH command.

2010-03-17 Thread Tobias Oetiker
Hi Florian, Today Florian Forster wrote: Hi Tobi, On Wed, Feb 24, 2010 at 11:04:39PM +0100, Tobias Oetiker wrote: Add a FETCH command to RRDCacheD which behaves like a (simplified version of) rrdfetch(1). [...] I guess it's time to branche again ... I like your aproach

Re: [rrd-developers] Bug#573299: rrdtool: ERROR: unknown option 'M'

2010-03-22 Thread Tobias Oetiker
Hi Sebastian, thanks ... I integrated it in r2033 cheers tobi Yesterday Sebastian Harl wrote: tags 573299 + patch pending thanks Hi, (This is a follow-up to Debian bug #573299 -- see http://bugs.debian.org/573299 for details.) On Wed, Mar 10, 2010 at 02:17:20PM +0100, Ralf Hildebrandt

<    1   2   3   4   5   6   7   8   >