[rrd-users] Re: adding RRA to existing archive

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Feb 26 15:06:57 MET 2001


Andres Kroonmaa wrote:
> 
> On 26 Feb 2001, at 10:54, Alex van den Bogaerdt <alex at slot.hollandcasino.nl> wrote:
> 
> > Andres Kroonmaa wrote:
> > 
> > >  does anyone know of any tool that allows one to add 
> > >  RRA to existing RRD archive?
> > > 
> > >  I want to add MAX RRA beside 30minAve (for cricket).
> > 
> > I don't know if there is a tool, however, it can be done with
> > a simple text editor:
> > - dump the content of the database with rrdtool dump
> > - edit the xml file in the correct way (this is not too hard
> >   to figure out)
> > - reload the database using rrdtool restore
> 
>  probably. But I need to repeat that for few hundreds or rrds.
>  Aside from lots of labour, using editor its very easy to make
>  unnoticed errors..

So this is a very good reason to automate it.  Not too big a challenge.
You have to find the RRA for the average, copy it and change a few
parameters.  I haven't tried it myself but I don't think it is too
hard to do.

If you're a C-programmer (even a beginner) you can try to make an
extention to RRDtool.

I currently have no time to do so but I do think that I'll give it
a shot somewhere in the near future.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list