[mrtg] MRTG with RRD and RRA:HWPREDICT

Leandro Souza leandrotoledodesouza at gmail.com
Mon Mar 14 01:38:19 CET 2011


Ahh, right!

Whereas that here, for now, it will be implemented only on new RRD, I can
determinate RRA:HWPREDICT as pre-requisite. So if this plugin work properly,
I can try to develop a script to do what you suggested in the old RRDs.

Thank you Steve!

-- Leandro Toledo de Souza
www.leandrotoledo.com.br

*"Se eu tiver uma maçã e você também tiver uma maçã, e trocarmos de maçãs,
cada um ficará com uma maçã. Se eu tiver uma ideia e você também tiver uma
ideia, e trocarmos ideias, cada um ficará com duas ideias."*

*George Bernard Shaw *



2011/3/13 Steve Shipway <s.shipway at auckland.ac.nz>

> To add an RRA is a bit more complex since it requires adding a new  item to
> the RRA header and a new RRA data section, changing the file size and
> offsets.  Rrdtool tune can tune the various HW settings, but not actually
> add the new RRAs (sorry, I was a bit unclear there)
>
>
>
> The easiest way would be to dump the existing RRD to XML, and then modify
> the XML before loading it back in to a new RRD file; or, create a new RRD
> file (after getting the existing info via rrdtool info) and then copy the
> data over item by item, though this would lose any data outsize of the
> 1cdp=1dp base RRA
>
>
>
> Steve
>
>
> ------------------------------
>
> *Steve Shipway*
>
> ITS Unix Services Design Lead
>
> University of Auckland, New Zealand
>
> Floor 1, 58 Symonds Street, Auckland
>
> *Phone: +64 (0)9 3737599 ext 86487*
>
> *DDI: +64 (0)9 924 6487*
>
> *Mobile: +64 (0)21 753 189*
>
> *Email: s.shipway at auckland.ac.nz*
>
> P Please consider the environment before printing this e-mail
>
> * *
>
>
>
> *From:* Leandro Souza [mailto:leandrotoledodesouza at gmail.com]
> *Sent:* Monday, 14 March 2011 1:17 p.m.
> *To:* Steve Shipway
> *Cc:* mrtg at lists.oetiker.ch
> *Subject:* Re: [mrtg] MRTG with RRD and RRA:HWPREDICT
>
>
>
> Hi Steve,
>
>
>
>    Thanks! Now I can go on.
>
>    However, the only thing that I have not know is... How to add a new
> RRA:HWpredict with 'rrdtool tune'?
>
>    Before to ask this, I read the rrdtune manpage , and I saw only options
> to change values for DS, RRA existing... Can you show me an example, please?
>
>
>
> Thanks for help! I'm very appreciated.
>
>
> -- Leandro Toledo de Souza
> www.leandrotoledo.com.br
>
> *"Se eu tiver uma maçã e você também tiver uma maçã, e trocarmos de maçãs,
> cada um ficará com uma maçã. Se eu tiver uma ideia e você também tiver uma
> ideia, e trocarmos ideias, cada um ficará com duas ideias."*
>
> *George Bernard Shaw *
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20110313/fc2bda88/attachment.htm 


More information about the mrtg mailing list