[rrd-developers] RRDtool Chat on Gitter

2016-05-09 Thread Tobias Oetiker
RRDtool on Gitter - For a bunch of my OSS projects, I have taken up residence on the gitter chat system ... so if you like to talk rrdtool ... you can find me on https://gitter.im/oetiker/rrdtool-1.x cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten,

[rrd-developers] rrdtool 1.5.6 released

2016-05-09 Thread Tobias Oetiker
RRDtool 1.5.6 = This is a bugfix release for the 1.5 series. Please try version 1.6.0 RRDtool 1.5.6 - 2016-04-19 == Bugfixes * segfault on CDEF:x= * Disable nagel algorithm as it is causing massive slowdown * make vname nameing rules more liberal and

[rrd-developers] rrdtool 1.6.0 released

2016-05-09 Thread Tobias Oetiker
RRDtool 1.6.0 = This is a new major version of RRDtool. With a bunch of new features. The most important one being full thread-safety. This means there is now only one version of librrd and it is thread-safe. Features * librrd is now fully thread-safe. librrd_th is gone *

Re: [rrd-developers] rrdtool-1.5.5 rpn1.output file missing for make check .

2016-02-15 Thread Tobias Oetiker
Hi James, thanks ... added it in tests/Makefile.am ... you can get the file from github.com/oetiker/rrdtool-1.x cheers tobi Yesterday James W. Laferriere wrote: > Hello All , Just a fyi . Hth , JimL > > -rw-r--r-- 1 1003 1001 11913 Nov 10 16:50 modify5-testa2-create.dump >

Re: [rrd-developers] LEGEND length limit on systems with snprintf (HACK)

2015-11-26 Thread Tobias Oetiker
Hi Markus, makeing this allocated memory sounds like a good plan ... a patch for the master branch would be a cool thing. cheers tobi Yesterday Markus Weber wrote: > Maybe helpful for others trying to use large legends (or legends with lot of > markup stuff): > > On systems with snprintf, the

Re: [rrd-developers] rrdtool version 1.5.0 is out

2015-11-23 Thread Tobias Oetiker
Hi Stuart, this is alrady fixed ... check github.com/oetiker/rrdtool-1.x cheers tobi Today Stuart Henderson wrote: > On 2015-04-20, Stuart Henderson <s...@spacehopper.org> wrote: > > On 2015-04-16, Tobias Oetiker <t...@oetiker.ch> wrote: > >> Finally! RRDtool 1.

Re: [rrd-developers] rrdtool version 1.5.0 is out

2015-11-23 Thread Tobias Oetiker
Hi Stuart, done tobi Today Stuart Henderson wrote: > On 2015/11/23 12:02, Tobias Oetiker wrote: > > Hi Stuart, > > > > this is alrady fixed ... check github.com/oetiker/rrdtool-1.x > > Ah - could you pull it back to the 1.5 branch please? Thanks! > > --

Re: [rrd-developers] Hurd build failure

2015-07-28 Thread Tobias Oetiker
Hi Jean-Michel, Today Jean-Michel Vourgère wrote: Tobias Oetiker wrote: Yesterday Jean-Michel Vourgère wrote: --- rrdtool.orig/src/rrd_tool.c +++ rrdtool/src/rrd_tool.c @@ -598,4 +598,7 @@ int HandleInputLine( +#ifdef __GLIBC__ +cwd = get_current_dir_name(); +#else

Re: [rrd-developers] Hurd build failure

2015-07-26 Thread Tobias Oetiker
Hi Jean-Michel, Yesterday Jean-Michel Vourgère wrote: Hi I'm having a look at the history of problems caused by usage of PATH_MAX. There has been a few proposals since August 2013, but they were based on a Debian / GNU Linux version that already contained a patch for hurd, which was

Re: [rrd-developers] rpmbuild rrdtool-1.5.3 missing source1, patch1

2015-05-29 Thread Tobias Oetiker
Hi Daniel, I guess the rrdtool.spec file could use some love ... since php bindings are not part of the rrdtool distribution the best thing would probably be to remove that bit entirely. cheers tobi Wednesday Daniel Letai wrote: When doing a simple rpmbuild -ta rrdtool-1.5.3.tar.gz I get

[rrd-developers] rrdtool 1.5.3 released

2015-05-01 Thread Tobias Oetiker
RRDtool 1.5.3 * The ability to draw LINE elements with dashes was gone. Now it is back ... * The release also is much more consistant in its handling and documentation of commandline options Get your copy from http://www.rrdtool.org A big thank you to the sponsors who are helping to fund

[rrd-developers] rrdtool 1.5.2 released

2015-04-23 Thread Tobias Oetiker
The bugs keep coming out: RRDtool 1.5.2 is here. Get a copy from http://www.rrdtool.org A big thank you to the sponsors who are helping to fund my work on rrdtool: http://www.wuerth-phoenix.com/ https://www.open.ch/ https://www.psw.net/, http://www.irisns.com/ and http://beslist.be RRDtool

[rrd-developers] [rrd] rrdtool 1.5.1 released

2015-04-22 Thread Tobias Oetiker
For all those who never install a x.0 version: RRDtool 1.5.1 is out. Get a copy from http://www.rrdtool.org A big thank you to the sponsors who are helping to fund my work on rrdtool: http://www.wuerth-phoenix.com/ https://www.open.ch/ https://www.psw.net/, http://www.irisns.com/ and

Re: [rrd-developers] RRDcached performance issues (from Users mailinglist)

2015-03-15 Thread Tobias Oetiker
Hi Gaby, I guess that very few people have rrdtool setup at your scale ... so chances for someone coming forward with useful hints may be rather slim. Things to look at: a) try rrdtool 1.5rc2 since this is the latest and greates code b) go into the cached code and add some debugging output c)

[rrd-developers] rrdtool 1.5.0 rc1

2015-01-08 Thread Tobias Oetiker
Finally, rrdtool 1.5.0 is in the wings ... get your copy of rc1 from http://oss.oetiker.ch/rrdtool/pub/?M=D RRDtool 1.5.0-rc1 - 2015-01-08 == New Features * new datasource types: DCOUNTER and DDERIVE (they work the same as * the original DS, except

Re: [rrd-developers] rrdtool 1.5.0 rc1

2015-01-08 Thread Tobias Oetiker
Hi Svante, Nice, congratulations :-) Still no changes with respect to PATH_MAX issues? if you have an issue, or would like to propose a patch, it is best to open a bug https://github.com/oetiker/rrdtool-1.x/issues I can only see an old resolved issue with PATH_MAX in the text.

Re: [rrd-developers] Pull requests should go to 1.4 or master?

2014-11-18 Thread Tobias Oetiker
Hi Eduardo, Today Eduardo Bragatto wrote: Hi, I have submitted a couple pull requests for the 1.4 branch and today I noticed Tobias created new pull requests for the same changes to the master branch. Should I have created pull requests for both branches? Just asking so in the future I

Re: [rrd-developers] Rrdtool fetch performance difference between Linux and Freebsd

2014-09-12 Thread Tobias Oetiker
Hi Tugrul, Today Tugrul Erdogan wrote: Hi, I am porting a project which is developed and used on FreeBSD 10 to Linux. After porting rrdtool funuctionalities, I realized that periodic rrdtool fetch calls on CentOS 7 spends two times more time than on FreeBSD. The rrdtool version on FreeBSD

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-07-13 Thread Tobias Oetiker
Hi Peter, just added a few comments to your pull request cheers tobi Today Peter wrote: Hi Tobi, I have made the pull request on github.com to branch 1.4. I used 1.4 because master didn't contained the visual studio projects. But in 1.4 there was no def file to export the symbols in

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-07-13 Thread Tobias Oetiker
Hi Peter, Today Peter wrote: Hi Tobi, I forked new and cloned the master But master/rrd_rpncalc.c: * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 1.4/rrd_rpncalc.c: * RRDtool 1.4.8 Copyright by Tobi Oetiker, 1997-2013 it does. the dates in the headers in the master branch are

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-07-13 Thread Tobias Oetiker
Hi Peter, Today Peter wrote: Hi Tobi, now it is not possible to compile master with Visual Studio 2013 C++. There are incompatibilities http://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B ie: many explicit casts needed, keyword template not allowed, ... And set up the project to

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-07-13 Thread Tobias Oetiker
Hi Peter, the whole win32 build things are contributed ... not necessarily consistant I am afraid ... especially getting master to build well on win32 would be neat lg tobi Today Peter wrote: Hi Tobi, in master/win32 there is no Visual Studio used and the dll is librrd-4.dll . In branch

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-06-15 Thread Tobias Oetiker
Hi Peter, would you like to make this a pull request on github.com ? cheers tobi Today Peter wrote: Hi Tobi, below are the patch files from the actual clone of branch 1.4. An new error occured in rrd_restore.c Error 3 error C2440: '=' : cannot convert from 'void *' to

