617
617
Let's compile the complete CDEF:
619
619
DEF:ds0=router1.rrd:AVERAGE
620
CDEF:ds0modified=TIME,begintime,GT,TIME,endtime,LE,*,ds0,UNKN,IF
620
CDEF:ds0modified=TIME,begintime,GT,TIME,endtime,LE,*,ds0,UNKN,IF
622
622
This will return the value of ds0 if both comparisons return true. You
623
623
could also do it the other way around: