Have an issue adding an area plot to a graph with two data sources.
The first Area Plot draws correctly, The second Area Plot seems to keep drawing the first datasource, even though its been changed.
So This Template:
Produces This Graph:
With Debug of the graph being:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='bdr3 - Traffic - "ath0" 00:27:22:10:30:' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale \
--vertical-label='Bytes per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:6: \
--font LEGEND:7: \
--font UNIT:6: \
DEF:a='/var/www/html/cacti/rra/bdr3_-_if_traffic_in_41.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/html/cacti/rra/bdr3_-_if_traffic_in_41.rrd':'traffic_out':AVERAGE \
LINE1:a#00CF00FF:'Inbound' \
GPRINT:a:LAST:' Current\:%8.2lf%s' \
GPRINT:a:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:a:MAX:'Maximum\:%8.2lf%s' \
AREA:a#00CF0019:'' \
COMMENT:'Total In \: 26.6 GB\n' \
LINE1:b#002A97FF:'Outbound' \
GPRINT:a:LAST:'Current\:%8.2lf%s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:b:MAX:'Maximum\:%8.2lf%s' \
AREA:a#002A9719:'' \
COMMENT:'Total Out\: 26.6 GB\n'
RRDTool Says:
OK
Let me know if I'm missing something obvious, but when I change either of the AREA lines in the template they both still stay as 'a'.