Kelly
Cool (Pun intend) that looks like what I was after Thanks Matt From: K.D. Lucas [mailto:[email protected]] Sent: 11 August 2010 19:19 To: Garrett, Matt SITI-ITV/TS Cc: [email protected] Subject: Re: [rrd-users] How to change graph colour as Temperature increases I use three color stacks for my temperature readings, and also have a background (bg) color for the graph. The main thing is to define the color as unknown if it doesn't fall in the range you want to use for it. ============================ 'CDEF:bg=cpu,UN,0,cpu,IF,0,GT,UNKN,INF,IF', 'AREA:bg#DDDDDD:', 'CDEF:cool=cpu,40,LE,cpu,UNKN,IF', 'CDEF:warm=cpu,40,60,LIMIT', 'CDEF:hot=cpu,60,GE,cpu,UNKN,IF', 'AREA:cool#B0F5EC:"Cool "', 'AREA:warm#FFCC00:"Warm "', 'AREA:hot#CC3300:"Hot \\n"', 'VDEF:maxC=cpu,MAXIMUM', 'VDEF:minC=cpu,MINIMUM', 'VDEF:avgC=cpu,AVERAGE', 'GPRINT:minC:"Min %2.1lf"', 'GPRINT:maxC:"Max %2.1lf"', 'GPRINT:avgC:"Avg %2.1lf Celsius \\n"', 'LINE1:cpu#660000:', 'HRULE:60#FF0000', ============================== Kelly
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
