diff --git a/doc/cdeftutorial.pod b/doc/cdeftutorial.pod
index 6a45ef4a0d4fcf5aa1e9288ba7bc3ec1d1960e1c..2cfe586908c50d09cc7b3168d57899fc30554231 100644 (file)
--- a/doc/cdeftutorial.pod
+++ b/doc/cdeftutorial.pod
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:
5. push 32
6. push function "plus" and process it
the stack contains now the temperature in Fahrenheit
-
+
=head2 Changing unknown into zero
rrdtool graph demo.png --title="Demo Graph" \