Re: [rrd-developers] about [rrdtool-1.x] Fetch callback (#502)

2014-06-13 Thread Tobias Oetiker
Hi Peter, Today Peter Childs wrote: Reading the comments, and the edit to src/rrd_graph.c 968 +// remember that we already got this one 969 + g_hash_table_insert(im-rrd_map,gdes_fetch_key(im-gdes[i]),GINT_TO_POINTER(i)); I have noted when I tried to build a custom

Re: [rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013

2014-05-10 Thread Tobias Oetiker
Hi Peter, would you like to create a patch ? I bet the other windows users would be happy! https://www.github.com/oetiker/rrdtool-1.x cheers tobi Today Peter wrote: Hi, I compiled successfully rrdtool-1.4.8 with Visual Studio 2013 after solving the following 3 issues. At first pay

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-05-08 Thread Tobias Oetiker
Today Svante Signell wrote: On Thu, 2014-05-08 at 07:56 +0200, Tobias Oetiker wrote: Hi Svante, Today Svante Signell wrote: On Thu, 2014-05-08 at 02:41 +0200, Steve Schnepp wrote: Le 7 mai 2014 16:10, Tobias Oetiker t...@oetiker.ch a écrit : Today Svante Signell wrote

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-05-07 Thread Tobias Oetiker
Hi Svante, I merged a few debian patches the other day ... was this not your pull request ? cheers tobi Today Svante Signell wrote: ping! On Thu, 2014-05-01 at 13:31 +0200, Svante Signell wrote: On Tue, 2014-04-29 at 19:34 +0200, Tobias Oetiker wrote: Hi Svante, cool ... have you

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-05-07 Thread Tobias Oetiker
Today Svante Signell wrote: On Wed, 2014-05-07 at 08:14 +0200, Tobias Oetiker wrote: Hi Svante, I merged a few debian patches the other day ... was this not your pull request ? Thanks to the Debian patches now upstream. The other question is about how to properly test the PATH_MAX

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-05-07 Thread Tobias Oetiker
Hi Svante Today Svante Signell wrote: On Wed, 2014-05-07 at 08:36 +0200, Tobias Oetiker wrote: Today Svante Signell wrote: I did run tests/alltest and tests/tune1,tune2. All tests were OK. Anything else to try to find out if the patches are OK? Anything I can apply

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-05-07 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Thu, 2014-05-08 at 02:41 +0200, Steve Schnepp wrote: Le 7 mai 2014 16:10, Tobias Oetiker t...@oetiker.ch a écrit : Today Svante Signell wrote: Well, the PATH_MAX patches affect all architectures, but without them rrdtool FTBFS for Hurd

Re: [rrd-developers] ROL and ROR for RPN

2014-05-06 Thread Tobias Oetiker
Hi Steve, I like the patch ... would you make it into a pull request on github (vs the master branch) and include the appropriate documentation changes ... cheers tobi Today Steve Shipway wrote: So, I have a patch (unified context diff) to add the RPN operators ROLL, INDEX, COPY and DEPTH.

Re: [rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

2014-04-29 Thread Tobias Oetiker
Hi Svante, cool ... have you seen that there is now the beginning of a test-suite in the HEAD branch of on github ? cheers tobi Today Svante Signell wrote: Hello, Here are updated patches for rrdtool/rrd_client.c and rrdtool/rrd_daemon.c. We had some discussions in August last year. I

Re: [rrd-developers] ROL and ROR for RPN

2014-04-28 Thread Tobias Oetiker
Hi Steve, your function always affects 3 values ... would there be any gain in makeing this call more generic ? a,b,c,d,x,y,ROL rotate the last x values on the stack by y steps to the left. and maybe have -y role to the right? cheers tobi Today Steve Shipway wrote: So, splitting this idea

Re: [rrd-developers] ROL and ROR for RPN

2014-04-28 Thread Tobias Oetiker
variantes make peoples lives easier, I have no problem with adding them as well cheers tobi Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 From: Tobias Oetiker [t

Re: [rrd-developers] Unexpected behaviour of PREDICT and PREDICTSIGMA

2014-04-25 Thread Tobias Oetiker
Hi Steve, in the (contributed) code there is: // handle negative shifts special if (shifts0) { stptr--; } else { stptr-=shifts; } and later if (shifts0) {

Re: [rrd-developers] Bug#419948: librrds-perl: Information about affected platform

2014-04-25 Thread Tobias Oetiker
Hi All, I have spent considerable time improving the graph performance in the latest 1.4.x editions ... one major cause of slowdown was 'font selection'. Depending on the number of fonts on your system this can take a long time ... if you generate multiple graphs with a single instance of

Re: [rrd-developers] Modify step size of existing RRD

2014-03-09 Thread Tobias Oetiker
Hi Peter, Yesterday Peter Stamfest wrote: Dear List! I have just pushed a new version of my rrd modify work to https://github.com/stamfest/rrdtool-1.x in branch rrdmodify-master. This is the first public version to have support for a reduction of the basic RRD step size. Note that there

Re: [rrd-developers] Modify step size of existing RRD

2014-03-08 Thread Tobias Oetiker
Hi Peter, Today Peter Stamfest wrote: Am 2014-03-08 11:34, schrieb Peter Stamfest: Dear List! I have just pushed a new version of my rrd modify work to https://github.com/stamfest/rrdtool-1.x in branch rrdmodify-master. Which brings me to a very important point I am pondering over for

Re: [rrd-developers] Introducing: rrd modify

2014-03-04 Thread Tobias Oetiker
Hi Peter, Yesterday Peter Stamfest wrote: Am 2014-02-27 22:50, schrieb Peter Stamfest: Am 2014-02-27 12:38, schrieb Peter Stamfest: Am 2014-02-26 15:24, schrieb Tobias Oetiker: Hi Peter, thanks ... its merged ... Which leaves me to ask for feedback to the command syntax I invented

Re: [rrd-developers] total consolidation function?

2014-03-02 Thread Tobias Oetiker
Hi Peter, Today Peter Stamfest wrote: Hello! The rrdtool(1) manpage has the following to say about consolidation functions: When setting up an Round Robin Database (RRD), you can define at which interval this consolidation should occur, and what consolidation function (CF)

Re: [rrd-developers] Introducing: rrd modify

2014-02-26 Thread Tobias Oetiker
Hi Peter, thanks ... its merged ... can you rebase the pipe patch too ? cheers tobi Today Peter Stamfest wrote: Am 2014-02-25 09:24, schrieb Tobias Oetiker: Hi Peter, Today Peter Stamfest wrote: Hi List, Hi Tobi, I have implemented a rrd modify command. Essentially, it takes

Re: [rrd-developers] Introducing: rrd modify

2014-02-25 Thread Tobias Oetiker
Hi Peter, Today Peter Stamfest wrote: Hi List, Hi Tobi, I have implemented a rrd modify command. Essentially, it takes an input RRD, adds or removes data sources and creates an output RRD. My current imlementation can be found in branch rrdmodify at

Re: [rrd-developers] Question: rrdtool pipe interface - restore support?

2014-02-25 Thread Tobias Oetiker
using the pull parser in rrdtool restore cheers Tobias Oetiker t...@oetiker.ch mailto:t...@oetiker.ch 062 775 9902 On 16.02.2014, at 03:21, Stanislav Sinyagin ssinya...@yahoo.com mailto:ssinya...@yahoo.com wrote: I don't think it does. Why isn't a usual file good enough? You

Re: [rrd-developers] Introducing: rrd modify

2014-02-25 Thread Tobias Oetiker
Today Peter Stamfest wrote: Am 2014-02-25 09:24, schrieb Tobias Oetiker: Hi Peter, Today Peter Stamfest wrote: Hi List, Hi Tobi, I have implemented a rrd modify command. Essentially, it takes an input RRD, adds or removes data sources and creates an output RRD. My current

Re: [rrd-developers] [PATCH] rrd_client.c issues

2013-08-19 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Fri, 2013-08-16 at 14:22 +0200, Tobias Oetiker wrote: Hi Svante, OK, I will continue next with rrd_client.c. Is that one built into the library librrd*.so* ? yes, but it can also be used standalone How? in the sense that it has little

Re: [rrd-developers] [PATCH] rrd_client.c issues

2013-08-19 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Mon, 2013-08-19 at 18:33 +0200, Tobias Oetiker wrote: I can only tell you when I see the patch ... if I am reading your code corectly, you are causing a memory leak by makeing get_path return an allocated string instead of a constant

Re: [rrd-developers] [PATCH] Solve PATH_MAX issues in rrf_graph.{c, h} and rrd_tool.c

2013-08-16 Thread Tobias Oetiker
Hi Svante, Yesterday Svante Signell wrote: Hello, Attached is an updated Debian patch for 1.4.7-2, from 2009, to avoid PATH_MAX problems for GNU/Hurd in rrd_graph.{c,h} and rrd_tool.c. This patch is conditioned on if MAXPATH (and __GLIBC__) is defined or not. I would suggest to avoid

Re: [rrd-developers] [PATCH] format-string error in ruby main.c

2013-08-16 Thread Tobias Oetiker
Hi Svante, is there any authorship information for this patch ? or are you submitting it under your own name ? cheers tobi Wednesday Svante Signell wrote: Hello, Attached is an updated debian patch from 1.4.7-2 to avoid the error when compiling bindings/ruby/main.c since the

Re: [rrd-developers] [PATCH] Solve PATH_MAX issues in rrd_graph.{c, h} and rrd_tool.c

2013-08-16 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Fri, 2013-08-16 at 09:08 +0200, Tobias Oetiker wrote: Hi Svante, Yesterday Svante Signell wrote: Hello, Attached is an updated Debian patch for 1.4.7-2, from 2009, to avoid PATH_MAX problems for GNU/Hurd in rrd_graph.{c,h

Re: [rrd-developers] [PATCH] Solve PATH_MAX issues in rrd_graph.{c, h} and rrd_tool.c

2013-08-16 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Fri, 2013-08-16 at 11:15 +0200, Tobias Oetiker wrote: Hi Svante, Today Svante Signell wrote: On Fri, 2013-08-16 at 09:08 +0200, Tobias Oetiker wrote: Hi Svante, So you wan one megapatch for PATH_MAX/MAXPATH issues? Isn't it better

Re: [rrd-developers] RFC: [PATCH 0/3] Portability by avoiding PATH_MAX

2013-08-14 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Mon, 2013-08-12 at 20:41 +0200, Tobias Oetiker wrote: Hi Svante, .. 1.4.3 was the version when the code was forked for 1.5 dev ... in the snapshots it gets updated by a script prior to snapshotting ... I was confused by the release version

Re: [rrd-developers] RFC: [PATCH 0/3] Portability by avoiding PATH_MAX

2013-08-12 Thread Tobias Oetiker
Hi Svante, Today Svante Signell wrote: On Wed, 2013-08-07 at 14:02 +0200, Tobias Oetiker wrote: Hi Svante, the source is on https://github.com/oetiker/rrdtool-1.x fork it, apply your patches, push and then create a pull request Hi, I have now cloned the master branch at github

Re: [rrd-developers] RFC: [PATCH 0/3] Portability by avoiding PATH_MAX

2013-08-07 Thread Tobias Oetiker
Hi Svante, the source is on https://github.com/oetiker/rrdtool-1.x fork it, apply your patches, push and then create a pull request cheers tobi Today Svante Signell wrote: On Wed, 2013-08-07 at 13:46 +0200, Tobias Oetiker wrote: Hi Svante, cool ... ports help to make code better most

Re: [rrd-developers] 1.4.x vs trunk handling of Unused Arguments

2013-08-05 Thread Tobias Oetiker
Hi Peter, Today Peter Childs wrote: Gday folks. I have been doing some testing of some options only in /trunk (not 1.4.8) and have noticed that some of the applications I am testing that use 'rrdtool graph' are doing things like? AREA:inbits0#B6D14B:'eth0 In ': and

Re: [rrd-developers] 1.4.x vs trunk handling of Unused Arguments

2013-08-05 Thread Tobias Oetiker
Hi Peter, Today Peter Childs wrote: Hello Tobi On 5/08/13 6:57 PM, Tobias Oetiker t...@oetiker.ch wrote: Hi Peter, Today Peter Childs wrote: Gday folks. I have been doing some testing of some options only in /trunk (not 1.4.8) and have noticed that some of the applications I

[rrd-developers] rrdtool 1.4.8 released

2013-05-23 Thread Tobias Oetiker
Readers, I am proud to announce another stability release for the rrdtool 1.4 branch the main new feature of this release is that large graph expressions are processed magnitudes faster. RRDgraph is now using map lookups instead of linear searches for finding *DEF variables. More information on

Re: [rrd-developers] drill down charts using rrdtools

2013-05-15 Thread Tobias Oetiker
Hi Mohan, Yesterday mudradimohan wrote: My name is Mohan and this is my first entry to this forum. As of now I am familiar with creating a chart using rrdtool. I just wanted to know whether there is any option in rrdtool to draw a drill down chart, i.e., if I select some region between 2

Re: [rrd-developers] cassandra support

2013-01-08 Thread Tobias Oetiker
Hi Nirmoy, Today nirmoy wrote: Hey friends, I have added cassandra support to rrd like lidbi. Is there anyone interested ?Please suggest me to add some more features. i just added basic cassandra data model support one columnfamily one row support , so this modification can support

Re: [rrd-developers] rrdtool + libdbi / mysql speed test

2013-01-08 Thread Tobias Oetiker
Hi Olivier, Today Olivier Doucet wrote: Hello, Just a follow up on this : Problem is definitely in libdbi and the implementation of dbi_result_next_row(). This function is using mysql_data_seek() all the time to move from one row to another, which is very unefficient for mySQL. PostgreSQL

Re: [rrd-developers] rrdcached: path sanitizer

2012-12-05 Thread Tobias Oetiker
Hi Gabor, Friday Kiss Gabor (Bitman) wrote: I've just installed rrdcached and I'm checking its performance. I found that daemon does not sanitize file paths. Two different cliens may want to refer the same unix file with different names but rrdcached does not recognizes this but uses given

Re: [rrd-developers] rrdcached: path sanitizer

2012-12-05 Thread Tobias Oetiker
Today Kiss Gabor (Bitman) wrote: realpath() expands all symbolic links and resolves references to /./, This is going to cause a LOT of stat() calls: O(commands * average dir depth) I see your point, but it's probably better to do trivial string manipulations that don't

[rrd-developers] rrdjig is now in github

2012-10-26 Thread Tobias Oetiker
RRDjig, the tool for transfering data from one rrd file to another allowing for different stepping and structure between the two is now on github ... https://github.com/oetiker/rrdtool-rrdjig cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland

Re: [rrd-developers] PATCH: Fix for JSON output format

2012-09-13 Thread Tobias Oetiker
Hi Thomas, Sep 5 Thomas Mainka wrote: Hi everyone, Recently I have experimented with dynamic graphing of RRDtool data on web pages (as JSON data queried by jQuery). While the JSON export and transport worked fine, after some testing I realized that starting with version 1.4 jQuery rejects

Re: [rrd-developers] RRD PostgreSQL extension

2012-09-12 Thread Tobias Oetiker
Hi Stan, Yesterday Stanislav Sinyagin wrote: how is it supposed to handle large RRD files over the network? If, say, the client and server are on different hosts, and you're updating RRD data in a BLOB. and RRD data can easily be several megabytes. So, how is the data transfer supposed to be

Re: [rrd-developers] RRD PostgreSQL extension

2012-09-12 Thread Tobias Oetiker
Today Dustin Fisch wrote: Not sure how you are going to handle multiple datasources in a single RRD in your trigger, but I'm sure you have an idea. Anthony Johnson ans...@gmail.com wrote: Not sure how you are going to handle multiple datasources in a single RRD in your trigger, but I'm

[rrd-developers] rrdtool is now on github

2012-09-11 Thread Tobias Oetiker
RRDtool repository moved from Subversion to Git --- Over the last few weeks I have been experimenting with moving rrdtool over to github. Finally it is done. The rrdtool source repository along with the trac issue database reside on github now.

Re: [rrd-developers] RRD PostgreSQL extension

2012-09-09 Thread Tobias Oetiker
Hi Dustin, Yesterday Dustin Fisch wrote: Hi, I am currently thinking about building an RRD extension for PostgreSQL. The extension will provide a RRD data type which represents a complete database and functions for all the existing functions of the RRD tool, like create, update, first and

Re: [rrd-developers] rrd_graph.c crashed on right Y-axis with SI units

2012-08-23 Thread Tobias Oetiker
Hi Stuart, Today Stuart Henderson wrote: On 2012-08-12, Martin Pelikan martin.peli...@gmail.com wrote: Anyway, the destination system is OpenBSD; I managed to compile the latest SVN version, because the one in packages is 1.2.30 just for the record, the package is intentionally held back

Re: [rrd-developers] Yet another RRD merge script

2012-08-20 Thread Tobias Oetiker
Hi Steve, Today Steve Shipway wrote: Unable to find a script to merge my RRD files as I wanted, I've taken to writing my own generic one. way to go ! cheers 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] fix str{cpy,cat} and sprintf safety warnings

2012-08-13 Thread Tobias Oetiker
Hi Martin, Today Martin Pelikan wrote: Hi! So far the cooperation has been perfect, so I'm gonna dig deeper :-) OpenBSD has a modified toolchain that (among other cool features) warns you about certain programming constructs that have been found unsafe, like the use of

Re: [rrd-developers] [PATCH] Add create and info to rrdupdate

2012-08-13 Thread Tobias Oetiker
Hi Sven, Friday Sven-Göran Bergh wrote: Dear List, we have the need to incorporate generation/updates of RRD files in an embedded environment. However, there are a few dependencies that ruin our plan, most notably libxml2 and libglib. Even a minimal build (--disable-*) still has these

Re: [rrd-developers] rrd_graph.c crashed on right Y-axis with SI units

2012-08-12 Thread Tobias Oetiker
Hi Martin, I was just trying to make rrdtool 1.4.7 from Gentoo to make throughput graphs in bps on the left axis and in Bps on the right one, when it suddenly crashed: Program terminated with signal 11, Segmentation fault. #0 0xb710c3dd in vfprintf () from /lib/libc.so.6 (gdb) where #0

Re: [rrd-developers] rrd_graph.c crashed on right Y-axis with SI units

2012-08-12 Thread Tobias Oetiker
Today Martin Pelikan wrote: On Sun, Aug 12, 2012 at 04:39:51PM +0200, Tobias Oetiker wrote: thanks for investigating this ... the intended behaviour is not to autoscale in that way though ... there was already an incomplete fix for this probem in r2123 ... I have now put in the rest

Re: [rrd-developers] rrd_graph.c crashed on right Y-axis with SI units

2012-08-12 Thread Tobias Oetiker
Hi Martin, Today Martin Pelikan wrote: On Sun, Aug 12, 2012 at 08:50:52PM +0200, Tobias Oetiker wrote: as long as you do not specify a format for the right axis labels, they should autoscale ... Sorry, but as you can see here: http://lk.storkhole.cz/vole.png myself and this version

Re: [rrd-developers] [rrd-users] RRD + Step in milliseconds

2012-06-26 Thread Tobias Oetiker
Hi Rick, Today Rick Jones wrote: On 06/26/2012 06:46 AM, Tobias Oetiker wrote: Hi Michael, I am not aware of such an extension, but changes might actually not be all that difficult ... I guess turning the step parameter from seconds into milli seconds would be all that is required

Re: [rrd-developers] [RFC] implement rrd_daemon socket activation for systemd

2012-05-21 Thread Tobias Oetiker
Hi Tomasz, that does look nice cheers tobi Today Tomasz Torcz wrote: Hello, I reworked the implementation based on iodine's socket activation patch. It is much simpler - no additional files to ship, no autoconf stuff. Gathering passed file descriptor is now unconditional and do not

Re: [rrd-developers] Fix for __STRICT_ANSI__ is not defined

2012-05-07 Thread Tobias Oetiker
Hi Gilles, Saturday g@free.fr wrote: while compiling rrdtool-1.4.7 under linux with gcc-4.4.5, I spotted those warnings In file included from rrd_i18n.h:18, from rrd_tool.c:21: gettext.h:176:6: warning: __STRICT_ANSI__ is not defined gettext.h:200:5: warning:

Re: [rrd-developers] Status of Pie Graph Support

2012-03-14 Thread Tobias Oetiker
Hi Anthony, that code never made it to 'prime time' ... I have removed it ... but check out the previous post by martin sperl, we are investigating way of makeing rrdtool graph much more versatile ... in order todo that, its whole structural underpinning is curently under review. cheers tobi

Re: [rrd-developers] Minimal rrdtool for use in embedded c++ environment

2012-03-14 Thread Tobias Oetiker
David, Today David Chappelle wrote: Just pinging again since I haven't heard any response. On Fri, Mar 9, 2012 at 8:46 AM, David Chappelle chapp...@gmail.com wrote: Hi, I am considering using rrdtool in an embedded c++ environment. However, I do not want the baggage of all of the

Re: [rrd-developers] bus error when disk is full, with mmap sparse file

2012-02-02 Thread Tobias Oetiker
Hi Richard, Today Richard Laager wrote: The posix_fallocate() version is definitely cleaner. Again, this patch is only lightly tested. Also, I happened to notice a tiny bit of duplicated code, so I've attached a separate patch for that. It seems so obviously duplicated that I've looked at

Re: [rrd-developers] bus error when disk is full, with mmap sparse file

2012-02-01 Thread Tobias Oetiker
Today Richard Laager wrote: On Thu, 2012-02-02 at 07:22 +0100, Tobias Oetiker wrote: * with the patch, we get performance and a sort of thin provisioning (files with holes). fallocate() does not create holes. From fallocate(2), After a successful call, subsequent writes into this range

[rrd-developers] rrdtool 1.4.7 - library version fix ++

2012-01-24 Thread Tobias Oetiker
Folks, On the heals of the 1.4.6 release, I have just published 1.4.7 it contains some more cleanups and the proper version number for librrd. So make sure to use 1.4.7 and NOT 1.4.6. Get your copy from: http://oss.oetiker.ch/rrdtool 1.4.7 is the second release produced with the support of

Re: [rrd-developers] segfaulting bug in rrdtool/rrdcached

2012-01-16 Thread Tobias Oetiker
Hi James, thanks for your patch, added in r2251 cheers tobi Dec 27 James Brown wrote: There's a bug in the current HEAD of rrdtool (and I suppose going back to mid-2007, from the svn blame output) which causes it to segfault if you point it at an rrdcached socket which isn't writable. I've

[rrd-developers] rrdtool 1.4.6 - yet another ton of bugfixes

2012-01-16 Thread Tobias Oetiker
Folks, Finally I got that rrdtool update out of the door. 1.4.6 comes with a ton of bugfixes. From potential segfaults to cornercases in the chart generation as well as a few new features. Get your copy from: http://oss.oetiker.ch/rrdtool 1.4.6 is the first release produced with the support

Re: [rrd-developers] rrdtool fetch / JSON-Output

2012-01-15 Thread Tobias Oetiker
Hi All, I have added xport json output in r2250 for both trunk and 1.4.x into rrdtool ... cheers tobi Friday Tobias Oetiker wrote: Hi Michael, Today Michael Markstaller wrote: Hi, thanks for looking at it, maybe I was too nervous on my first post ;) Now its attached.. (I use

Re: [rrd-developers] segfaulting bug in rrdtool/rrdcached

2012-01-13 Thread Tobias Oetiker
Hi James, Yesterday James Brown wrote: Ping? got it ... just not got around to investigate yet ... cheers tobi On Tue, Dec 27, 2011 at 5:40 PM, James Brown jbr...@yelp.com wrote: There's a bug in the current HEAD of rrdtool (and I suppose going back to mid-2007, from the svn blame

Re: [rrd-developers] rrdtool fetch / JSON-Output

2012-01-13 Thread Tobias Oetiker
Hi Michael, Today Michael Markstaller wrote: Hi, thanks for looking at it, maybe I was too nervous on my first post ;) Now its attached.. (I use this with quilt in the debian-lenny package) Simply copied the fetch-function with some brackets.. the idea for implementing this, is to make

Re: [rrd-developers] rrdtool fetch / JSON-Output

2012-01-12 Thread Tobias Oetiker
Hi Michael, I guess adding json will help many people, so I will add it ... (got another patch already from a few months back, but if you can send me yours, I will be glad to take it for inspiration too :-) (it was not attached) cheers tobi Yesterday Michael Markstaller wrote: Hi, my first

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-20 Thread Tobias Oetiker
Hi Alex, Yesterday Alex Bennee wrote: On 19 December 2011 17:00, Tobias Oetiker t...@oetiker.ch wrote: Alex, your system seems to be using a different version of  libtool ... so did you run MakeMakefile ? No, isn't that part of the configure/autogen stuff? MakeMakefile calls the auto

Re: [rrd-developers] Distro patch to libtool on Debian Wheezy/Ubuntu Oneiric breaks compile of rrdtool (Was: Re: Compile failure due to libwrap on Ubuntu 11.10)

2011-12-20 Thread Tobias Oetiker
Hi Alex, Today Alex Bennee wrote: On 20 December 2011 15:46, Tobias Oetiker t...@oetiker.ch wrote: Hi Alex, Yesterday Alex Bennee wrote: On 19 December 2011 17:00, Tobias Oetiker t...@oetiker.ch wrote: Alex, your system seems to be using a different version of  libtool

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-19 Thread Tobias Oetiker
Hi Alex, Today Alex Bennee wrote: On 16 December 2011 16:35, Tobias Oetiker t...@oetiker.ch wrote: Hi Alex, see r2241,r2242 I have modified the configure script to use standard techniques to deal with libwrap, ev this helps ... I'm afraid not in my case. But it's not the autoconf

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-19 Thread Tobias Oetiker
Hi Alex, Today Alex Bennee wrote: Config is DONE! With MMAP IO: yes Build rrd_getopt: no Build rrd_graph: yes Static programs: no Perl Modules: perl_piped perl_shared Perl Binary: /usr/bin/perl Perl Version: 5.12.4

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-19 Thread Tobias Oetiker
Alex, your system seems to be using a different version of libtool ... so did you run MakeMakefile ? cheers tobi Today Alex Bennee wrote: On 19 December 2011 16:19, Tobias Oetiker t...@oetiker.ch wrote: Hi Alex, snip so the libraries look good ... I don't see at the moment how -lwrap

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-16 Thread Tobias Oetiker
Hi Alex, ah ... I found something ... try changeing include tcpd.h into include tcpd.h in the configure script and run it again. cheers tobi Today Alex Bennee wrote: On 12 December 2011 16:52, Tobias Oetiker t...@oetiker.ch wrote: Hi Alex, Today Alex Bennee wrote: On 8

Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

2011-12-16 Thread Tobias Oetiker
Hi Alex, see r2241,r2242 I have modified the configure script to use standard techniques to deal with libwrap, ev this helps ... cheers tobi Today Alex Bennee wrote: On 16 December 2011 13:26, Tobias Oetiker t...@oetiker.ch wrote: Hi Alex, ah ...  I found something ... try changeing

Re: [rrd-developers] Minor bug in rrdtool

2011-12-01 Thread Tobias Oetiker
Hi Steve, I think this condition should now be detected corectly ... will release 1.4.6 RSN cheers tobi Feb 3 Steve Shipway wrote: Tobi responded thusly Steve Shipway wrote Seems to be a bit of a bug if you set RRDCACHED_ADDRESS=. Surely this should mean 'don't use rrdcached' but

[rrd-developers] thinking about localtime and graphing

2011-11-25 Thread Tobias Oetiker
in a customer project the 'localtime' question has come up regarding graphs and consolidation. rrdtool internally works in GMT, so a day in rrdtool is always GMT aligned. If you define RRAs for 1 day intervals, this is what you will get. With the world growing smaller, I still think this is a

Re: [rrd-developers] thinking about localtime and graphing

2011-11-25 Thread Tobias Oetiker
Hi Alex, Today Alex van den Bogaerdt wrote: DEF:weekly=test.rrd:ifHCInOctets:AVERAGE:step=3600:ctrigger=%V:tz=CET (%V would be the ISO week number, but you could use any expression you want). Whenever the value of the ctrigger changes, one 'grouping' comes to an end. If the

Re: [rrd-developers] Changing X-Axis behavior

2011-11-08 Thread Tobias Oetiker
Hi Francisco, Yesterday Francisco Perea wrote: Hi, Tobi Ok. It's javascript and I'm testing it, but It's a bad idea this kind of upgrade for RRDTool? I'm wondering if worth it to try 'rrdgrahp2' in orginal code but graphs direct in browser using D3 or any graph library... What do you think

Re: [rrd-developers] Changing X-Axis behavior

2011-11-07 Thread Tobias Oetiker
Hi Francisco, Yesterday Francisco Perea wrote: [...] PD: Tobi suggested me to use D3 (http://mbostock.github.com/d3/). I've been reading about it, and seems to be a very powerful graphics library written in Java and also very light note, its javascript ... so it runs in the browser ...

  1   2   3   4   5   6   7   8   >