X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Fcdeftutorial.pod;h=72d18070f2c2a5462e4f091a1f381c9817fbed58;hb=2d67874e0519bd8ee74baeea9dc961a7021696bc;hp=cced74aa4613855359fbb13c0489473e87347c86;hpb=6836df3d35177c87c3d03e0c622d738305bd390c;p=rrdtool.git diff --git a/doc/cdeftutorial.pod b/doc/cdeftutorial.pod index cced74a..72d1807 100644 --- a/doc/cdeftutorial.pod +++ b/doc/cdeftutorial.pod @@ -617,7 +617,7 @@ numbers (or zero) only. Let's compile the complete CDEF: DEF:ds0=router1.rrd:AVERAGE - CDEF:ds0modified=TIME,begintime,GE,TIME,endtime,LE,*,UNKN,ds0,IF + CDEF:ds0modified=TIME,begintime,GT,TIME,endtime,LE,*,ds0,UNKN,IF This will return the value of ds0 if both comparisons return true. You could also do it the other way around: