<div dir="ltr">Steve, thanks, I realized that a few minutes after sending the email. User error *sigh*</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 11:01 PM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">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">Your heartbeat is too small, and so it expires before the updates come in.<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 have a step of 86400 sec, which correctly corresponds to the interval between your updates.<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">However, the heartbeat for ds0 is 43200. Therefore, each update will have expired before being made. <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">Generally, you should make the heartbeat twice the step, unless you have specific reasons not to.<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">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><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"><a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a><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 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""> rrd-users-bounces+s.shipway=<a href="mailto:auckland.ac.nz@lists.oetiker.ch" target="_blank">auckland.ac.nz@lists.oetiker.ch</a> [mailto:<a href="mailto:rrd-users-bounces%2Bs.shipway" target="_blank">rrd-users-bounces+s.shipway</a>=<a href="mailto:auckland.ac.nz@lists.oetiker.ch" target="_blank">auckland.ac.nz@lists.oetiker.ch</a>] <b>On Behalf Of </b>Rick Dicaire<br>
<b>Sent:</b> Wednesday, 14 May 2014 1:47 p.m.<br><b>To:</b> <a href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br><b>Subject:</b> [rrd-users] back filling an rrd<u></u><u></u></span></p>
</div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">I have an rrd I created, it starts at epoch date 1377993600.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><div><p class="MsoNormal"> $PROG create $RRDFILE \<u></u><u></u></p></div><div><p class="MsoNormal"> --step '86400' \<u></u><u></u></p></div><div><p class="MsoNormal"> --start '1377993600' \<u></u><u></u></p>
</div><div><p class="MsoNormal"> 'DS:ds0:GAUGE:43200:U:U' \<u></u><u></u></p></div><div><p class="MsoNormal"> 'RRA:AVERAGE:0.5:1:730'<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">I have a script with data to update the rrd, here's the first few lines:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1380600000:0<u></u><u></u></p>
</div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1380686400:0<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1380772800:0<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1380859200:0<u></u><u></u></p>
</div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1380945600:0<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381032000:0<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381118400:937500000000<u></u><u></u></p>
</div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381204800:975000000000<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381291200:1875000000000<u></u><u></u></p></div><div><p class="MsoNormal">
rrdtool updatev f5_scraper.rrd 1381377600:2275000000000<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381464000:2975000000000<u></u><u></u></p></div><div><p class="MsoNormal">rrdtool updatev f5_scraper.rrd 1381550400:475000000000<u></u><u></u></p>
</div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">In all there's 224 update lines, with epoch timestamps 86400 seconds apart.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">I run the script, no errors, but no data gets input into the rrd.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Am I doing something wrong?<u></u><u></u></p>
</div></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>aRDy Music and Rick Dicaire present:<br><a href="http://www.ardynet.com">http://www.ardynet.com</a><br><a href="http://www.ardynet.com:9000/ardymusic.ogg.m3u">http://www.ardynet.com:9000/ardymusic.ogg.m3u</a>
</div>