<div>Hello,</div>
<div>&nbsp;</div>
<div>I store network flows in various rrd file.</div>
<div>&nbsp;</div>
<div>I use this options to create&nbsp;rrd&nbsp;files&nbsp;:</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">rrdtool create test.rrd
 --step 60 DS:bytes:ABSOLUTE:400:0:U DS:packets:ABSOLUTE:400:0:U DS:flows:ABSOLUTE:400:0:U RRA:AVERAGE:1:0:4320 RRA:AVERAGE:0:5:2016 RRA:AVERAGE:0:15:2976</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">I create a rrd when i found a flow.
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">I have a problem on average calculation.
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">For example, i detect a flow at 2007-11-14 10:30:00. Then i create a file with the first value at this timestamp.
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">Then, i have only zero value.
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">...</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">&lt;!-- 2007-11-14 10:28:00 CET / 1195032480 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;
<br>&lt;!-- 2007-11-14 10:29:00 CET / 1195032540 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 10:30:00 CET / 1195032600 --&gt; &lt;row&gt;&lt;v&gt; 
1.5000000000e+00 &lt;/v&gt;&lt;v&gt; 1.6666666667e-02 &lt;/v&gt;&lt;v&gt; 1.6666666667e-02 &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 10:31:00 CET / 1195032660 --&gt; &lt;row&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 
0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 10:32:00 CET / 1195032720 --&gt; &lt;row&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 
0.0000000000e+00 &lt;/v&gt;&lt;/row&gt;<br>...</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">
</span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">The problem is that the average which is calculated every half an hour indicates NaN&nbsp;at 10:30:00 while i am waiting from a value greater than zero.
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">&nbsp;&lt;!-- 2007-11-14 09:00:00 CET / 1195027200 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;
<br>&lt;!-- 2007-11-14 09:30:00 CET / 1195029000 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 10:00:00 CET / 1195030800 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;
<br>&nbsp;&lt;!-- 2007-11-14 10:30:00 CET / 1195032600 --&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 11:00:00 CET / 1195034400 --&gt; &lt;row&gt;&lt;v&gt; 
0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;/row&gt;<br>&lt;!-- 2007-11-14 11:30:00 CET / 1195036200 --&gt; &lt;row&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 
0.0000000000e+00 &lt;/v&gt;&lt;v&gt; 0.0000000000e+00 &lt;/v&gt;&lt;/row&gt;</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">Could you help me ? Is there a solution to initialize the rdd with zero values ?
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">Thanks </span></div>

<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">Sorry for my bad english
</span></div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<p><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA">&nbsp;</span></p>
<div><br>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: FR; mso-fareast-language: FR; mso-bidi-language: AR-SA"></span>&nbsp;</div>