<br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 8:00 PM, Simon Hobson <span dir="ltr"><<a href="mailto:linux@thehobsons.co.uk" target="_blank">linux@thehobsons.co.uk</a>></span> wrote:<br><div>(...) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
</div>Which you can get with :<br>
<br>
cdef:data_sums=data_avg,${res_step},*<br>
<br>
Where ${res_step} is the length of the consolidation interval being<br>
used. In your example, 1800 seconds.<br>
<br>
What might be more useful might be an option to handle unknowns<br>
differently during consolidation.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>the only problem is that when rrdtool selects the consolidation interval automatically you have no easy way to obtain that value in your cdef calculation. Even if you specify the interval in the command line, rrdtool can silently use a larger value if RRA data resolution is lower than specified and you'll get invalid sums on the graph.</div>
<div>And I'm not yet sure what to do with unknowns - probably you could prevent unknowns by using large heartbeat parameter during rrd creation and large xfiles factor for RRAs</div><div>RG</div><div><br></div><div><br>
</div></div>