<div>Hi,</div>
<div>&nbsp;</div>
<div>I have an another (last)&nbsp;question.</div>
<div>&nbsp;</div>
<div>When i use a xff of 0.8 for the frequency 5 minutes, the rrdtool does not calculate correctly the average if the there is only one value.</div>
<div>&nbsp;</div>
<div>For example, if i have the values : 4 Nan Nan Nan Nan</div>
<div>The stored value for 5 minutes is 4 (4/1) instead of 4/5.</div>
<div>&nbsp;</div>
<div>Is it normal and is there a solution ?</div>
<div>&nbsp;</div>
<div>Sam had talk about a solution to&nbsp;&quot;collect and batch several RRD updates to run at once&quot; but i do not find the information in the archive list. Could you indicate me the method.</div>
<div>&nbsp;</div>
<div>Thanks<br><br>&nbsp;</div>
<div><span class="gmail_quote">2008/2/4, Gwenael Lahay &lt;<a href="mailto:gwenael.lahay@wanadoo.fr">gwenael.lahay@wanadoo.fr</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font color="#000000">Hello,</font></div>
<div><font color="#000000"></font>&nbsp;</div>
<div><font color="#000000">To be more concrete, i use rrd files to store data extracted by the tool Flowscan.</font></div>
<div><font color="#000000">The tool calculates the bits/sec and packets/sec on a network.</font></div>
<div>I store this result in rrd files (the tool calculate the average for 1 minutes).</div>
<div>&nbsp;</div>
<div><font face="" color="#000000" size="2">For the moment, i use this parameters :</font></div>
<div><font face="" color="#000000" size="2"></font>&nbsp;</div>
<div>step 60</div>
<div>&nbsp;</div>
<div align="left"><font size="2"><font color="#000000"><font face="">DS:<font size="2">bytes:</font>ABSOLUTE<font size="2">:300:0:U</font></font></font></font></div>
<div align="left"><font face="" color="#000000" size="2">DS:<font size="2">pkts</font>:ABSOLUTE:300:0:U</font></div>
<div align="left"><font face="" color="#000000" size="2">DS:<font size="2">flows</font>:ABSOLUTE:300:0:U</font></div>
<div align="left"><font face="" color="#000000"></font>&nbsp;</div>
<div align="left"><font face="" color="#000000" size="2">and</font></div>
<div><font face="" color="#000000" size="2"></font>&nbsp;</div>
<div><font face="" color="#000000" size="2">RRA:AVERAGE:0:1:4320</font></div>
<div><font face="" color="#000000" size="2">RRA:AVERAGE:0.8:5:2016</font></div>
<div><font face="" color="#000000" size="2">RRA:AVERAGE:0.94:15:2976</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">Flowscan tool returns only values different to zero.</font></div>
<div><font size="2">If there is no data,&nbsp;it means that there is no flow on the network (zero value).</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">do i use correct parameters ?</font></div><br><br>
<div><span class="gmail_quote">2008/2/4, Fabien Wernli &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>&gt;:</span> 
<div><span class="e" id="q_117e3ef920577041_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sun, Feb 03, 2008 at 06:48:06PM +0100, Gwenael Lahay wrote:<br>&gt; I update my rrd file to put zero values because my rrd file stores 3<br>
&gt; frequency of the same data.<br><br>and only one of the 3 gets updated at any one time?<br><br>&gt; correctly the average value for 5 minutes and half and hour.<br>&gt; For example, i have the following value for a 5 minutes interval :<br>
&gt; NaN 3 NaN NaN NaN NaN<br>&gt; The program store a NaN data for this 5 minutes interval.<br><br>so what is Nan: the measure (rrdtool fetch output) or your calculation<br>(rrdtool graph) or both?<br>If you manually calculate the average between frequencies, you may wanna<br>
play with RPN IF expressions to check for nan values<br><br>_______________________________________________<br>rrd-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br></blockquote></span></div></div>
<br></blockquote></div><br>