[rrd-users] Re: Newbie problem

Steve Robb steve_robb at cnt.com
Sun Mar 16 05:57:13 MET 2003


David/Justin

The value that you are storing in the RRD is a number that represents a '5
minute average expressed as units per second' which means that you need to
multiply the stored value by 300 (secs) in order to display something that
makes sense.

Using your example - 

   rrdtool graph spam-day.png --start -86400 \
            DEF:rss=spam.rrd:RSS:AVERAGE \
            DEF:dul=spam.rrd:DUL:AVERAGE \
            DEF:spews=spam.rrd:SPEWS:AVERAGE \
            DEF:spamhaus=spam.rrd:SPAMHAUS:AVERAGE \
            DEF:socks=spam.rrd:SOCKS:AVERAGE \
            DEF:sendmail_misc=spam.rrd:SENDMAIL_MISC:AVERAGE \
new>        CDEF:5minrss=rss,300,* \
new>        CDEF:5mindul=dul,300,* \
new>        CDEF:5minspews=spews,300,* \
new>        CDEF:5minspamhaus=spamhaus,300,* \
new>        CDEF:5minsocks=socks,300,* \
new>        CDEF:5minsendmail=sendmail,300,* \
new>        LINE2:5minrss#FF0000:"Legend for rss"\
new>        LINE2:5mindul#FF0000:"Legend for dul"\
new>        ...etc

Steve Robb

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list