<br><br>
<div class="gmail_quote">On Jan 30, 2008 6:52 AM, Alex van den Bogaerdt <<a href="mailto:alex@ergens.op.het.net">alex@ergens.op.het.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">On Wed, Jan 30, 2008 at 06:28:35AM -0500, solaris identity wrote:<br>> Hi,<br>><br>> is it possible to update rrd files from data from the history. A rrd file<br>> created with -b option and with a time in the past, let's say "now -100".<br>
> Can I update this file with values from "now -95" if the heartbeat is 10s.<br>> Or will the data be rejected? is the interval calculation always based on<br>> the current time or the time from "-b" option.<br>
<br><br></div></div>In short: you can, yes, no, no and yes.<br><br>'Last updated' time is set in the database. Using '-b' you can set this into<br>the past.<br><br>All updates should occur after, thus not before or on, 'Last updated'.<br>
<br>An update which is tried before or on 'Last updated' is ignored and is<br>considered not to have happened.<br><br>Updating the database will set 'Last updated' to the time in that update,<br>which is 'now' only if you use 'N' as your time.<br>
<br></blockquote>
<div> Alex,</div>
<div> </div>
<div>Thanks.</div>
<div> </div>
<div>I have now what I think is a graphing problem, A an empty grpah is produced, I hace included</div>
<div>o/p from rrd_fetch_fn. </div>
<div> </div>
<div>
<div>#1200915541 Mon Jan 21 06:39:01 2008</div>
<div> </div></div>
<div>/usr/local/rrdtool-1.2.99907080300/bin/rrdtool create test.rrd -b 1200915541 -s 5 \<br>DS:t1:GAUGE:60:U:U \<br>DS:t2:GAUGE:60:U:U \<br>RRA:AVERAGE:0.5:1:12 \<br>RRA:AVERAGE:0.5:6:2</div>
<div> </div>
<div>#1200915600 Mon Jan 21 06:40:00 2008<br>#1200915660 Mon Jan 21 06:41:00 2008<br>#1200915720 Mon Jan 21 06:42:00 2008<br>#1200915780 Mon Jan 21 06:43:00 2008<br>#1200915840 Mon Jan 21 06:44:00 2008<br>
#1200915900 Mon Jan 21 06:45:00 2008</div>
<div><br>/usr/local/rrdtool-1.2.99907080300/bin/rrdtool update test.rrd 1200915600:10:10 1200915660:20:20<br> 1200915720:30:30 1200915780:40:40 1200915840:50:50 1200915900:60:60</div>
<div><br>/usr/local/rrdtool-1.2.99907080300/bin/rrdtool graph t1.png -e 1200915840 -s 1200915600 -t "test " -v "simple test" DEF:ds0=test.rrd:t1:AVERAGE LINE1:ds0#0000FF:simple_test<br></div>
<div> </div>
<div>Entered rrd_fetch_fn() searching for the best match<br>Looking for: start 1200915600 end 1200915840 step 0<br>Considering: start 1200915840 end 1200915900 step 5 best partial so far<br>Considering: start 1200915840 end 1200915900 step 30 partial match, not best<br>
We found: start 1200915600 end 1200915845 step 5 rows 50<br>rra_start 1200915845, rra_end 1200915900, start_off -48, end_off 11<br>First Seek: rra_base 1144 rra_pointer 12<br>pre fetch -48 -- NaN NaN<br>
pre fetch -47 -- NaN NaN<br>pre fetch -46 -- NaN NaN<br>pre fetch -45 -- NaN NaN<br>pre fetch -44 -- NaN NaN<br>pre fetch -43 -- NaN NaN<br>pre fetch -42 -- NaN NaN<br>
pre fetch -41 -- NaN NaN<br>pre fetch -40 -- NaN NaN<br>pre fetch -39 -- NaN NaN<br>pre fetch -38 -- NaN NaN<br>pre fetch -37 -- NaN NaN<br>pre fetch -36 -- NaN NaN<br>
pre fetch -35 -- NaN NaN<br>pre fetch -34 -- NaN NaN<br>pre fetch -33 -- NaN NaN<br>pre fetch -32 -- NaN NaN<br>pre fetch -31 -- NaN NaN<br>pre fetch -30 -- NaN NaN<br>
pre fetch -29 -- NaN NaN<br>pre fetch -28 -- NaN NaN<br>pre fetch -27 -- NaN NaN<br>pre fetch -26 -- NaN NaN<br>pre fetch -25 -- NaN NaN<br>pre fetch -24 -- NaN NaN<br>
pre fetch -23 -- NaN NaN<br>pre fetch -22 -- NaN NaN<br>pre fetch -21 -- NaN NaN<br>pre fetch -20 -- NaN NaN<br>pre fetch -19 -- NaN NaN<br>pre fetch -18 -- NaN NaN<br>
pre fetch -17 -- NaN NaN<br>pre fetch -16 -- NaN NaN<br>pre fetch -15 -- NaN NaN<br>pre fetch -14 -- NaN NaN<br>pre fetch -13 -- NaN NaN<br>pre fetch -12 -- NaN NaN<br>
pre fetch -11 -- NaN NaN<br>pre fetch -10 -- NaN NaN<br>pre fetch -9 -- NaN NaN<br>pre fetch -8 -- NaN NaN<br>pre fetch -7 -- NaN NaN<br>pre fetch -6 -- NaN NaN<br>
pre fetch -5 -- NaN NaN<br>pre fetch -4 -- NaN NaN<br>pre fetch -3 -- NaN NaN<br>pre fetch -2 -- NaN NaN<br>pre fetch -1 -- NaN NaN<br>wrap seek ...<br>
post fetch 0 -- 10.00 10.00<br>497x179<br></div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div> </div>
<div> </div></div><br>