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 <[email protected]> > 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: [email protected]* > > P Please consider the environment before printing this e-mail > > * * > > > > *From:* Leandro Souza [mailto:[email protected]] > *Sent:* Monday, 14 March 2011 1:17 p.m. > *To:* Steve Shipway > *Cc:* [email protected] > *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 * > > > > >
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
