<div>Ahh, right!</div><div><br></div><div>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.</div>
<div><br></div><div>Thank you Steve!</div><br clear="all"><font style="color:rgb(102, 102, 102)" color="#999999">-- Leandro Toledo de Souza</font><br style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"><a href="http://www.leandrotoledo.com.br" target="_blank">www.leandrotoledo.com.br</a></span><br style="color:rgb(153, 153, 153)">
<br style="color:rgb(153, 153, 153)"><div style="text-align:center;color:rgb(153, 153, 153)"><div style="text-align:left"><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<i><span>&quot;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.&quot;</span></i> </blockquote></div><span></span></div><div style="text-align:right"><b style="color:rgb(153, 153, 153)"><span>George Bernard Shaw
</span></b><br></div><br>
<br><br><div class="gmail_quote">2011/3/13 Steve Shipway <span dir="ltr">&lt;<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">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)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">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 </span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Steve</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><hr size="2" width="100%" align="center"></span></div><p class="MsoNormal"><b><span style="font-size:11.0pt;color:#1F497D">Steve Shipway</span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">ITS Unix Services Design Lead</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">University of Auckland, New Zealand</span></p><p class="MsoNormal">
<span style="font-size:10.0pt;color:#1F497D">Floor 1, 58 Symonds Street, Auckland</span></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Phone: +64 (0)9 3737599 ext 86487</span></i></p><p class="MsoNormal">
<i><span style="font-size:10.0pt;color:#595959">DDI: +64 (0)9 924 6487</span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Mobile: +64 (0)21 753 189</span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Email: <a href="mailto:s.shipway@auckland.ac.nz" target="_blank"><span style="color:#595959">s.shipway@auckland.ac.nz</span></a></span></i></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:18.0pt;font-family:Webdings;color:green">P</span><span lang="EN-GB" style="font-size:11.0pt;color:blue"> </span><span lang="EN-GB" style="font-size:10.0pt;color:green">Please consider the environment before printing this e-mail</span><span lang="EN-GB" style="font-size:11.0pt;color:blue"> </span><span lang="EN-GB" style="font-size:7.5pt;color:navy"></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#1F497D"> </span></i></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p></div><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Leandro Souza [mailto:<a href="mailto:leandrotoledodesouza@gmail.com" target="_blank">leandrotoledodesouza@gmail.com</a>] <br>
<b>Sent:</b> Monday, 14 March 2011 1:17 p.m.<br><b>To:</b> Steve Shipway<br><b>Cc:</b> <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br><b>Subject:</b> Re: [mrtg] MRTG with RRD and RRA:HWPREDICT</span></p>
</div></div><div class="im"><p class="MsoNormal"> </p><p class="MsoNormal">Hi Steve,</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">   Thanks! Now I can go on.</p></div><div><p class="MsoNormal">   However, the only thing that I have not know is... How to add a new RRA:HWpredict with &#39;rrdtool tune&#39;?</p>
</div><div><p class="MsoNormal">   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?</p></div><div><p class="MsoNormal">   </p>
</div><div><p class="MsoNormal">Thanks for help! I&#39;m very appreciated.</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br clear="all"><span style="color:#666666">-- Leandro Toledo de Souza</span><span style="color:#999999"><br>
<a href="http://www.leandrotoledo.com.br" target="_blank">www.leandrotoledo.com.br</a></span></p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><i><span style="color:#999999">&quot;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.&quot;</span></i><span style="color:#999999"> </span></p>
</blockquote><p class="MsoNormal" align="right" style="text-align:right"><b><span style="color:#999999">George Bernard Shaw </span></b></p><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:5.25pt">
<br><br></p><p class="MsoNormal"> </p></div></div></div></div></div></blockquote></div><br>