> 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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to