[rrd-users] Re: MAX consolidation function

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Apr 9 00:06:34 MEST 2002


shane wrote:

> I have a question regarding the max consolidation function for rra's.  I've 
> written a script to feed in software license usage statistics to 
> rrdtool.  It updates every five minutes, giving the current number (an 
> integer value) of users for each software package. I've been getting odd 
> results though.  All of my RRA's are defined as a MAX consolidation 
> function, yet when I look at the numbers stored some of them show fractions 
> of users, for instance one of the values is 44.226667.

This can occur.  Before the values go into an RRA they are first normalized.
This is explained on the mrtg faq site (http://faq.mrtg.org/).

The normalized values go into the RRAs and are *then* consolidated using
the MAX function.

Quick workaround for your problem:  updates should occur *only* at
an exact multiple of your step size.  So, either update at time
n*300 (for --step=300) or reduce the step size to one and adjust the
RRAs accordingly (multiply number of PDPs per CDP by 300).

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