More precisely with an example :<br><br>rrdtool create example/example.rrd             \<br>             --start 1000000000         \<br>             --step 1 \<br>              DS:consoelec:COUNTER:2:U:U   \<br>              RRA:AVERAGE:0.5:1:10       \<br>
<br>rrdtool update example/example.rrd 1000000001:1<br>rrdtool update example/example.rrd 1000000002:2<br>rrdtool update example/example.rrd 1000000003:4<br>rrdtool update example/example.rrd 1000000004:7<br>rrdtool update example/example.rrd 1000000005:8<br>
rrdtool update example/example.rrd 1000000006:10<br>rrdtool update example/example.rrd 1000000007:13<br>rrdtool update example/example.rrd 1000000008:14<br>rrdtool update example/example.rrd 1000000009:15<br>rrdtool update example/example.rrd 1000000010:17<br>
<br>rrdtool graph example.png --start 1000000001 --end 1000000015 --x-grid SECOND:1:SECOND:5:SECOND:10:0:%s DEF:x=example/example.rrd:consoelec:AVERAGE <br>CDEF:predict=2,-2,1,x,PREDICT LINE1:x#00FF00:conso LINE2:predict#0000FF:predict<br>
<br>At t=1000000011, my computation is : Average between 1 (value between 1000000007 and 1000000008) and 1 (value between 1000000004 and 1000000005) = 1.<br>Or in the graph, value at t=1000000011 is aproximately 1.55 .<br>
<br>( graph on <a href="http://yfrog.com/47examplerp">http://yfrog.com/47examplerp</a> )<br><br>Where is my mistake?<br><br>Thanks<br clear="all"><br><br>Etienne Marie <br>