Cacti 0.8.7g
Plugin Architecture Version: 2.8
Aggregate 0.75
Just started using the Aggregate plugin (thanks gandalf!) and am RTFMing my way through the aggregate manual on how to create a stacked aggregate traffic graph, and have an issue I don't quite understand.
I've got 9 servers I'm combining, and have set them up basically as the tutorial notes, with a custom CDEF to negate one side of the graph (outbound in my case). The first instance of each both inbound and outbound is AREA, and the rest are STACK. Yet when the graph comes up, it looks like so:
As you can see the only thing that really looks like it's graphing properly are the 2 AREA values. The STACK metrics are all over the map on both sides of the X axis (note orange areas above the X axis, and green areas below). So it seems like it's negating things it shouldn't, and adding what should be negative. First thing I double-checked and confirmed was that I did in fact have all my inbound traffic using the positive CDEF, and all my outbound traffic using the negated one. So then I set the graph to debug mode to see what was going to RRDTool, and here's the key criteria:
Code: Select all
DEF:a="/var/www/cacti/rra/mail006_traffic_in_3409.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/mail006_traffic_in_3409.rrd":traffic_out:AVERAGE \
DEF:c="/var/www/cacti/rra/mail007_traffic_in_3836.rrd":traffic_in:AVERAGE \
DEF:d="/var/www/cacti/rra/mail007_traffic_in_3836.rrd":traffic_out:AVERAGE \
DEF:e="/var/www/cacti/rra/mail008_traffic_in_3851.rrd":traffic_in:AVERAGE \
DEF:f="/var/www/cacti/rra/mail008_traffic_in_3851.rrd":traffic_out:AVERAGE \
DEF:g="/var/www/cacti/rra/mail009_traffic_in_3866.rrd":traffic_in:AVERAGE \
DEF:h="/var/www/cacti/rra/mail009_traffic_in_3866.rrd":traffic_out:AVERAGE \
DEF:i="/var/www/cacti/rra/mail010_traffic_in_3881.rrd":traffic_in:AVERAGE \
DEF:j="/var/www/cacti/rra/mail010_traffic_in_3881.rrd":traffic_out:AVERAGE \
DEF:ba="/var/www/cacti/rra/mail011_traffic_in_3762.rrd":traffic_in:AVERAGE \
DEF:bb="/var/www/cacti/rra/mail011_traffic_in_3762.rrd":traffic_out:AVERAGE \
DEF:bc="/var/www/cacti/rra/mail012_traffic_in_3896.rrd":traffic_in:AVERAGE \
DEF:bd="/var/www/cacti/rra/mail012_traffic_in_3896.rrd":traffic_out:AVERAGE \
DEF:be="/var/www/cacti/rra/mail013_traffic_in_3787.rrd":traffic_in:AVERAGE \
DEF:bf="/var/www/cacti/rra/mail013_traffic_in_3787.rrd":traffic_out:AVERAGE \
DEF:bg="/var/www/cacti/rra/mail014_traffic_in_3773.rrd":traffic_in:AVERAGE \
DEF:bh="/var/www/cacti/rra/mail014_traffic_in_3773.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefc=b,-8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefg=d,-8,* \
CDEF:cdefh=d,8,* \
CDEF:cdefi=e,8,* \
CDEF:cdefba=f,-8,* \
CDEF:cdefbb=f,8,* \
CDEF:cdefbc=g,8,* \
CDEF:cdefbe=h,-8,* \
CDEF:cdefbf=h,8,* \
CDEF:cdefbg=i,8,* \
CDEF:cdefbi=j,-8,* \
CDEF:cdefbj=j,8,* \
CDEF:cdefca=ba,8,* \
CDEF:cdefcc=bb,-8,* \
CDEF:cdefcd=bb,8,* \
CDEF:cdefce=bc,-8,* \
CDEF:cdefcf=bc,8,* \
CDEF:cdefcg=bd,8,* \
CDEF:cdefci=be,8,* \
CDEF:cdefda=bf,-8,* \
CDEF:cdefdb=bf,8,* \
CDEF:cdefdc=bg,8,* \
CDEF:cdefde=bh,-8,* \
CDEF:cdefdf=bh,8,* \
So my question is - is this an operator error, or something programmatic? If the former, where did I go wrong and how can I fix? Thanks.