[rrd-users] large fetch results from CDPs

Dan.Byers at magma.ca Dan.Byers at magma.ca
Thu Apr 29 23:08:33 MEST 2004


i have this RRD definition:
RRDs::create ( path, "--start", $start, "--step", 300,
                        "DS:ifInOctets:COUNTER:600:0:U",
                        "DS:ifOutOctets:COUNTER:600:0:U",
                        "RRA:AVERAGE:0.5:1:17856",              ## daily 5 
min, keep for 62 days
                        "RRA:MAX:0.5:1:288",
                        "RRA:AVERAGE:0.5:6:336",                        ## 
weekly 30 min
                        "RRA:MAX:0.5:6:336",
                        "RRA:AVERAGE:0.5:24:372",               ## monthly 
120 min, (2hr)
                        "RRA:MAX:0.5:24:372",
                        "RRA:AVERAGE:0.5:288:$yearCount",       ## 2 years 
24 hr
                        "RRA:MAX:0.5:288:$yearCount");

the crux of the entire thing is that i need 30 days of 5 minute data to 
handle 95th percentile and monthly totals.... and for potential problems, 
i have 62 days of 5 minute data being stored.

i am trying to define those RRAs to record the 5 minute daily averages, 30 
minute weekly averages, 2 hr monthly averages, and 24 hr yearly averages

i populate with about 1 year of five minute data (confirmed all data is 
there)

then i do a simple fetch:

rrdtool fetch file.rrd AVERAGE --start -1d
        - returns 292 entries

rrdtool fetch file.rrd AVERAGE --start -1w
        - 2020 entries (!!!)

rrdtool fetch file.rrd AVERAGE --start -1m
        - 8920 entries (!!!)

rrdtool fetch file.rrd AVERAGE --start -1y
        - 370 entries

the number of weekly and monthly entries are crazy-huge... how come the 
fetch isn't "consolidating" properly with the RRAs that i should be 
maintaining?  can anyone shed some light?

perhaps i've been looking at this too long, and i truly apologize for not 
finding any hints through the archive... i'm kinda at a loss.

thanks for your time, and any assistance, 
Dan



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