I hear what you are saying. I was entering in about 4000 data points spread out across 24 hrs and getting these type of errors:<div><div>return_value = -1</div><div>' to float not complete: tail 'rsion of '0</div>
<div><br></div><div>I decreased the data count to 2 to see if I could isolate which value was causing that tail rsion error. I will play around further with what you suggested but any ideas on the error noted above?</div>
<div><br></div><div>Thanks for all your time. I really appreciate it.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Jan 19, 2012 at 1:55 PM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>></span> wrote:<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;font-family:"Calibri","sans-serif";color:#1f497d">You are not entering enough values to get a complete cdp.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This is important:<u></u><u></u></span></p>
<p class="MsoNormal">--start 1325232008 --step 180 \<u></u><u></u></p><div class="im"><p class="MsoNormal">…<u></u><u></u></p><p class="MsoNormal">RRA:AVERAGE:0.5:20:10000<u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What this says is the STEP of the RRD is 180 seconds, or 3 minutes (often, people will use 1min or 5min).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You are only STORING the data in a single RRA, which has 10,000 cdp lines, where each cdp (consolidated data point) is the AVERAGE of 20 dps (data points).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So, you need to write 20 data points, at 3min intervals, before you get ONE cdp stored. Your xff is 0.5 which means that a cdp will remain unknown until at least 50% (IE, 10) points are written.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This means you will get NaN output from your fetch until you have done at least 30 mins of data!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Your test data had only 2 data points, and they are only 21 seconds apart, so the second would be ignored anyway. Try entering in at least 10 dps, with time intervals of 180, and you should start seeing a single cdp on your fetch.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I suspect you are not setting the step or RRA parameters appropriately. Maybe try an additional RRA with AVERAGE:0.5:1:10000 (so each data point is stored), and/or decrease the step?<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Steve<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><hr size="2" width="100%" align="center">
</span></div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Steve Shipway<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ITS Unix Services Design Lead<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d">University of Auckland, New Zealand<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Floor 1, 58 Symonds Street, Auckland<u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#595959">Phone: <a href="tel:%2B64%20%280%299%203737599%20ext%2086487" value="+6493737599" target="_blank">+64 (0)9 3737599 ext 86487</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#595959">DDI: <a href="tel:%2B64%20%280%299%20924%206487" value="+6499246487" target="_blank">+64 (0)9 924 6487</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#595959">Mobile: <a href="tel:%2B64%20%280%2921%20753%20189" value="+6421753189" target="_blank">+64 (0)21 753 189</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#595959">Email: <a href="mailto:s.shipway@auckland.ac.nz" target="_blank"><span style="color:#595959">s.shipway@auckland.ac.nz</span></a><u></u><u></u></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;font-family:"Calibri","sans-serif";color:blue"> </span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:green">Please consider the environment before printing this e-mail</span><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue"> </span><span lang="EN-GB" style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:navy"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></i></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> v g [mailto:<a href="mailto:infiniteseeker@gmail.com" target="_blank">infiniteseeker@gmail.com</a>] <br>
<b>Sent:</b> Friday, 20 January 2012 6:56 a.m.<br><b>To:</b> Steve Shipway<br><b>Cc:</b> <a href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br><b>Subject:</b> Re: [rrd-users] Help with RRD.... in over my head<u></u><u></u></span></p>
</div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks for your reply. Still having an issue but managed to isolate it further. It looks like it enters the first update correctly and then fails on the subsequent ones. Obviously, I am not doing something correct but I cant figure out what. <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Here is what I did as per your suggestion:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Creating RRD file:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">rdtool create birken-boiler.rrd \<u></u><u></u></p>
</div><div><p class="MsoNormal">--start 1325232008 --step 180 \<u></u><u></u></p></div><div><p class="MsoNormal">DS:boiler_out_flow:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:boiler_in_flow:GAUGE:600:0:U \<u></u><u></u></p>
</div><div><p class="MsoNormal">DS:vihara_in_flow:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:vihara_out_flow:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:outbldg_in_flow:GAUGE:600:0:U \<u></u><u></u></p>
</div><div><p class="MsoNormal">DS:outbldg_out_flow:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:cistern_top:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:cistern_bottom:GAUGE:600:0:U \<u></u><u></u></p>
</div><div><p class="MsoNormal">DS:boiler_flow_gpm:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:vihara_flow_gpm:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:outbldg_flow:GAUGE:600:0:U \<u></u><u></u></p>
</div><div><p class="MsoNormal">DS:boiler_btu_per_hr:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:vihara_btu_per_hr:GAUGE:600:0:U \<u></u><u></u></p></div><div><p class="MsoNormal">DS:outbldg_btu_per_hr:GAUGE:600:0:U \<u></u><u></u></p>
</div><div><p class="MsoNormal">RRA:AVERAGE:0.5:20:10000<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Entering in Values:<u></u><u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><div><p class="MsoNormal">rrdtool updatev birken-boiler.rrd 1325404770:102.7:137.1:140.0:122.6:126.8:122.2:258.7:138.4:0.0:5.0:0.0:0:43482:0<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev birken-boiler.rrd 1325404791:102.6:137.2:140.2:121.9:126.7:122.1:260.2:145.2:0.0:5.0:0.0:0:45586:0<u></u><u></u></p>
</div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Output:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">return_value = 0<u></u><u></u></p>
</div><div><p class="MsoNormal">[1325235600]RRA[AVERAGE][20]DS[boiler_out_flow] = NaN<u></u><u></u></p></div><div><p class="MsoNormal">[1325235600]RRA[AVERAGE][20]DS[boiler_in_flow] = NaN<u></u><u></u></p></div><div><p class="MsoNormal">
[1325235600]RRA[AVERAGE][20]DS[vihara_in_flow] = NaN<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></blockquote></div><br></div></div>