I'm running into a bit of an oddity here. I am building a summary of remote sites on a geographical map, but the traffic in/out nodes/labels I'm using don't seem to be behaving as I'd expect. They report the right data value from my RRD file, but they wont play ball with my scale.
The Scale "100M":
Code: Select all
KEYPOS 100M 1659 52 100MTraffic
KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
SCALE 100M 0 0 192 192 192
SCALE 100M 0 1 228 255 255
SCALE 100M 1 10 212 255 209
SCALE 100M 10 20 170 233 165
SCALE 100M 20 30 142 216 136
SCALE 100M 30 40 103 191 97
SCALE 100M 40 50 75 167 68
SCALE 100M 50 60 48 141 41
SCALE 100M 60 70 204 198 26
SCALE 100M 70 80 183 128 9
SCALE 100M 80 90 183 58 9
SCALE 100M 90 100 127 36 0
SET key_hidezero_100M 1
Code: Select all
NODE STR-QUA-ROU1-BWOUT
LABEL Out: {node:this:bandwidth_out:%k} / {node:this:max_bandwidth_out:%k}
TARGET /var/www/cacti/rra/str-qua-rou1_traffic_in_2276.rrd
POSITION 1163 925
MAXVALUE 100M
USESCALE 100M in percent
NODE STR-QUA-ROU1-BWIN
LABEL In: {node:this:bandwidth_in:%k} / {node:this:max_bandwidth_in:%k}
TARGET /var/www/cacti/rra/str-qua-rou1_traffic_in_2276.rrd
POSITION 1163 946
MAXVALUE 100M
USESCALE 100M in percent
1. They are both the same colour, when according to the scale they should be different
2. That shade of blue isn't in my scale... Sometimes it turns a light blue aswell, like a cyan, that colour also isnt in my scale (my scale is a colour sweep from light green to dark red..)
Have I grossly misunderstood how scales work? Or am I just not defining something somewhere? The fact the two nodes behave the same is also alarming, I would have expected it to use the data value of that node/label for the scale value?