[rrd-users] Re: 2 Newbie Questions, Summing up and making nice Legends

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Jul 16 13:45:48 MEST 2004


On Thu, Jul 15, 2004 at 11:36:02AM +0200, Philip Lawatsch wrote:

> First, whats the correct way to calculate a "total" sum of a graph?
> For instance I'm plotting network traffic and what I want to display is 
> basically the average * the time displayed in the Graph. However this is 
> wrong, really wrong, if the data contains unkown values since the 
> average cf only considers the values which are known. Is there a 
> consolidation function like TOTAL for a given amount of time?

If the data contains unknowns, how can you say one choice is better
than the next?

If you want to consider unknown data to be zero, use a CDEF to do
just that.  The average will be "correct" and so will your total.

Someone else could want to consider unknown data to be at the
maximum.  Again, using CDEF.

Which one to use depends on the user's needs.  Choosing the average
by default is as valid as any other default.

Alex
-- 
I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers.  If
you reply to me off-list, you'd better tell me you're doing so.  If
you don't, and if I reply to the list, that's your problem, not mine.

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