[rrd-users] Odd Behavior on MAX determination?
Pedro Goncalves
pgoncalves at net.telepac.pt
Tue Aug 7 16:04:25 MEST 2001
Hello
Im trying to get some stats about protocol usage from our network.
I collect data every 5 minutes and store it on a mysql db.
Upon mining request i create a rrd db with the following info
...
--start $start --step 300";
DS:ftp:ABSOLUTE:600:0:U
DS:http:ABSOLUTE:600:0:U
DS:smtp:ABSOLUTE:600:0:U
DS:pop3:ABSOLUTE:600:0:U
DS:irc:ABSOLUTE:600:0:U
DS:nntp:ABSOLUTE:600:0:U
DS:other:ABSOLUTE:600:0:U
DS:all:ABSOLUTE:600:0:U
RRA:AVERAGE:0.5:1:600
RRA:AVERAGE:0.5:6:700
RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797
RRA:MAX:0.5:1:600
RRA:MAX:0.5:6:700
RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:797
When i generate a daily graph, all MAX values are correct but when i
generate weekly graphs apparently rrdtool sums up the 2 highest values.
Is this the default behavior?
How can i obtain only the MAX value for a weekly period.
Here are my def's
...
DEF:FTP=$dbpath:ftp:AVERAGE";
DEF:FTPM=$dbpath:ftp:MAX";
...
CDEF:Ftp=FTP,UN,0,FTP,IF,8,*";
CDEF:FtpM=FTPM,UN,0,FTPM,IF,8,*";
...
GPRINT:Ftp:AVERAGE:\"Ftp (avg) %6.1lf %s\"";
GPRINT:pct_ftp:AVERAGE:\" %6.1lf%% of Total TCP\\l\"";
GPRINT:FtpM:MAX:\" (max) %6.1lf %s\\l\"";
Best Regards
Pedro Goncalves
--
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