[rrd-users] Re: Summing up again

Alex van den Bogaerdt alex at ergens.op.HET.NET
Fri May 17 12:53:15 MEST 2002


Matthias Mikuletz wrote:

> as I understood the answer of Tobi, he is not quite willing to have such
> an additional consolidation function added. Probably because keeping the
> update function small and efficient is a main point.

I think Tobi doesn't have a problem with this (more on this later on).

> But then a perfect solution would be to have the possibility to use a
> variable in CDEF's that represents the number of consolidated points in an
> RRA, BUT DIFFERENT FOR EVERY RRA IN THE RRD, because the whole problem
> arises since an 'rrdtool graph .... CDEF..' command applies to all the RRA
> in the RRD.

The "rate multiplied with time" is fairly easy.  This is the exact amount
of emails/bytes/whatever; just remember that the numbers you're working
with are already normalized.

> You could then call 'rrdtool graph' with one CDEF that says 'multiply
> data_source (which is AVERAGE CF'ed in the RRA's ) by steps_rra (which is
> the steps value of the RRA's RESPECTIVELY).
> 
> Wouldn't this be great!

I think you need to have a look at the 1.1.x development source tree !

> Tobi, would it be a problem to have something like this being implemented?
> I cannot determine how complex this would be.

I *know* it *wasn't* that complex to add.  And Tobi didn't complain :)

The only thing is that you need to look for "TOTAL" not "SUM".

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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