This is a discussion on Re: [rrd-users] Optimize RRD update within the RRD Users forums, part of the Networking and Network Related category; --===============1044568476== Content-Type: multipart/alternative; boundary="----=_Part_7423_11574843.1202214695810" ------=_Part_7423_11574843.1202214695810 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1044568476==
Content-Type: multipart/alternative; boundary="----=_Part_7423_11574843.1202214695810" ------=_Part_7423_11574843.1202214695810 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have an another (last) question. 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. For example, if i have the values : 4 Nan Nan Nan Nan The stored value for 5 minutes is 4 (4/1) instead of 4/5. Is it normal and is there a solution ? Sam had talk about a solution to "collect and batch several RRD updates to run at once" but i do not find the information in the archive list. Could you indicate me the method. Thanks 2008/2/4, Gwenael Lahay <gwenael.lahay@wanadoo.fr>: > > Hello, > > To be more concrete, i use rrd files to store data extracted by the tool > Flowscan. > The tool calculates the bits/sec and packets/sec on a network. > I store this result in rrd files (the tool calculate the average for 1 > minutes). > > For the moment, i use this parameters : > > step 60 > > DS:bytes:ABSOLUTE:300:0:U > DS:pkts:ABSOLUTE:300:0:U > DS:flows:ABSOLUTE:300:0:U > > and > > RRA:AVERAGE:0:1:4320 > RRA:AVERAGE:0.8:5:2016 > RRA:AVERAGE:0.94:15:2976 > > Flowscan tool returns only values different to zero. > If there is no data, it means that there is no flow on the network (zero > value). > > do i use correct parameters ? > > > 2008/2/4, Fabien Wernli <wernli@in2p3.fr>: > > > > On Sun, Feb 03, 2008 at 06:48:06PM +0100, Gwenael Lahay wrote: > > > I update my rrd file to put zero values because my rrd file stores 3 > > > frequency of the same data. > > > > and only one of the 3 gets updated at any one time? > > > > > correctly the average value for 5 minutes and half and hour. > > > For example, i have the following value for a 5 minutes interval : > > > NaN 3 NaN NaN NaN NaN > > > The program store a NaN data for this 5 minutes interval. > > > > so what is Nan: the measure (rrdtool fetch output) or your calculation > > (rrdtool graph) or both? > > If you manually calculate the average between frequencies, you may wanna > > play with RPN IF expressions to check for nan values > > > > _______________________________________________ > > rrd-users mailing list > > rrd-users@lists.oetiker.ch > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > > > ------=_Part_7423_11574843.1202214695810 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hi,</div> <div> </div> <div>I have an another (last) question.</div> <div> </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> </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> </div> <div>Is it normal and is there a solution ?</div> <div> </div> <div>Sam had talk about a solution to "collect and batch several RRD updates to run at once" but i do not find the information in the archive list. Could you indicate me the method.</div> <div> </div> <div>Thanks<br><br> </div> <div><span class="gmail_quote">2008/2/4, Gwenael Lahay <<a href="mailto:gwenael.lahay@wanadoo.fr">gwenael.lah ay@wanadoo.fr</a>>:</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> </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> </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> </div> <div>step 60</div> <div> </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> </div> <div align="left"><font face="" color="#000000" size="2">and</font></div> <div><font face="" color="#000000" size="2"></font> </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> </div> <div><font size="2">Flowscan tool returns only values different to zero.</font></div> <div><font size="2">If there is no data, it means that there is no flow on the network (zero value).</font></div> <div><font size="2"></font> </div> <div><font size="2">do i use correct parameters ?</font></div><br><br> <div><span class="gmail_quote">2008/2/4, Fabien Wernli <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>>:</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>> I update my rrd file to put zero values because my rrd file stores 3<br> > frequency of the same data.<br><br>and only one of the 3 gets updated at any one time?<br><br>> correctly the average value for 5 minutes and half and hour.<br>> For example, i have the following value for a 5 minutes interval :<br> > NaN 3 NaN NaN NaN NaN<br>> 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> ------=_Part_7423_11574843.1202214695810-- --===============1044568476== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users --===============1044568476==-- |