rrdtool error while creating aggregate graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
seansullivan
Posts: 12
Joined: Thu Aug 25, 2011 5:15 pm

rrdtool error while creating aggregate graph

Post by seansullivan »

This was working fine a few weeks ago... I choose a few graphs, the same in nature but different hosts, click create aggregate and I get this:

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Aggregate - JVM Heap Utilization - list' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label= \
--slope-mode \
--font TITLE:7: \
--font AXIS:6: \
--font LEGEND:6: \
--font UNIT:6: \
DEF:a="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapmaxsiz_11640.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:b="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapcommit_11639.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:c="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapused_11641.rrd":jvmMemoryHeapUsed:AVERAGE \
DEF:d="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapmaxsiz_11652.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:e="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapcommit_11651.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:f="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapused_11653.rrd":jvmMemoryHeapUsed:AVERAGE \
DEF:g="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapmaxsiz_11613.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:h="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapcommit_11612.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:i="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapused_11614.rrd":jvmMemoryHeapUsed:AVERAGE \
DEF:j="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapmaxsiz_11625.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:ba="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapcommit_11624.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:bb="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapused_11626.rrd":jvmMemoryHeapUsed:AVERAGE \
CDEF:cdefa=a,0,* \
CDEF:cdefb=b,0,* \
CDEF:cdefc=c,0,* \
CDEF:cdefd=d,0,* \
CDEF:cdefe=e,0,* \
CDEF:cdeff=f,0,* \
CDEF:cdefg=g,0,* \
CDEF:cdefh=h,0,* \
CDEF:cdefi=i,0,* \
CDEF:cdefj=j,0,* \
CDEF:cdefba=ba,0,* \
CDEF:cdefbb=bb,0,* \
CDEF:cdefbc=TIME,1316813226,GT,a,a,UN,0,a,IF,IF,TIME,1316813226,GT,d,d,UN,0,d,IF,IF,TIME,1316813226,GT,g,g,UN,0,g,IF,IF,TIME,1316813226,GT,j,j,UN,0,j,IF,IF,+,+,+ \
CDEF:cdefbd=TIME,1316813226,GT,b,b,UN,0,b,IF,IF,TIME,1316813226,GT,e,e,UN,0,e,IF,IF,TIME,1316813226,GT,h,h,UN,0,h,IF,IF,TIME,1316813226,GT,ba,ba,UN,0,ba,IF,IF,+,+,+ \
CDEF:cdefbe=TIME,1316813226,GT,c,c,UN,0,c,IF,IF,TIME,1316813226,GT,f,f,UN,0,f,IF,IF,TIME,1316813226,GT,i,i,UN,0,i,IF,IF,TIME,1316813226,GT,bb,bb,UN,0,bb,IF,IF,+,+,+ \
:cdefa#FF0000FF:"":STACK \
:cdefb#00FF00FF:"":STACK \
AREA:cdefc#0000FFFF:"" \
AREA:cdefd#FF0000FF:"":STACK \
AREA:cdefe#00FF00FF:"":STACK \
AREA:cdeff#0000FFFF:"":STACK \
AREA:cdefg#FF0000FF:"":STACK \
AREA:cdefh#00FF00FF:"":STACK \
AREA:cdefi#0000FFFF:"":STACK \
AREA:cdefj#FF0000FF:"":STACK \
AREA:cdefba#00FF00FF:"":STACK \
AREA:cdefbb#0000FFFF:"":STACK \
AREA:cdefbc#FF0000FF:"Total Max\n":STACK \
AREA:cdefbd#00FF00FF:"Total Committed\n":STACK \
AREA:cdefbe#0000FFFF:"Total Used\n":STACK
RRDTool Says:
ERROR: Could not make sense out of ':cdefa#FF0000FF::STACK'

Any ideas whats up with this?
seansullivan
Posts: 12
Joined: Thu Aug 25, 2011 5:15 pm

Re: rrdtool error while creating aggregate graph

Post by seansullivan »

The 4 graphs by themselves are all good. Here's rrd debug on them in case it helps:

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='bak01b - JVM Heap Utilization - list' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label= \
--slope-mode \
--font TITLE:7: \
--font AXIS:6: \
--font LEGEND:6: \
--font UNIT:6: \
DEF:a="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapmaxsiz_11640.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:b="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapcommit_11639.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:c="/var/www/cacti-0.8.7g/rra/bak01b_jvmmemoryheapused_11641.rrd":jvmMemoryHeapUsed:AVERAGE \
LINE1:a#FF0000FF:"Max" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:b#00FF00FF:"Committed" \
GPRINT:b:LAST:"Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n" \
AREA:c#0000FFFF:"Used" \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
OK

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='bak02b - JVM Heap Utilization - list' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label= \
--slope-mode \
--font TITLE:7: \
--font AXIS:6: \
--font LEGEND:6: \
--font UNIT:6: \
DEF:a="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapmaxsiz_11652.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:b="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapcommit_11651.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:c="/var/www/cacti-0.8.7g/rra/bak02b_jvmmemoryheapused_11653.rrd":jvmMemoryHeapUsed:AVERAGE \
LINE1:a#FF0000FF:"Max" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:b#00FF00FF:"Committed" \
GPRINT:b:LAST:"Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n" \
AREA:c#0000FFFF:"Used" \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
OK

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='bak03b - JVM Heap Utilization - list' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label= \
--slope-mode \
--font TITLE:7: \
--font AXIS:6: \
--font LEGEND:6: \
--font UNIT:6: \
DEF:a="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapmaxsiz_11613.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:b="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapcommit_11612.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:c="/var/www/cacti-0.8.7g/rra/bak03b_jvmmemoryheapused_11614.rrd":jvmMemoryHeapUsed:AVERAGE \
LINE1:a#FF0000FF:"Max" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:b#00FF00FF:"Committed" \
GPRINT:b:LAST:"Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n" \
AREA:c#0000FFFF:"Used" \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
OK

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='bak04b - JVM Heap Utilization - list' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label= \
--slope-mode \
--font TITLE:7: \
--font AXIS:6: \
--font LEGEND:6: \
--font UNIT:6: \
DEF:a="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapmaxsiz_11625.rrd":jvmMemoryHeapMaxSiz:AVERAGE \
DEF:b="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapcommit_11624.rrd":jvmMemoryHeapCommit:AVERAGE \
DEF:c="/var/www/cacti-0.8.7g/rra/bak04b_jvmmemoryheapused_11626.rrd":jvmMemoryHeapUsed:AVERAGE \
LINE1:a#FF0000FF:"Max" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:b#00FF00FF:"Committed" \
GPRINT:b:LAST:"Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n" \
AREA:c#0000FFFF:"Used" \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
OK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: rrdtool error while creating aggregate graph

Post by gandalf »

Which options did you use when creating the aggregate?
R.
seansullivan
Posts: 12
Joined: Thu Aug 25, 2011 5:15 pm

Re: rrdtool error while creating aggregate graph

Post by seansullivan »

Something wrong with my VPN access. I'll check tomorrow morn and get back to you. Thanks!
seansullivan
Posts: 12
Joined: Thu Aug 25, 2011 5:15 pm

Re: rrdtool error while creating aggregate graph

Post by seansullivan »

Ok,

Convert to AREA/STACK graph
Print totaling legend items only
total similar data sources
item1 LINE1 AVG
item5 LINE1 AVG
item9 AREA AVG
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: rrdtool error while creating aggregate graph

Post by TheWitness »

What version of Aggregate too...
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest