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

Bernhard Schmidt berni at birkenwald.de
Mon Sep 4 00:04:35 MEST 2006


On Sun, Sep 03, 2006 at 11:17:35PM +0200, Alex van den Bogaerdt wrote:

Hello Alex,

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

Thanks a lot, after replacing UN with UNKN your solution worked out of
the box.

Regards,
Bernhard

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