[rrd-users] Re: FW: coloring graphs red when the input hits a border

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Apr 20 17:42:37 MEST 2001


Serge Maandag wrote:

> I followed the whole tutorial and this example gave me the original
> idea, but Alex uses AREA's, not LINE's. It's a different story with
> lines.

What if you plot the green line, and overlay it with red when
it's above a certain percentage?

(from memory, not tested)
DEF:percentage=.....
CDEF:bad=percentage,10,GT,percentage,UNKN,IF
LINE1:percentage#00CC00:usage
LINE1:bad#FF0000:"too much"

> oops, the moderator got angry, better: ----snip------ 

YM the overquoting protection?  There's no moderator...

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