[mrtg] MRTG with RRD and RRA:HWPREDICT
s.shipway at auckland.ac.nz
Mon Mar 14 01:26:41 CET 2011
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
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<mailto: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
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
"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...
More information about the mrtg