[rrd-users] Re: Using CDEF to make B = 1 but only when A = 0

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Dec 23 09:41:27 MET 2004


> What I would like to do is add a CDEF that fills the white 
> space in with an orange area.
> 
> I tried:
> 
> CDEF:Down1=Response,0,INF,UN,IF
> AREA:Down#FFAA00:"Site Down"

The IF line seems incomplete and has the function UN i.s.o.
the value UNKN. It probably should say something like:

CDEF:Down1=Response,0,EQ,INF,UNKN,IF

That is untested, b.t.w.

But I'm not sure you want this. The blue area is not just 0 or 1
But it seems to have values in between too (0.5 in your graph).

Why not say Down1 = 1 - Response?

Serge.


-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

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