[rrd-users] Re: Calculating average when aggregating

Stephan Harren sh at abovenet.de
Mon Aug 5 11:19:17 MEST 2002


Good idea,

but will the average be built from the first timestamp on with the first 
started rrd or will it be the same like with the graph ? I'm asking 
this, because there may be funny averages if the average will just be 
built from the start of the last rrd on.

Best regards,

Stephan

Geert van der Ploeg wrote:
>>I need to aggregate some rrds into one graph. If I do this, the 
>>aggregated graph starts with the timestamp when the last rrd was started.
>>
>>To get around this, i use the following RPN:
>>
>>ds1,UN,0,ds1,IF
>>
>>Now the graph seems to be ok, but the average is calculated for the 
>>whole time period. This is also a problem, because especially for the 
>>yearly graph, the average isn't as high as it should be (a lot of zero 
>>values where there should be unknowns).
>>
>>Does anybody know, how I get around this ?
> 
> 
> 
> You should create another CDEF, for the average-calculating.
> 
> So:
> 1 CDEF for making a nice graph (converting UNKNOWN values into zero's)
> 1 CDEF for calculating an average (leaving the UNKNOWN values as-is)
> 
> And then graph the nice-graph-CDEF, and print the average-CDEF.
> 
> 
> Regards,
> 
> Geert van der Ploeg
> Triple IT
> 
> --
> 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
> 
> 


-- 
Stephan Harren
Manager Site Operations
MFN-IS Germany
Tel 	0049 69 90554 153
Cell 
0049 173 7011126
Fax 
0049 69 90554 111

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