Hi Steve,<div><br></div><div>   Thanks! Now I can go on.</div><div>   However, the only thing that I have not know is... How to add a new RRA:HWpredict with &#39;rrdtool tune&#39;?</div><div>   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?</div>
<div>   </div><div>Thanks for help! I&#39;m very appreciated.</div><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">You would probably need to make your plugin do something like this –</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Test rrd format (rrdtool info)</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>2.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">If rrd file has HWpredict RRAs defined goto 5</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>3.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Create HWpredict RRAs (rrdtool tune)</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>4.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Exit with unknown status</span></p><p><span style="font-size:11.0pt;color:#1F497D"><span>5.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Find current aberrant behaviour status (rrdtool fetch)</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>6.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Check if it is 1 or zero; if aberrant then exit status 2 showing value</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><span>7.<span style="font:7.0pt &quot;Times New Roman&quot;">       </span></span></span><span style="font-size:11.0pt;color:#1F497D">Else exit status 0 (possibly showing value?)</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">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 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"> mrtg-bounces+s.shipway=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a> [mailto:<a href="mailto:mrtg-bounces%2Bs.shipway" target="_blank">mrtg-bounces+s.shipway</a>=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a>] <b>On Behalf Of </b>Leandro Souza<br>
<b>Sent:</b> Monday, 14 March 2011 12:00 p.m.<br><b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br><b>Subject:</b> [mrtg] MRTG with RRD and RRA:HWPREDICT</span></p></div></div>
<div><div></div><div class="h5"><p class="MsoNormal"> </p><div><p class="MsoNormal">Hi,</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">   I&#39;m using MRTG with RRD. But I&#39;m trying to do a plugin for Nagios to detect aberrant behaviour. So, what I want to know is, is it possible? I mean, how to create, or to change, a RRD base for use with MRTG and in same time add a RRA:HWPREDICT support?</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">   Thanks,</p></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"> </p></div></div></div></div></div></blockquote></div><br></div>