[rrd-users] Re: Do More Calculation of RRA

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Jul 2 01:02:42 MEST 2001


Ytsejam wrote:

> Is it possible to assign a parameter which value equals the RRA values (inbits:AVERAGE, the average value of the inbits ) the last GPRINT: line  ?
> just as:
> 
> PARAMETER=inbits:AVERAGE

Not yet.  I'm working on that in the development source tree.
It will be there, eventually.  I do expect some working code
to be out in a couple of weeks, if no disaster happens.

You will be able to do something like:

DEF:inbytes=/path/to/some.rrd:ifInOctets:AVERAGE
CDEF:inbits=inbytes,8,*
VDEF:maxIn=inbits,MAXIMUM
VDEF:minIn=inbits,MINIMUM
VDEF:avgIn=inbits,AVERAGE
VDEF:percentile=inbits,95,PERCENTILE
LINE1:inbits#00CC00:"incoming bps"
LINE1:minIn#0000FF:"bits in: min"
LINE1:maxIn#FF0000:"bits in: max"
LINE2:percentile#000000:"95th percentile"
GPRINT:percentile:"%6.2lf %Sbps\n"
GPRINT:maxIn:"max %6.2lf %Sbps"
GPRINT:avgIn:"avg %6.2lf %Sbps"
GPRINT:minIn:"min %6.2lf %Sbps\n"

cheers,
-- 
   __________________________________________________________________
 / 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