[rrd-developers] Re: Creating a rrdtool alter command
Stanislav Sinyagin
ssinyagin at yahoo.com
Wed Mar 10 09:55:44 MET 2004
Hi Igor,
I have a more-or-less similar idea in mind to create a new tool
within RRFW (rrfw.sf.net). But the approach would be slightly different:
it would be rather merging tool than altering: you would have several
datasources from some files or from nothing, and they would serve as data
for creation of new RRD. Then a single tool would solve many different tasks:
-- joining data from several RRD files into one
-- deleting a DS from RRD file
-- adding a DS to a RRD file
The idea is to use XML export of RRD contents and playing with it by
a Perl script. Of course, RRAs are better to be the same aggreation
period and step. If they aren't, it's difficult to say what could be
a workaround.
Do you intent to write your tool in C with direct access to RRD internals?
I don't have a timeline for this yet, since other quite important tasks
are in the pipe.
Regards,
Stanislav
--- Igor Sfiligoi <Igor.Sfiligoi at lnf.infn.it> wrote:
> Hi.
>
> I am starting to develop an
> rrdtool alter
> command.
>
> The idea behind is to allow to add/remove one or more DS/RRA to an existing
> RRD.
>
> Adding a DS is straightforward; it has to be initialized to UNKN.
>
> Adding a RRA is instead a little more tricky and I would like to have some
> feedback.
> I see essentially 2 problems:
> 1) When I have already several RRAs with the same consolidation function,
> which one should I use?
> The most obvious idea seems to be the use of the most fine grained when
> possible and going on to the next grain only when needed.
> Do you agree?
>
> 2) What should I do when a completly new consolidation function is requested?
> I see two options here:
> 2a) leave all values UNKN
> 2b) get the values of another consolidation function
>
> 2a seems to be more correct.
>
> What do you think?
>
> Cheers,
> Igor
>
> --
> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/rrd-developers
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list