[rrd-users] RRD Newbie Help

Sturgis, Grant Grant.Sturgis at arraybiopharma.com
Wed Dec 17 00:56:44 MET 2003


Greetings all,

I admit I am an RRD newbie, but I have read all the tutorials and manuals and have tried several times to get this right.  I think I need a little nudge in the right direction, and I hope someone here can help.  

My goal is a spam / email graph.  I am getting the numbers everyday of how many emails are blocked by all the different methods we use to block spam, plus the legitimate email.  I have created a simplistic prototype:

rrdtool create mail.rrd -b 1063677780 \
--step 86400 \
DS:tot_mail:ABSOLUTE:129600:U:U \
DS:legit_mail:ABSOLUTE:129600:U:U \
RRA:AVERAGE:0.5:1:30 \
RRA:AVERAGE:0.5:7:52

rrdtool update mail.rrd \
-t tot_mail:legit_mail \
1063793700:2632:1749

rrdtool update mail.rrd \
-t tot_mail:legit_mail \
1063880100:2949:1769

rrdtool update mail.rrd \
-t tot_mail:legit_mail \
1063966500:2365:1525


and then:

rrdtool fetch mail.rrd AVERAGE -s 1063677780

1063670400: nan nan
1063756800: 2.2705314010e-02 1.5087991718e-02
1063843200: 2.9251821030e-02 1.8174033307e-02
1063929600: 3.0259452160e-02 1.8856577932e-02
1064016000: nan nan
1064102400: nan nan
1064188800: nan nan


My question is:

I do not want averages, I want real numbers.  I thought I was going to get real numbers because of the RRA:AVERAGE:0.5:1:30.  What should I be doing differently?  Am I on the right path at all?

Any comments, suggestions, pointers, RTFMs are greatly appreciated.

-G


Pardon this rubbish:


This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

--
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