[rrd-users] Graph with two colors

Wengrzik, Andreas Wengrzik at ewr.de
Thu Oct 14 11:36:01 MEST 2004


Hi List!

I have a Graph which is drawn by one value (cpuload)
I draw an hrule greater than 50
I select the values greater than 50 and draw them red, now i want
to draw only the part of the value red which is above the hrule ?!
Is this possible?

Here´s my actually definition:

DEF:as400cpu=$f:as400cpu:AVERAGE CDEF:cpu1=as400cpu,50,GT,UNKN,as400cpu,IF CDEF:cpu2=as400cpu,50,LE,UNKN,as400cpu,IF AREA:cpu1#82BB6C:\"Prozessorauslastung OK\"  AREA:cpu2#E24545:\"Prozessorauslastung Kritisch\" HRULE:50#D0D000:\"Warning level\" HRULE:100#E00000:\"Kritisches Level\" LINE1:cpu1#000000 LINE1:cpu2#000000 GPRINT:as400cpu:MAX:\"Maximale Auslastung\\: %.4lg Prozent\" GPRINT:as400cpu:MIN:\"Minimale Auslastung\\: %.4lg Prozent\" GPRINT:as400cpu:AVERAGE:\"Durchschnittliche Auslastung\\: %.4lg Prozent\"

Thanks for help!

Bye

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