[rrd-developers] Re: add/remove DS

Tobias Oetiker oetiker at ee.ethz.ch
Mon May 8 10:59:59 MEST 2006


Hi Pascal

> It was late when I wrote the mail. dump to stdout and restore from stdin
> gives the same result. However, some people dont want to care about such
> things, they want the tool to do it (and often they dont know this will
> do it), so we could handle the xml internally and just pass it from the
> dump function to the restore function.

well judging from the internal structure this should not be
necessary, the upgrade is quite simple ... it might be interesting
to look at code duplication ...

> > - it seems to me, that there are a number of basic functions
> >   involved when implenting the more complex functions. Like:
> >
> >   - alter step size of an rrd
> >
> >   - add DS from rrd1 to rrd2
> >
> >   - add/remove RRA
> >
> >   - alter RRA interval size
> >
> >   did you plan on exposing this functionality too ?
>
> Like above, those would be nice to have in rrdtune.

if you write a manual page for your new features first this would
help me to give you more guidance in this ...

> > - in what language are you planning on implementing these things?
>
> C89 (syntax and C library functions). I dont see any need for something
> else. file I/O, memory allocation is, IMHO all I need.

cool

> I will first work on the easiest functions to get a bit familiar with
> your code and functions in order to avoid reinventing the wheel.
>
> I will take v1.2.13 as work basis. let me know if that's fine.

if you use an svn checkout of the 1.2 branche this would make
merging simpler ...

> And, I will focus on the functions I personnaly need, high performance
> add/removal of DS (cause you could do it using the XML and some perl,
> but that way too slow for what I need).

great

cheers
tobi



-- 
ETH Zurich
Tobias Oetiker, IT Support Group D-ITET (ISG.EE)
ETL F24.2, Physikstrasse 3, 8092 Zurich, Switzerland
Phone +41 44 63 25286,  http://people.ee.ethz.ch/oetiker/

--
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://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list