[rrd-users] Re: RPN for thresholds colors for LINE graphs
Sasha Mikheev
sasha at netvision.net.il
Tue May 29 15:50:12 MEST 2001
On Tue, 29 May 2001, Alex van den Bogaerdt wrote:
It is still not exactly what I want since now red and yellow lines start
overlaying a bit higher then threshold and not exactly at the intersection
of threshold line and graph line :( Of course it is better then disconnected lines
>
> I think you can just continue to plot the green line and overlay this
> with the yellow and/or red line:
>
> DEF:green=/path/to/your.rrd:etcetera
> CDEF:yellow=green,FirstThreshold,MaximumNumber,LIMIT
> CDEF:red=green,SecondThreshold,MaximumNumber,LIMIT
> LINE1:green#00CC00:"Legend"
> LINE2:yellow#FFFF00:"Legend"
> LINE3:red#FF0000:"Legend"
>
> (fill in the appropriate values for the thresholds and the maximum)
>
> You can always use other CDEFs to generate the appropriate numbers
> to be used inside GPRINTS et al.
>
> Please let us all know if this works for you.
>
> HTH
>
--
Sasha Mikheev Linux -- put a penguin in your processor
Avalon Net Ltd, CTO
http://avalon-net.co.il/~sasha
--
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