[rrd-developers] Add `FETCH' command to rrdcached
Thorsten von Eicken
tve at voneicken.com
Tue Mar 24 17:27:55 CET 2009
Very cool! I'm one of the people who is running multiple rrdcached
servers (>10 actually) and being able to specify the server in the graph
DEF filename would be very very nice 'cause it would allow us to draw
graphs that aggregate data spread across multiple rrdcached servers.
Florian: big thanks!
Tobi, is there any ETA for releasing a version of rrdtool that includes
rrdcached?
Thorsten
Florian Forster wrote:
> Hi,
>
> the following few patches add the `FETCH' command to rrdcached, adds a
> client interface and changes `rrdtool fetch' and `rrdtool graph' to
> receive values from the daemon directly if they are connected to one.
>
> This allows to create graphs on machines that don't have direct access
> to the RRD files. It is common to keep the collection and graphing part
> on separate machines, usually for performance and security reasons. With
> these patches, setting up such a system becomes a lot easier because no
> shared storage is needed anymore.
>
> The first two patches are pretty straight forward, though maybe not very
> nice to read.
>
> The third and fourth patches are mostly meant for discussion. I'd be
> interested to know whether you'd prefer this approach (use `FETCH' if
> connected to the daemon) or a similar approach to that used by Scott
> Brumbaugh back in May 2008: Specify the daemon address as part of the
> filename. The second approach would have the advantage, that data from
> more than one daemon could be used in a single graph (yes, I hear people
> already are in that situation). The disadvantage is that handling
> `graph's and `fetch'es may alter your established connection.
>
> To solve the latter, I think the best solution would be to pass a
> `connection object' to each `rrdc_*' function as first argument.
>
> Any feedback welcome :)
>
> Regards,
> -octo
>
More information about the rrd-developers
mailing list