AGS IT Helpdesk | 12 Mar 13:16 2014

how to change the x legend from the rrdtool to custom text or default rrdtool

Dear Developers,

Thank you very much for you kind time given to us,

I have a question that in attached email below I have installed the cacti
with rrdtool that came in a preconfigured centos image. But in that graph in
all graphs I see the title named there in right hand / Cacti
can you tell me how I can change hit sin cacti or RRDTool.

I search many places and etc in the web but failed to edit and change this
to normal RRDtool text

Thank you in advance 


View this message in context:
Sent from the RRDtool Developers Mailinglist mailing list archive at
Peter Stamfest | 8 Mar 11:34 2014

Modify step size of existing RRD

Dear List!

I have just pushed a new version of my rrd modify work to 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 are restrictions about the
possible new step size: The current step size must be a whole-number
multiple of the new step size. The modification works by recording the
new step size and adjusting the pdp count of all existing RRAs. This
also means, that reducing the step size will most likely only make sense
if you add a new RRA with a pdp count of 1 so you can take advantage of
the then higher resolution.


Given in.rra with step size 300 and initial RRA definitions of
RRA:AVERAGE:0.5:1:100 and RRA:MAX:0.5:6:1000 the command

rrdtool modify -s 60 in.rrd out.rrd RRA:AVERAGE:0.5:1:250

should result in out.rrd having 3 RRAs with definitions of
RRA:AVERAGE:0.5:1:250 (just added) and  RRA:AVERAGE:0.5:5:100 and
RRA:MAX:0.5:30:1000. In addition, the new RRA will have been populated
using data from the pre-existing AVERAGE RRA.

It is not (yet?) possible to increase the step size, mostly because the
use case is not entirely clear and additional requirements regarding the
old and new step sizes have to be met.

(Continue reading)

Peter Stamfest | 2 Mar 09:57 2014

total consolidation function?


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) (average, minimum, maximum, total, last) should be used to build the consolidated values (see rrdcreate).
Especially note the "total" CF.

However, rrdcreate(1) only ever mentions AVERAGE, MIN, MAX, LAST and has nothing to say about a "total" CF.

I also can't find any trace of a total CF when looking at the source (although I did not look very hard).



rrd-developers mailing list
rrd-developers <at>
Peter Stamfest | 25 Feb 08:36 2014

Introducing: rrd modify

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

That branch does not properly merge against master, currently. I'm
currently trying to rebase it to master...



Dipl.-Ing. Peter Stamfest     UNIX, Networking & Computing Consultant
Tel: +43/699/10711205         Software Development - Internetservices
E-Mail: peter <at>     WWW:
Daniel Pocock | 24 Feb 20:47 2014

[gsoc] Google Summer of Code 2014 - Ganglia is in

Hi all,

Please excuse my cross-posting (please reply on ganglia-developers), it
is a big announcement

Ganglia is one of about 200 leading free software projects selected to
participate in Google Summer of Code 2014.  We are also keen to
collaborate with the RRDtool community on this.

This is a tremendous endorsement of our project.  Google does not
formally announce how they rank and select projects, but I suspect some
of the following are involved:
- the caliber of the team who volunteered to be listed as potential
mentors (more people are still welcome to participate too)
- the long track record of collaboration in the code repositories
- the positive interaction that takes place every day on our mailing list
- the very successful Ganglia book published by O'Reilly

What next:

- please keep adding project ideas on the wiki, even if you are not
willing to mentor (but if you are willing to, please include your name
as a mentor)

- both Ganglia and RRDtool related projects are welcome but the actual
number of projects that proceed will depend on the quality of the
student applications and the number of places Google agrees to fund
(that will be confirmed later)

- if you can't commit as a full time mentor, you can also contribute as
a co-mentor in a team, this is usually easier for most people

- if you know potential students or places to recruit high caliber
students, this can also be a great way to assist Ganglia even if you
can't mentor them

- I'll do some more of the administrivia stuff over the next couple of
days (e.g. setting up a separate email list for mentors perhaps)

