<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div><font class="Apple-style-span" face="Tahoma"><span class="Apple-style-span" style="font-size: small;"><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="4"><span class="Apple-style-span" style="font-size: 16px;"><br></span></font></span></font></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><br>On Thu, Jan 07, 2010 at 10:20:46PM -0800, AllSort ofQuestions wrote:<br><br>You've posted your question to rrd-developers, but this isn't a<br>developer question. You should post on rrd-users.<br><br>> I am going to monitor this for the next 10 years let's say and the plan is to use rrdtools graph to plot the trends.<br>> My problem right now
is that although I am loading the database and the script is not reporting errors when I open the database with RRDLiteEditor I can't see my data there excepting the last update.<br>> Here are the parameters that I use for this and the part of the script that is responsible for this.<br>> <br>> for ($i=0; $i<$#totalnumbers; $i=$i+2)<br>> {<br>> push @data_sources, "DS:$totalnumbers[$i]:GAUGE:100000:0:100000";<br>> }<br>> RRDs::create ('CCIE.rrd','-b 23:59 31.12.2005','-s 46800', @data_sources,'RRA:AVERAGE:0.01:365:10');<br>> <br>> And later I update the database, the $DS and $values are correct I already checked that. The values are in the desired range (0-100000).<br>> <br>> RRDs::update ('CCIE.rrd', $DS, $values);<br>> <br>> I would like rrdtool to interpolate the value for the missing days between existing samples and to store this in the database.<br>> This is why I used 365
(days) and 10 years and step 46800 (one day)<br><br>Minor problem, there 86400 seconds in a day.<br><br>Bigger problem, the heartbeat, or time limit between successive updates<br>without an unknown, is in the DS line and you've set it to 100000<br>seconds, or just over a day. Unless you update once a day, your graph<br>will be unknown.<br><br>The 365 value is in the RRA "steps" field. You're saying you want to<br>combine 365 primary data points (each of which is 46800 seconds large)<br>to turn into a single RRA point. So the RRA consists of steps that are<br>197 days in size, and you only want to record 10 of those steps.<br><br>It seems like if you really want your RRD to have primary data points of<br>1 day in size, you'll probably want your RRA "steps" to be set at 1, and<br>you'll want to keep a large number of rows (3655 or so for 10 years<br>worth).<br><br>And on the RRD, you'll want to turn the heartbeat up to
whatever<br>distance you can take before declaring the interval unknown. That field<br>is in seconds.<br><br>-- <br>Darren<br></div></div><div style="position:fixed"></div>
<!-- cg11.c3.mail.sp2.yahoo.com compressed/chunked Fri Jan 8 07:56:00 PST 2010 -->
</div><br>
<hr size=1>Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the <a href="http://ca.promos.yahoo.com/newmail/overview2/"><b>All-new Yahoo! Mail </b></a></body></html>