Error in aggrigattion:ERROR String ends after the = sign on

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
shahab
Posts: 8
Joined: Fri Jul 01, 2011 1:19 pm

Error in aggrigattion:ERROR String ends after the = sign on

Post by shahab »

Hi..
I'm trying to aggregate two graph, but I want to have sum of similar data sources on the aggregated graph. so I used aggregation plugin (v0.7.5) and mark "Totaling:Total Similar Data Sources".
the error appears if I choose more than one pair of similar fields.

Do u have any idea?

Thanks in Advance.

Code: Select all

 in case of using more than one similar pair and getting error
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Aggregate - Transmission Statistics ' \
--rigid \
--base=1000 \
--height=120 \
--width=501 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='Count' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s1:AVERAGE \
DEF:b="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s1:AVERAGE \
DEF:c="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s2:AVERAGE \
DEF:d="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s2:AVERAGE \
DEF:e="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s3:AVERAGE \
DEF:f="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s3:AVERAGE \
DEF:g="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s4:AVERAGE \
DEF:h="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s4:AVERAGE \
CDEF:cdefbg=TIME,1313876879,GT,a,a,UN,0,a,IF,IF,TIME,1313876879,GT,b,b,UN,0,b,IF,IF,+ \
CDEF:cdefbj= \
CDEF:cdefca=TIME,1313876879,GT,e,e,UN,0,e,IF,IF,TIME,1313876879,GT,f,f,UN,0,f,IF,IF,+ \
CDEF:cdefcd= \
--watermark "Shahab" \
AREA:a#FF00FF7F:"10.11.38.1 <Submit_sm> "  \
GPRINT:a:LAST:"    %8.2lf %s\n"  \
AREA:a#F9FD5FCC:"10.11.38.1 <Submit_resp>":STACK \
AREA:b#FF00FF7F:"10.18.38.1 <Submit_sm> ":STACK \
GPRINT:b:LAST:"    %8.2lf %s\n"  \
AREA:b#F9FD5FCC:"10.18.38.1 <Submit_resp>":STACK \
GPRINT:c:LAST:"   %8.2lf %s\n"  \
GPRINT:d:LAST:"%8.2lf %s\n"  \
AREA:e#0000FF7F:"10.11.38.1 <Deliverd_sm> ":STACK \
GPRINT:e:LAST:"  %8.2lf %s\n"  \
AREA:e#00FF007F:"10.11.38.1 <Deliverd_resp> ":STACK \
AREA:f#0000FF7F:"10.18.38.1 <Deliverd_sm> ":STACK \
GPRINT:f:LAST:"  %8.2lf %s\n"  \
AREA:f#00FF007F:"10.18.38.1 <Deliverd_resp> ":STACK \
GPRINT:g:LAST:"%8.2lf %s\n"  \
GPRINT:h:LAST:"%8.2lf %s\n"  \
LINE1:cdefbg#FF00FF7F:"Total <Submit_sm> "  \
GPRINT:cdefbg:LAST:"         %8.2lf %s\n"  \
LINE1:cdefbg#F9FD5FCC:"Total <Submit_resp>"  \
GPRINT:cdefbj:LAST:"        %8.2lf %s\n"  \
LINE1:cdefca#0000FF7F:"Total <Deliverd_sm> "  \
GPRINT:cdefca:LAST:"       %8.2lf %s\n"  \
LINE1:cdefca#00FF007F:"Total <Deliverd_resp> "  \
GPRINT:cdefcd:LAST:"     %8.2lf %s\n" 

RRDTool Says:

ERROR: String ends after the = sign on 'CDEF:cdefbj='

Code: Select all

 in case of just selecting one pair of similar fields and no error ! 
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Aggregate - Transmission Statistics ' \
--rigid \
--base=1000 \
--height=120 \
--width=501 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='Count' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s1:AVERAGE \
DEF:b="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s2:AVERAGE \
DEF:c="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s3:AVERAGE \
DEF:d="/usr/share/cacti/rra/10_11_38_1_ds_s2_65.rrd":ds_s4:AVERAGE \
DEF:e="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s1:AVERAGE \
DEF:f="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s2:AVERAGE \
DEF:g="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s3:AVERAGE \
DEF:h="/usr/share/cacti/rra/10_18_38_1_ds_s2_64.rrd":ds_s4:AVERAGE \
CDEF:cdefbg=TIME,1313877081,GT,a,a,UN,0,a,IF,IF,TIME,1313877081,GT,e,e,UN,0,e,IF,IF,+ \
--watermark "Shahab" \
AREA:a#FF00FF7F:"10.11.38.1 <Submit_sm> "  \
GPRINT:a:LAST:"    %8.2lf %s\n"  \
AREA:a#F9FD5FCC:"10.11.38.1 <Submit_resp>":STACK \
GPRINT:b:LAST:"   %8.2lf %s\n"  \
AREA:c#0000FF7F:"10.11.38.1 <Deliverd_sm> ":STACK \
GPRINT:c:LAST:"  %8.2lf %s\n"  \
AREA:c#00FF007F:"10.11.38.1 <Deliverd_resp> ":STACK \
GPRINT:d:LAST:"%8.2lf %s\n"  \
AREA:e#FF00FF7F:"10.18.38.1 <Submit_sm> ":STACK \
GPRINT:e:LAST:"    %8.2lf %s\n"  \
AREA:e#F9FD5FCC:"10.18.38.1 <Submit_resp>":STACK \
GPRINT:f:LAST:"   %8.2lf %s\n"  \
AREA:g#0000FF7F:"10.18.38.1 <Deliverd_sm> ":STACK \
GPRINT:g:LAST:"  %8.2lf %s\n"  \
AREA:g#00FF007F:"10.18.38.1 <Deliverd_resp> ":STACK \
GPRINT:h:LAST:"%8.2lf %s\n"  \
LINE1:cdefbg#FF00FF7F:"Total <Submit_sm> "  \
GPRINT:cdefbg:LAST:"         %8.2lf %s\n"  \
LINE1:cdefbg#F9FD5FCC:"Total <Submit_resp>" 

RRDTool Says:

OK
cacti version --> 8.7.g
rrdtool version --> 1.4.3
OS --> Linux (Debian), Kernel 2.6.31.6
aggregation plugin (v0.7.5)
shahab
Posts: 8
Joined: Fri Jul 01, 2011 1:19 pm

Re: Error in aggrigattion:ERROR String ends after the = sig

Post by shahab »

Anyone? now idea? :roll:
shahab
Posts: 8
Joined: Fri Jul 01, 2011 1:19 pm

Re: Error in aggrigattion:ERROR String ends after the = sig

Post by shahab »

Anyone? now idea? :roll:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Error in aggrigattion:ERROR String ends after the = sig

Post by gandalf »

Please show us the rrdtool graph statements for the base graph(s). And please post a screenshot of the aggregate settings when creatinmg the related aggregate
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest