[rrd-users] Re: Ignoring some datasources when calculating upper-limit

Alex van den Bogaerdt alex at ergens.op.het.net
Sun Sep 3 23:17:35 MEST 2006


On Sun, Sep 03, 2006 at 06:19:18PM +0200, Bernhard Schmidt wrote:

> What I'm looking for is an option to base the scaling of the y-axis on
> the octets datasource only, but draw the line for cir or burst as well
> _if_ it is within the computed y-axis area. If it is not in there, it
> should be ignored. That behaviour would be similar to the old MRTG Max
> option, but since it can and will change over time I'd like to keep
> this data in the rrdfile and graph it just like anything else (so
> HRULE/LINE is probably not usable).

How about finding the maximum value (using VDEF) of the octets value,
multiply by 1.1, compare cir against the outcome in a CDEF.

something like (untested; debugging is for you)

VDEF:maxval=octets,MAXIMUM
CDEF:showncir=cir,maxval,1.1,*,GT,UN,cir,IF

-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list