projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix glib dependency for --disable-rrd_graph and update library versions (fix for...
[rrdtool.git]
/
doc
/
cdeftutorial.pod
diff --git
a/doc/cdeftutorial.pod
b/doc/cdeftutorial.pod
index
cced74a
..
b2016a2
100644
(file)
--- a/
doc/cdeftutorial.pod
+++ b/
doc/cdeftutorial.pod
@@
-12,7
+12,7
@@
adding it to this document would benefit most users, please do ask me
to add it. I will then try to provide an answer in the next release
of this tutorial. No feedback equals no changes! Additions to
this document are also welcome. -- Alex van den Bogaerdt
to add it. I will then try to provide an answer in the next release
of this tutorial. No feedback equals no changes! Additions to
this document are also welcome. -- Alex van den Bogaerdt
-E<lt>alex@
ergens.op.het.net
E<gt>
+E<lt>alex@
vandenbogaerdt.nl
E<gt>
=head2 Why this tutorial?
=head2 Why this tutorial?
@@
-617,7
+617,7
@@
numbers (or zero) only.
Let's compile the complete CDEF:
DEF:ds0=router1.rrd:AVERAGE
Let's compile the complete CDEF:
DEF:ds0=router1.rrd:AVERAGE
- CDEF:ds0modified=TIME,begintime,G
E,TIME,endtime,LE,*,UNKN,ds0
,IF
+ CDEF:ds0modified=TIME,begintime,G
T,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:
This will return the value of ds0 if both comparisons return true. You
could also do it the other way around:
@@
-862,7
+862,7
@@
You may do some complex data filtering:
DEF:var=database.rrd:traffic:AVERAGE
CDEF:prev1=PREV(var)
DEF:var=database.rrd:traffic:AVERAGE
CDEF:prev1=PREV(var)
- CDEF:time=TIME
+ CDEF:time=
var,POP,
TIME
CDEF:prevtime=PREV(time)
CDEF:derivate=var,prev1,-,time,prevtime,-,/
LINE3:derivate#000077:derivate
CDEF:prevtime=PREV(time)
CDEF:derivate=var,prev1,-,time,prevtime,-,/
LINE3:derivate#000077:derivate
@@
-875,7
+875,7
@@
This document was created from questions asked by either myself or by
other people on the RRDtool mailing list. Please let me know if you
find errors in it or if you have trouble understanding it. If you
think there should be an addition, mail me:
other people on the RRDtool mailing list. Please let me know if you
find errors in it or if you have trouble understanding it. If you
think there should be an addition, mail me:
-E<lt>alex@
ergens.op.het.net
E<gt>
+E<lt>alex@
vandenbogaerdt.nl
E<gt>
Remember: B<No feedback equals no changes!>
Remember: B<No feedback equals no changes!>
@@
-886,4
+886,4
@@
The RRDtool manpages
=head1 AUTHOR
Alex van den Bogaerdt
=head1 AUTHOR
Alex van den Bogaerdt
-E<lt>alex@
ergens.op.het.net
E<gt>
+E<lt>alex@
vandenbogaerdt.nl
E<gt>