In the console area of Cacti, on the Graph Management page, if I select the graph it displays the LAST values correctly, as the most recent value on the graph. In the presentation/graph area of Cacti, however, these graphs display with 0.00 for both inbound and outbound. Sometimes but not always, there is also a sharp downward drop on the graphs associated with this -- which is never present in the console view. I have attached images saved at more or less the same time, one from the console and one from the graphing area. This is the same graph presumably being generated with the same settings/information. I am also providing the debug output from the graph management page.
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Aggregate External Traffic" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="[path removed].rrd":traffic_in:AVERAGE \
DEF:b="[path removed].rrd":traffic_in:AVERAGE \
DEF:c="[path removed].rrd":traffic_in:AVERAGE \
DEF:d="[path removed].rrd":traffic_in:AVERAGE \
DEF:e="[path removed].rrd":traffic_in:AVERAGE \
DEF:f="[path removed].rrd":traffic_in:AVERAGE \
DEF:g="[path removed].rrd":traffic_in:AVERAGE \
DEF:h="[path removed].rrd":traffic_in:AVERAGE \
DEF:i="[path removed].rrd":traffic_in:AVERAGE \
DEF:j="[path removed].rrd":traffic_in:AVERAGE \
DEF:ba="[path removed].rrd":traffic_in:AVERAGE \
DEF:bb="[path removed].rrd":traffic_in:AVERAGE \
DEF:bc="[path removed].rrd":traffic_in:AVERAGE \
DEF:bd="[path removed].rrd":traffic_in:AVERAGE \
DEF:be="[path removed].rrd":traffic_out:AVERAGE \
DEF:bf="[path removed].rrd":traffic_out:AVERAGE \
DEF:bg="[path removed].rrd":traffic_out:AVERAGE \
DEF:bh="[path removed].rrd":traffic_out:AVERAGE \
DEF:bi="[path removed].rrd":traffic_out:AVERAGE \
DEF:bj="[path removed].rrd":traffic_out:AVERAGE \
DEF:ca="[path removed].rrd":traffic_out:AVERAGE \
DEF:cb="[path removed].rrd":traffic_out:AVERAGE \
DEF:cc="[path removed].rrd":traffic_out:AVERAGE \
DEF:cd="[path removed].rrd":traffic_out:AVERAGE \
DEF:ce="[path removed].rrd":traffic_out:AVERAGE \
DEF:cf="[path removed].rrd":traffic_out:AVERAGE \
DEF:cg="[path removed].rrd":traffic_out:AVERAGE \
DEF:ch="[path removed].rrd":traffic_out:AVERAGE \
CDEF:cdefbe=a,UN,0,a,IF,b,UN,0,b,IF,+,c,UN,0,c,IF,+,d,UN,0,d,IF,+,
-> e,UN,0,e,IF,+,f,UN,0,f,IF,+,g,UN,0,g,IF,+,h,UN,0,h,IF,+,i,UN,0,i,IF,+,
-> j,UN,0,j,IF,+,ba,UN,0,ba,IF,+,bb,UN,0,bb,IF,+,bc,UN,0,bc,IF,+,
-> bd,UN,0,bd,IF,+,8,* \
CDEF:cdefdc=be,UN,0,be,IF,bf,UN,0,bf,IF,+,bg,UN,0,bg,IF,+,
-> bh,UN,0,bh,IF,+,bi,UN,0,bi,IF,+,bj,UN,0,bj,IF,+,ca,UN,0,ca,IF,+,
-> cb,UN,0,cb,IF,+,cc,UN,0,cc,IF,+,cd,UN,0,cd,IF,+,ce,UN,0,ce,IF,+,
-> cf,UN,0,cf,IF,+,cg,UN,0,cg,IF,+,ch,UN,0,ch,IF,+,8,* \
AREA:a:"" \
AREA:b:"" \
AREA:c:"" \
AREA:d:"" \
AREA:e:"" \
AREA:f:"" \
AREA:g:"" \
AREA:h:"" \
AREA:i:"" \
AREA:j:"" \
AREA:ba:"" \
AREA:bb:"" \
AREA:bc:"" \
AREA:bd:"" \
AREA:cdefbe#7CB3F1:"Inbound" \
GPRINT:cdefbe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefbe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbe:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:be:"" \
LINE1:bf:"" \
LINE1:bg:"" \
LINE1:bh:"" \
LINE1:bi:"" \
LINE1:bj:"" \
LINE1:ca:"" \
LINE1:cb:"" \
LINE1:cc:"" \
LINE1:cd:"" \
LINE1:ce:"" \
LINE1:cf:"" \
LINE1:cg:"" \
LINE1:ch:"" \
LINE1:cdefdc#0D006A:"Outbound" \
GPRINT:cdefdc:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefdc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefdc:MAX:"Maximum\:%8.2lf %s\n"
Edit: Broke CDEF lines to stop horizontal spanning of the page...