Aggregate:Data items limitation

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
zygemini
Posts: 13
Joined: Fri Apr 04, 2014 2:41 am

Aggregate:Data items limitation

Post by zygemini »

When I use the plug-in aggregate to aggregate graphs, I input many graphs. I find if the Graph Items (or maybe the Data Source) exceeds to some number, the aggregation graph is broken, and nothing in the RRDTool Says. I know I input too many graphs , but it is really necessary for me :P .
It will recovery if the new added item is removed , or I remove some old data's row which is legend(current, average and Maximum) but keep the "line1 type" for the data. .

See the graph debug below:
1. At first it is OK.
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Aggregate ZongChuKou(2016.4.12)" \
--rigid \
--base=1000 \
--height=200 \
--width=650 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_in":AVERAGE \
DEF:c="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_in":AVERAGE \
DEF:d="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_in":AVERAGE \
DEF:e="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_in":AVERAGE \
DEF:f="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_in":AVERAGE \
DEF:g="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_in":AVERAGE \
DEF:h="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_in":AVERAGE \
DEF:i="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_out":AVERAGE \
DEF:j="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_out":AVERAGE \
DEF:ba="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_out":AVERAGE \
DEF:bb="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_out":AVERAGE \
DEF:bc="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_out":AVERAGE \
DEF:bd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_out":AVERAGE \
DEF:be="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_out":AVERAGE \
DEF:bf="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_out":AVERAGE \
DEF:bg="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_756.rrd":"traffic_in":AVERAGE \
DEF:bh="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1134.rrd":"traffic_in":AVERAGE \
DEF:bi="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_755.rrd":"traffic_in":AVERAGE \
DEF:bj="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_754.rrd":"traffic_in":AVERAGE \
DEF:ca="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_753.rrd":"traffic_in":AVERAGE \
DEF:cb="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_751.rrd":"traffic_in":AVERAGE \
DEF:cc="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_954.rrd":"traffic_in":AVERAGE \
DEF:cd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1119.rrd":"traffic_out":AVERAGE \
DEF:ce="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_in":AVERAGE \
DEF:cf="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_out":AVERAGE \
DEF:cg="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1178.rrd":"traffic_out":AVERAGE \
DEF:ch="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1180.rrd":"traffic_out":AVERAGE \
DEF:ci="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1177.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
CDEF:cdefi="c,8,*" \
CDEF:cdefbc="d,8,*" \
CDEF:cdefbg="e,8,*" \
CDEF:cdefca="f,8,*" \
CDEF:cdefce="g,8,*" \
CDEF:cdefci="h,8,*" \
CDEF:cdefdc="i,8,*" \
CDEF:cdefdg="j,8,*" \
CDEF:cdefea="ba,8,*" \
CDEF:cdefee="bb,8,*" \
CDEF:cdefei="bc,8,*" \
CDEF:cdeffc="bd,8,*" \
CDEF:cdeffe="be,8,*" \
CDEF:cdefff="bf,8,*" \
CDEF:cdeffg="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,8,*" \
CDEF:cdefga="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,cf,-,8,*" \
CDEF:cdefge="i,j,+,ba,+,cf,+,8,*" \
CDEF:cdefgi="bg,8,*" \
CDEF:cdefgj="bh,8,*" \
CDEF:cdefha="bi,8,*" \
CDEF:cdefhb="bj,8,*" \
CDEF:cdefhc="ca,8,*" \
CDEF:cdefhd="cb,8,*" \
CDEF:cdefhe="cc,8,*" \
CDEF:cdefhf="cd,8,*" \
CDEF:cdefhg="ce,8,*" \
CDEF:cdefhh="cf,8,*" \
CDEF:cdefhi="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,bg,+,bh,+,bi,+,bj,+,ca,+,cb,+,cc,+,cd,-,ce,+,cf,-,8,*" \
CDEF:cdefic="cg,8,*" \
CDEF:cdefid="ch,8,*" \
CDEF:cdefie="ci,8,*" \
LINE1:cdefa#FFFFFFFF:"BenDiHuanCun1 Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#FFFFFFFF:"BenDiHuanCun2 Inbound" \
GPRINT:cdefe:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefi#FFFFFFFF:"BenDiHuanCun3 InBound" \
GPRINT:cdefi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbc#FFFFFFFF:"WuXi InBound" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbg#FFFFFFFF:"ChangShu InBound" \
GPRINT:cdefbg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefca#FFFFFFFF:"WuJiang InBound" \
GPRINT:cdefca:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefca:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefca:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefce#FFFFFFFF:"KunShan InBound" \
GPRINT:cdefce:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefce:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefce:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefci#FFFFFFFF:"ZhangJiaGang InBound" \
GPRINT:cdefci:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefci:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefci:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdc#FFFFFFFF:"BenDiHuanCun1 Outbound" \
GPRINT:cdefdc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdg#FFFFFFFF:"BenDiHuanCun2 Outbound" \
GPRINT:cdefdg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefea#FFFFFFFF:"BenDiHuanCun3 OutBound" \
GPRINT:cdefea:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefea:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefea:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefee#FFFFFFFF:"WuXi OutBound" \
GPRINT:cdefee:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefee:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefee:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefei#FFFFFFFF:"ChangShu OutBound" \
GPRINT:cdefei:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefei:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefei:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdeffc#FFFFFFFF:"WuJiang OutBound" \
GPRINT:cdeffc:MAX:" Maximum\:%8.2lf%s\n" \
LINE1:cdeffe#FFFFFFFF:"KunShan OutBound\n" \
LINE1:cdefff#FFFFFFFF:"ZhangJiaGang OutBound\n" \
AREA:cdeffg#00CF00FF:"HuanCun Given to SuZhou" \
GPRINT:cdeffg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdeffg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdeffg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefga#FF0000FF:"HuanCun Pure Inbound" \
GPRINT:cdefga:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefga:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefga:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefge#002A97FF:"HuanCun HuiYuan" \
GPRINT:cdefge:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefge:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefge:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefgi#FFFFFFFF:"20G InBound\n" \
LINE1:cdefgj#FFFFFFFF:"HuaShu Inbound\n" \
LINE1:cdefha#FFFFFFFF:"LianTong500M_InBound\n" \
LINE1:cdefhb#FFFFFFFF:"WangTong100M InBound\n" \
LINE1:cdefhc#FFFFFFFF:"YiDong InBound\n" \
LINE1:cdefhd#FFFFFFFF:"GuoXin InBound\n" \
LINE1:cdefhe#FFFFFFFF:"SuZhouLianTong_Inbound\n" \
LINE1:cdefhf#FFFFFFFF:"to_WuJiang_SuZhouLianTong_OutBound\n" \
LINE1:cdefhg#FFFFFFFF:"LanXunHuanCun InBound\n" \
LINE1:cdefhh#FFFFFFFF:"LanXunHuanCun_OutBound\n" \
LINE1:cdefhi#00CF00FF:"ZongChuKou" \
GPRINT:cdefhi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefhi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefhi:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefic#FFFFFFFF:"HuaShu To ChangShu\n" \
LINE1:cdefid#FFFFFFFF:"HuaShu to KunShan\n" \
LINE1:cdefie#FFFFFFFF:"HuaShu To WuJiang\n" RRDTool Says:

OK

2. It is broken after I add a new item.
RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Aggregate ZongChuKou(2016.4.12)" \
--rigid \
--base=1000 \
--height=200 \
--width=650 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_in":AVERAGE \
DEF:c="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_in":AVERAGE \
DEF:d="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_in":AVERAGE \
DEF:e="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_in":AVERAGE \
DEF:f="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_in":AVERAGE \
DEF:g="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_in":AVERAGE \
DEF:h="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_in":AVERAGE \
DEF:i="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_out":AVERAGE \
DEF:j="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_out":AVERAGE \
DEF:ba="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_out":AVERAGE \
DEF:bb="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_out":AVERAGE \
DEF:bc="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_out":AVERAGE \
DEF:bd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_out":AVERAGE \
DEF:be="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_out":AVERAGE \
DEF:bf="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_out":AVERAGE \
DEF:bg="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_756.rrd":"traffic_in":AVERAGE \
DEF:bh="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1134.rrd":"traffic_in":AVERAGE \
DEF:bi="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_755.rrd":"traffic_in":AVERAGE \
DEF:bj="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_754.rrd":"traffic_in":AVERAGE \
DEF:ca="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_753.rrd":"traffic_in":AVERAGE \
DEF:cb="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_751.rrd":"traffic_in":AVERAGE \
DEF:cc="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_954.rrd":"traffic_in":AVERAGE \
DEF:cd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1119.rrd":"traffic_out":AVERAGE \
DEF:ce="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_in":AVERAGE \
DEF:cf="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_out":AVERAGE \
DEF:cg="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1178.rrd":"traffic_out":AVERAGE \
DEF:ch="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1180.rrd":"traffic_out":AVERAGE \
DEF:ci="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1177.rrd":"traffic_out":AVERAGE \
DEF:cj="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1179.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
CDEF:cdefi="c,8,*" \
CDEF:cdefbc="d,8,*" \
CDEF:cdefbg="e,8,*" \
CDEF:cdefca="f,8,*" \
CDEF:cdefce="g,8,*" \
CDEF:cdefci="h,8,*" \
CDEF:cdefdc="i,8,*" \
CDEF:cdefdg="j,8,*" \
CDEF:cdefea="ba,8,*" \
CDEF:cdefee="bb,8,*" \
CDEF:cdefei="bc,8,*" \
CDEF:cdeffc="bd,8,*" \
CDEF:cdeffe="be,8,*" \
CDEF:cdefff="bf,8,*" \
CDEF:cdeffg="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,8,*" \
CDEF:cdefga="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,cf,-,8,*" \
CDEF:cdefge="i,j,+,ba,+,cf,+,8,*" \
CDEF:cdefgi="bg,8,*" \
CDEF:cdefgj="bh,8,*" \
CDEF:cdefha="bi,8,*" \
CDEF:cdefhb="bj,8,*" \
CDEF:cdefhc="ca,8,*" \
CDEF:cdefhd="cb,8,*" \
CDEF:cdefhe="cc,8,*" \
CDEF:cdefhf="cd,8,*" \
CDEF:cdefhg="ce,8,*" \
CDEF:cdefhh="cf,8,*" \
CDEF:cdefhi="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,bg,+,bh,+,bi,+,bj,+,ca,+,cb,+,cc,+,cd,-,ce,+,cf,-,8,*" \
CDEF:cdefic="cg,8,*" \
CDEF:cdefid="ch,8,*" \
CDEF:cdefie="ci,8,*" \
CDEF:cdefif="cj,8,*" \
LINE1:cdefa#FFFFFFFF:"BenDiHuanCun1 Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#FFFFFFFF:"BenDiHuanCun2 Inbound" \
GPRINT:cdefe:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefi#FFFFFFFF:"BenDiHuanCun3 InBound" \
GPRINT:cdefi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbc#FFFFFFFF:"WuXi InBound" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbg#FFFFFFFF:"ChangShu InBound" \
GPRINT:cdefbg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefca#FFFFFFFF:"WuJiang InBound" \
GPRINT:cdefca:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefca:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefca:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefce#FFFFFFFF:"KunShan InBound" \
GPRINT:cdefce:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefce:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefce:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefci#FFFFFFFF:"ZhangJiaGang InBound" \
GPRINT:cdefci:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefci:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefci:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdc#FFFFFFFF:"BenDiHuanCun1 Outbound" \
GPRINT:cdefdc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdg#FFFFFFFF:"BenDiHuanCun2 Outbound" \
GPRINT:cdefdg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefea#FFFFFFFF:"BenDiHuanCun3 OutBound" \
GPRINT:cdefea:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefea:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefea:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefee#FFFFFFFF:"WuXi OutBound" \
GPRINT:cdefee:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefee:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefee:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefei#FFFFFFFF:"ChangShu OutBound" \
GPRINT:cdefei:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefei:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefei:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdeffc#FFFFFFFF:"WuJiang OutBound" \
GPRINT:cdeffc:MAX:" Maximum\:%8.2lf%s\n" \
LINE1:cdeffe#FFFFFFFF:"KunShan OutBound\n" \
LINE1:cdefff#FFFFFFFF:"ZhangJiaGang OutBound\n" \
AREA:cdeffg#00CF00FF:"HuanCun Given to SuZhou" \
GPRINT:cdeffg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdeffg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdeffg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefga#FF0000FF:"HuanCun Pure Inbound" \
GPRINT:cdefga:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefga:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefga:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefge#002A97FF:"HuanCun HuiYuan" \
GPRINT:cdefge:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefge:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefge:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefgi#FFFFFFFF:"20G InBound\n" \
LINE1:cdefgj#FFFFFFFF:"HuaShu Inbound\n" \
LINE1:cdefha#FFFFFFFF:"LianTong500M_InBound\n" \
LINE1:cdefhb#FFFFFFFF:"WangTong100M InBound\n" \
LINE1:cdefhc#FFFFFFFF:"YiDong InBound\n" \
LINE1:cdefhd#FFFFFFFF:"GuoXin InBound\n" \
LINE1:cdefhe#FFFFFFFF:"SuZhouLianTong_Inbound\n" \
LINE1:cdefhf#FFFFFFFF:"to_WuJiang_SuZhouLianTong_OutBound\n" \
LINE1:cdefhg#FFFFFFFF:"LanXunHuanCun InBound\n" \
LINE1:cdefhh#FFFFFFFF:"LanXunHuanCun_OutBound\n" \
LINE1:cdefhi#00CF00FF:"ZongChuKou" \
GPRINT:cdefhi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefhi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefhi:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefic#FFFFFFFF:"HuaShu To ChangShu\n" \
LINE1:cdefid#FFFFFFFF:"HuaShu to KunShan\n" \
LINE1:cdefie#FFFFFFFF:"HuaShu To WuJiang\n" \
LINE1:cdefif#FFFFFFFF:"HuaShu to ZhangJiaGang\n" RRDTool Says:


3. Graph recover if I remove a legend of one item while keep the line1.
RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Aggregate ZongChuKou(2016.4.12)" \
--rigid \
--base=1000 \
--height=200 \
--width=650 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_in":AVERAGE \
DEF:c="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_in":AVERAGE \
DEF:d="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_in":AVERAGE \
DEF:e="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_in":AVERAGE \
DEF:f="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_in":AVERAGE \
DEF:g="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_in":AVERAGE \
DEF:h="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_in":AVERAGE \
DEF:i="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_723.rrd":"traffic_out":AVERAGE \
DEF:j="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1137.rrd":"traffic_out":AVERAGE \
DEF:ba="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1128.rrd":"traffic_out":AVERAGE \
DEF:bb="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_747.rrd":"traffic_out":AVERAGE \
DEF:bc="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_746.rrd":"traffic_out":AVERAGE \
DEF:bd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_749.rrd":"traffic_out":AVERAGE \
DEF:be="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_750.rrd":"traffic_out":AVERAGE \
DEF:bf="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_724.rrd":"traffic_out":AVERAGE \
DEF:bg="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_756.rrd":"traffic_in":AVERAGE \
DEF:bh="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_1134.rrd":"traffic_in":AVERAGE \
DEF:bi="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_755.rrd":"traffic_in":AVERAGE \
DEF:bj="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_754.rrd":"traffic_in":AVERAGE \
DEF:ca="C\:/Apache24/htdocs/cacti/rra/xinqu-36-7609shiqu_traffic_in_753.rrd":"traffic_in":AVERAGE \
DEF:cb="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_751.rrd":"traffic_in":AVERAGE \
DEF:cc="C\:/Apache24/htdocs/cacti/rra/zhongxin-16kshiqu_traffic_in_954.rrd":"traffic_in":AVERAGE \
DEF:cd="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1119.rrd":"traffic_out":AVERAGE \
DEF:ce="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_in":AVERAGE \
DEF:cf="C\:/Apache24/htdocs/cacti/rra/tengfei-ne40_traffic_in_1127.rrd":"traffic_out":AVERAGE \
DEF:cg="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1178.rrd":"traffic_out":AVERAGE \
DEF:ch="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1180.rrd":"traffic_out":AVERAGE \
DEF:ci="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1177.rrd":"traffic_out":AVERAGE \
DEF:cj="C\:/Apache24/htdocs/cacti/rra/zhongxin-asr9kshiqu_traffic_in_1179.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
CDEF:cdefi="c,8,*" \
CDEF:cdefbc="d,8,*" \
CDEF:cdefbg="e,8,*" \
CDEF:cdefca="f,8,*" \
CDEF:cdefce="g,8,*" \
CDEF:cdefci="h,8,*" \
CDEF:cdefdc="i,8,*" \
CDEF:cdefdg="j,8,*" \
CDEF:cdefea="ba,8,*" \
CDEF:cdefee="bb,8,*" \
CDEF:cdefei="bc,8,*" \
CDEF:cdefej="bd,8,*" \
CDEF:cdeffa="be,8,*" \
CDEF:cdeffb="bf,8,*" \
CDEF:cdeffc="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,8,*" \
CDEF:cdeffg="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,ce,+,cf,-,8,*" \
CDEF:cdefga="i,j,+,ba,+,cf,+,8,*" \
CDEF:cdefge="bg,8,*" \
CDEF:cdefgf="bh,8,*" \
CDEF:cdefgg="bi,8,*" \
CDEF:cdefgh="bj,8,*" \
CDEF:cdefgi="ca,8,*" \
CDEF:cdefgj="cb,8,*" \
CDEF:cdefha="cc,8,*" \
CDEF:cdefhb="cd,8,*" \
CDEF:cdefhc="ce,8,*" \
CDEF:cdefhd="cf,8,*" \
CDEF:cdefhe="a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,-,j,-,ba,-,bb,-,bc,-,bd,-,be,-,bf,-,bg,+,bh,+,bi,+,bj,+,ca,+,cb,+,cc,+,cd,-,ce,+,cf,-,8,*" \
CDEF:cdefhi="cg,8,*" \
CDEF:cdefhj="ch,8,*" \
CDEF:cdefia="ci,8,*" \
CDEF:cdefib="cj,8,*" \
LINE1:cdefa#FFFFFFFF:"BenDiHuanCun1 Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#FFFFFFFF:"BenDiHuanCun2 Inbound" \
GPRINT:cdefe:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefi#FFFFFFFF:"BenDiHuanCun3 InBound" \
GPRINT:cdefi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbc#FFFFFFFF:"WuXi InBound" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefbg#FFFFFFFF:"ChangShu InBound" \
GPRINT:cdefbg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefbg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefca#FFFFFFFF:"WuJiang InBound" \
GPRINT:cdefca:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefca:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefca:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefce#FFFFFFFF:"KunShan InBound" \
GPRINT:cdefce:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefce:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefce:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefci#FFFFFFFF:"ZhangJiaGang InBound" \
GPRINT:cdefci:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefci:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefci:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdc#FFFFFFFF:"BenDiHuanCun1 Outbound" \
GPRINT:cdefdc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefdg#FFFFFFFF:"BenDiHuanCun2 Outbound" \
GPRINT:cdefdg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefea#FFFFFFFF:"BenDiHuanCun3 OutBound" \
GPRINT:cdefea:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefea:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefea:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefee#FFFFFFFF:"WuXi OutBound" \
GPRINT:cdefee:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefee:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefee:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefei#FFFFFFFF:"ChangShu OutBound" \
LINE1:cdefej#FFFFFFFF:"WuJiang OutBound" \
LINE1:cdeffa#FFFFFFFF:"KunShan OutBound\n" \
LINE1:cdeffb#FFFFFFFF:"ZhangJiaGang OutBound\n" \
AREA:cdeffc#00CF00FF:"HuanCun Given to SuZhou" \
GPRINT:cdeffc:LAST:" Current\:%8.2lf%s" \
GPRINT:cdeffc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdeffc:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdeffg#FF0000FF:"HuanCun Pure Inbound" \
GPRINT:cdeffg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdeffg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdeffg:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefga#002A97FF:"HuanCun HuiYuan" \
GPRINT:cdefga:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefga:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefga:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefge#FFFFFFFF:"20G InBound\n" \
LINE1:cdefgf#FFFFFFFF:"HuaShu Inbound\n" \
LINE1:cdefgg#FFFFFFFF:"LianTong500M_InBound\n" \
LINE1:cdefgh#FFFFFFFF:"WangTong100M InBound\n" \
LINE1:cdefgi#FFFFFFFF:"YiDong InBound\n" \
LINE1:cdefgj#FFFFFFFF:"GuoXin InBound\n" \
LINE1:cdefha#FFFFFFFF:"SuZhouLianTong_Inbound\n" \
LINE1:cdefhb#FFFFFFFF:"to_WuJiang_SuZhouLianTong_OutBound\n" \
LINE1:cdefhc#FFFFFFFF:"LanXunHuanCun InBound\n" \
LINE1:cdefhd#FFFFFFFF:"LanXunHuanCun_OutBound\n" \
LINE1:cdefhe#00CF00FF:"ZongChuKou" \
GPRINT:cdefhe:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefhe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefhe:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefhi#FFFFFFFF:"HuaShu To ChangShu\n" \
LINE1:cdefhj#FFFFFFFF:"HuaShu to KunShan\n" \
LINE1:cdefia#FFFFFFFF:"HuaShu To WuJiang\n" \
LINE1:cdefib#FFFFFFFF:"HuaShu to ZhangJiaGang\n" RRDTool Says:

OK
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests