[rrd-users] Correct CDEF to get the spam count right?
vli at vcn.bc.ca
Tue Jan 30 23:29:15 CET 2007
I am new to rrdtool, and I am using parselog http://rekudos.net/parselog/
to parse amavisd-new log. Parselog create rrd files and parselog-cgi
graph the rrd files. Here is the relevant rrd database definition:
and my DEF/CDEF debug dump result:
INFECTED GPRINT:cdef1:AVERAGE:\:%5.1lf msgs
There are major Blocked_BANNED,Passed_CLEAN count differences between the
number shown on the graph and my simple unix grep count. The Blocked_SPAM
counts differences seems not that much.
There are quite some long periods that Blocked_BANNED, Passed_CLEAN
type message are zero or unknown.
I am just wondering what is the correct CDEF to caculate the total counts
of those type of messages or is there something wrong with the way to
feed the counts to rrd files?
Thanks in advance!
More information about the rrd-users