- potential mentors please register on the google-melange site (link
below) and ask to be linked to the Ganglia organisation

- full calendar is here:


Peter Stamfest | 14 Feb 21:39 2014

Question: rrdtool pipe interface - restore support?


Does the rrdtool pipe interface somehow support an in-stream xml restore

"dump" is  (mostly) working as expected, although one has to look for
the "OK" response line to find out where the xml ends, but this is not a
problem. "restore" however has the problem that it does not take input
over the pipe interface. Using "-" as XML input seems to *partly* work,
but fails with a parser error. Using /dev/stdin works when using the
pipe interface on the command line, but can't work when using the pipe
over a TCP connection....

Any ideas?

I admit that I am using a rather old version: 1.4.7...

Steven Hartland | 3 Oct 13:18 2013

Initial patch to add rrdcache support to Win32

Hi guys just finished an initial run through on a patch which
enables rrdcached client support on Win32 over tcp connections,
Unix sockets are still not supported for obvious reasons.

Patch comprises of a number of changes:
1. Added generic mutex support (mutex.c, mutex.h)
2. Switched to using send & recv instead of fgets, fputs etc
   as the later aren't support for sockets on Win32.
3. Fixed some compile issues relating to include of rrd_config.h
4. Switched rindex -> strrchr (rindex is old anyway)
5. Eliminated use of this as a variable.
6. Fixed unused warning for "struct stat st"
7. Removed conflicting definition of struct timeval
8. Fix debug project definitions

This has been compiled and tested on Visual C++ 2008 and perl 5.8
on Win32.

Be interested to hear feedback on this.


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is
addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or
otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster <at>
Attachment (win32-rrdcache.patch): application/octet-stream, 27 KiB
rrd-developers mailing list
rrd-developers <at>
dcox | 14 Sep 00:32 2013

rrdcached update with --template

Hello all,

I am trying to figure out if current releases of rrdcached support the
--template option.

I have seen information from a couple of years ago that indicate it does
not, is that still the case?

Thanks for your help.


View this message in context:
Sent from the RRDtool Developers Mailinglist mailing list archive at
Daniel Pocock | 6 Sep 14:19 2013

HURD support, build fails, maybe an easy fix [patch]

Package: rrdtool
Version: 1.4.7-2

I notice that the HURD build is failing with an error about PATH_MAX

This is a common issue.  PATH_MAX doesn't exist in HURD and it is very
trivial to work around

Full build log:


rrd_client.c: In function 'rrdc_update':
rrd_client.c:586:18: error: 'PATH_MAX' undeclared (first use in this function)
rrd_client.c:586:18: note: each undeclared identifier is reported only once for each function it
appears in
rrd_client.c:586:8: warning: unused variable 'file_path' [-Wunused-variable]
rrd_client.c: In function 'rrdc_flush':
rrd_client.c:647:18: error: 'PATH_MAX' undeclared (first use in this function)
rrd_client.c:647:8: warning: unused variable 'file_path' [-Wunused-variable]
make[3]: *** [rrd_client.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build-arch-stamp] Error 2


Potential solution:

Attached is an example of a patch from another project, it appears easy enough to cut and paste into rrd_client.c

rrd-developers mailing list
rrd-developers <at>
Svante Signell | 15 Aug 16:52 2013

[PATCH] Solve PATH_MAX issues in rrf_graph.{c, h} and rrd_tool.c


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 PATH_MAX (MAXPATH) if possible to maximize
portability and reduce code cluttering. Depending on your decision, the
rest of my patches will be conditioned on PATH_MAX or not (there are
also a number of other Debian patches pending). 

Attachment (bts530814-hurd.patch): text/x-patch, 2444 bytes
rrd-developers mailing list
rrd-developers <at>
Svante Signell | 14 Aug 16:58 2013

[PATCH] format-string error in ruby main.c


Attached is an updated debian patch from 1.4.7-2 to avoid the error when
compiling bindings/ruby/main.c since the -Werror=format-security option
is enabled.
rrd-developers mailing list
rrd-developers <at>