[rrd-developers] Re: Implementing TOTAL

Mark Mills mark at xodiax.com
Wed Jul 25 23:11:41 MEST 2001


> -----Original Message-----
> From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
> Subject: [rrd-developers] Implementing TOTAL
>
> No feedback yet on my VDEF stuff (hint hint) but I'm thinking of
> adding something already.

Oh I'll have some soon. =) Got to get a test box working first.

> Every now and then there's a request for the total amount of <foo>
> during the interval.  A VDEF:bar=foo,TOTAL line could do the trick
> and can be implemented rather quick.
> 
> What would be the prefered way to handle unknown intervals?  There
> are two options as far as I can see:
> 
> 1) average(all rates)*timespan(graph)
> 2) sum(for each defined interval:(rate*stepsize))
> The difference would be the unknown intervals.  In the first case
> unknown intervals are assumed to be at the average rate, in the
> second case unknown intervals are assumed to be zero.

Do both? TOTALSUM, TOTALAVG are really ugly suggestions for names. =)

Or alternately make TOTAL a raw sum and supply a COUNT and STEPS so we
can calculate it manually?

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list