Hello again dear experts,
I would like to use the functionality of CDEF and PREDICT, like this:
rrdtool.exe graph test.png DEF:value=mydb.rrd:count:AVERAGE
CDEF:predict=600,-2,300,value,PREDICT LINE1:var#FF
but I get this error here:
ERROR: invalid rpn expression in: 600,-2,300,value,PRED
Hi!
t0/t1/... is just the timestamp for which you are calculating the "prediction".
The Computation made is: F(t0)=AVG[ (t0-shift1-window ; t0-shift1) ;
(t0-shift2-window;t0-shift2);... ]
For other Predictions you have to use Holt-Winters forcasting during Data
gathering, but I have never used
More precisely with an example :
rrdtool create example/example.rrd \
--start 10 \
--step 1 \
DS:consoelec:COUNTER:2:U:U \
RRA:AVERAGE:0.5:1:10 \
rrdtool update example/example.rrd 11:1
rrdtool updat
I use the PREDICT function but i don't understand the operations made by
rrd.
I have several questions:
-How does rrd set t0 and what is gap between NOW and t0?
-What is the comptutation made by rrd?
Is it (for value at sample t0):
Avg[ Avg(t0-shift1-window ; t0-shift1) ; Avg(t0-shift2-windo