summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9850cc)
raw | patch | inline | side by side (parent: d9850cc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Oct 2008 14:32:09 +0000 (14:32 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 30 Oct 2008 14:32:09 +0000 (14:32 +0000) |
program/doc/cdeftutorial.pod | patch | blob | history |
index cced74aa4613855359fbb13c0489473e87347c86..72d18070f2c2a5462e4f091a1f381c9817fbed58 100644 (file)
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: