I've a custom graph template which references to many datasources. It used to be working fine and I was amending the template from time to time to add/delete datasources. However, recently, i realised my graph was wrongly generated from the debug after some amendments. There were extra datasources and some datasources were wrongly referenced. I've checked my template and supplemented graph templated data that all datasources were correctly referenced.
What could be the issue then? Must I re-create the graph template or is there any other troubleshooting methods?
I've included a output of the graph debug for reference.
Thanks!
Suetlin
---------------
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=1118024500 \
--end=1118110900 \
--title="Aggregate - BW Saving Statistics" \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/06/06 10:21:40 To 2005/06/07 10:21:40\c" \
COMMENT:"\n" \
--vertical-label="bits/sec" \
DEF:a="/usr/local/share/cacti/rra/cf128_bwsaving.rrd":clientBytes:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/cf130_bwsaving.rrd":clientBytes:AVERAGE \
DEF:c="/usr/local/share/cacti/rra/cf131_bwsaving.rrd":clientBytes:AVERAGE \
DEF:d="/usr/local/share/cacti/rra/cf132_bwsaving.rrd":clientBytes:AVERAGE \
DEF:e="/usr/local/share/cacti/rra/cf136_bwsaving.rrd":clientBytes:AVERAGE \
DEF:f="/usr/local/share/cacti/rra/cf140_bwsaving.rrd":clientBytes:AVERAGE \
DEF:g="/usr/local/share/cacti/rra/cf144_bwsaving.rrd":clientBytes:AVERAGE \
DEF:h="/usr/local/share/cacti/rra/cf148_bwsaving.rrd":clientBytes:AVERAGE \
DEF:i="/usr/local/share/cacti/rra/cf149_bwsaving.rrd":clientBytes:AVERAGE \
DEF:j="/usr/local/share/cacti/rra/cf153_bwsaving.rrd":clientBytes:AVERAGE \
DEF:ba="/usr/local/share/cacti/rra/cf157_bwsaving.rrd":clientBytes:AVERAGE \
DEF:bb="/usr/local/share/cacti/rra/cf165_bwsaving.rrd":clientBytes:AVERAGE \
DEF:bc="/usr/local/share/cacti/rra/cf136_bwsaving.rrd":clientBytes:AVERAGE \
DEF:bd="/usr/local/share/cacti/rra/cf130_bwsaving.rrd":serverBytes:AVERAGE \
DEF:be="/usr/local/share/cacti/rra/cf131_bwsaving.rrd":serverBytes:AVERAGE \
DEF:bf="/usr/local/share/cacti/rra/cf132_bwsaving.rrd":serverBytes:AVERAGE \
DEF:bg="/usr/local/share/cacti/rra/cf136_bwsaving.rrd":serverBytes:AVERAGE \
DEF:bh="/usr/local/share/cacti/rra/cf140_bwsaving.rrd":serverBytes:AVERAGE \
DEF:bi="/usr/local/share/cacti/rra/cf144_bwsaving.rrd":serverBytes:AVERAGE \
DEF:bj="/usr/local/share/cacti/rra/cf148_bwsaving.rrd":serverBytes:AVERAGE \
DEF:ca="/usr/local/share/cacti/rra/cf149_bwsaving.rrd":serverBytes:AVERAGE \
DEF:cb="/usr/local/share/cacti/rra/cf153_bwsaving.rrd":serverBytes:AVERAGE \
DEF:cc="/usr/local/share/cacti/rra/cf157_bwsaving.rrd":serverBytes:AVERAGE \
DEF:cd="/usr/local/share/cacti/rra/cf165_bwsaving.rrd":serverBytes:AVERAGE \
DEF:ce="/usr/local/share/cacti/rra/cf136_bwsaving.rrd":clientBytes:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefb=ce,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdeff=bd,8,* \
CDEF:cdefg=c,8,* \
CDEF:cdefi=be,8,* \
CDEF:cdefj=d,8,* \
CDEF:cdefbb=bf,8,* \
CDEF:cdefbe=bg,8,* \
CDEF:cdefbf=f,8,* \
CDEF:cdefbh=bh,8,* \
CDEF:cdefbi=g,8,* \
CDEF:cdefca=bi,8,* \
CDEF:cdefcb=h,8,* \
CDEF:cdefcd=bj,8,* \
CDEF:cdefce=i,8,* \
CDEF:cdefcg=ca,8,* \
CDEF:cdefch=j,8,* \
CDEF:cdefcj=cb,8,* \
CDEF:cdefda=ba,8,* \
CDEF:cdefdc=cc,8,* \
CDEF:cdefdd=bb,8,* \
CDEF:cdefdf=cd,8,* \
CDEF:cdeffb=a,b,c,d,e,f,g,h,i,j,ba,bb,+,+,+,+,+,+,+,+,+,+,+,8,* \
CDEF:cdeffd=bc,bd,+,be,+,bf,+,bg,+,bh,+,bi,+,bj,+,ca,+,cb,+,cc,+,cd,+,8,* \
CDEF:cdefff=cdeffb,cdeffd,- \
CDEF:cdeffh=cdefff,cdeffb,/,100,* \
AREA:cdefa#00FF00:"cf128" \
GPRINT:cdefb:LAST:"client request\:%8.2lf%s" \
GPRINT:cdefb:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefd#00FF00:"cf130" \
GPRINT:cdefb:LAST:"client request\:%8.2lf%s" \
GPRINT:cdeff:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefg#00FF00:"cf131" \
GPRINT:cdefb:LAST:"client request\:%8.2lf%s" \
GPRINT:cdefi:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefj#00FF00:"cf132" \
GPRINT:cdefj:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefbb:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefb#00FF00:"cf136" \
GPRINT:cdefb:LAST:"client request\:%8.2lf%s" \
GPRINT:cdefbe:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefbf#00FF00:"cf140" \
GPRINT:cdefbf:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefbh:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefbi#00FF00:"cf144" \
GPRINT:cdefbi:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefca:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefcb#00FF00:"cf148" \
GPRINT:cdefcb:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefcd:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefce#00FF00:"cf149" \
GPRINT:cdefce:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefcg:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefch#00FF00:"cf153" \
GPRINT:cdefch:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefcj:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefda#00FF00:"cf157" \
GPRINT:cdefda:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefdc:LAST:"server request\:%8.2lf%s\n" \
STACK:cdefdd#00FF00:"cf165" \
GPRINT:cdefdd:LAST:" client request\:%8.2lf%s" \
GPRINT:cdefdf:LAST:"server request\:%8.2lf%s\n" \
LINE1:cdefb#:"cf128\n" \
STACK:cdeff#:"cf130\n" \
STACK:cdefi#:"cf131\n" \
STACK:cdefbb#:"cf132\n" \
STACK:cdefbe#:"cf136\n" \
STACK:cdefbh#:"cf140\n" \
STACK:cdefca#:"cf144\n" \
STACK:cdefcd#:"cf148\n" \
STACK:cdefcg#:"cf149\n" \
STACK:cdefcj#:"cf153\n" \
STACK:cdefdc#:"cf157\n" \
STACK:cdefdf#:"cf165\n" \
STACK:cdefb#002A97:"Total Server Request\n" \
COMMENT:"\n" \
COMMENT:"Total Client Request :" \
GPRINT:cdeffb:LAST:"%8.2lf%s\n" \
COMMENT:"Total Server Request :" \
GPRINT:cdeffd:LAST:"%8.2lf%s\n" \
COMMENT:"Total Bandwidth Saving :" \
GPRINT:cdefff:LAST:"%8.2lf%s\n" \
COMMENT:"Total Bandwidth Saving(%):" \
GPRINT:cdeffh:LAST:"%8.2lf %%\n" \
COMMENT:"\n" \
COMMENT:"Last updated at Tue 07 Jun 10:20:51 SGT 2005"