I have CactiEZ v0.4 installed and working fine.
The problem I have now is when I try to create an aggregate graph using SIMILAR_DATA_SOURCES_NODUPS.
The graphs is correct but the LEGEND/GPRINT values are not.
When using the plugin aggregate then adding a graph item total then the LEGEND shows the correct values!
I cant use the aggregate plugin for i do not need all the graph items to be shown into the graph and instead have only the total.
On CACTI 0.6.8h this aggregation was working just fine.
Please advise
Here is the graph debug
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Total" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Total" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/routerr1_traffic_in_52.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/routerr1_traffic_in_53.rrd":traffic_in:AVERAGE \
DEF:c="/var/www/html/rra/routerr1_traffic_in_63.rrd":traffic_in:AVERAGE \
DEF:d="/var/www/html/rra/routerr2_traffic_in_74.rrd":traffic_in:AVERAGE \
DEF:e="/var/www/html/rra/routerr2_traffic_in_75.rrd":traffic_in:AVERAGE \
DEF:f="/var/www/html/rra/routerr2_traffic_in_76.rrd":traffic_in:AVERAGE \
DEF:g="/var/www/html/rra/routerr2_traffic_in_77.rrd":traffic_in:AVERAGE \
DEF:h="/var/www/html/rra/routerr2_traffic_in_77.rrd":traffic_in:LAST \
DEF:i="/var/www/html/rra/routerr2_traffic_in_77.rrd":traffic_in:MIN \
DEF:j="/var/www/html/rra/routerr2_traffic_in_77.rrd":traffic_in:MAX \
CDEF:cdefh=TIME,1230099172,GT,a,a,UN,0,a,IF,IF,TIME,1230099172,GT,b,b,UN,0,b,IF,IF,TIME,1230099172,GT,c,c,UN,0,c,IF,IF,TIME,1230099172,GT,d,d,UN,0,d,IF,IF,TIME,1230099172,GT,e,e,UN,0,e,IF,IF,TIME,1230099172,GT,f,f,UN,0,f,IF,IF,TIME,1230099172,GT,g,g,UN,0,g,IF,IF,+,+,+,+,+,+,8,* \
CDEF:cdefi=TIME,1230099172,GT,h,h,UN,0,h,IF,IF,8,* \
CDEF:cdefba=TIME,1230099172,GT,j,j,UN,0,j,IF,IF,8,* \
LINE1:a:"" \
LINE1:b:"":STACK \
LINE1:c:"":STACK \
LINE1:d:"":STACK \
LINE1:e:"":STACK \
LINE1:f:"":STACK \
LINE1:g:"":STACK \
AREA:cdefh#00CF00FF:"ICC-TOTAL(IN)" \
GPRINT:cdefi:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
OK