This is something that has only just recently started happening on our cacti, I'm not aware of any upgrades or changes to cacti itself.
Creating a new aggregate graph the same issue still occurs.
cacti version: 1.2.10
The aggregate includes 3 items an most settings are left to 'default'.
This issue is it's clearly trying to create a CDEF with an empty first value:
But I cannot decipher where/what that should be or where it's come from. Advice on how to step back over this would be appreciated and how to work out where the issue is?CDEF:cdefbb=',8,*' \
The RRD/graph debug shows this:
Code: Select all
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--pango-markup \
--title='Aggregate - Peering' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 07/08/2024 10\:54\:12 To 08/08/2024 10\:49\:12\c" \
COMMENT:" \n" \
--border 1 --slope-mode \
--watermark 'Cacti for pulsant.com' \
DEF:a='/usr/share/cacti/site/rra/cr01_the-lon_traffic_in_81462.rrd':'traffic_in':MAX \
DEF:b='/usr/share/cacti/site/rra/cr01_the-lon_traffic_in_81462.rrd':'traffic_in':AVERAGE \
DEF:c='/usr/share/cacti/site/rra/cr01_p2_edi3_traffic_in_141483.rrd':'traffic_in':MAX \
DEF:d='/usr/share/cacti/site/rra/cr01_p2_edi3_traffic_in_141483.rrd':'traffic_in':AVERAGE \
DEF:e='/usr/share/cacti/site/rra/cr02_dc3_man1_traffic_in_181893.rrd':'traffic_in':MAX \
DEF:f='/usr/share/cacti/site/rra/cr02_dc3_man1_traffic_in_181893.rrd':'traffic_in':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='TIME,1723110553,GT,b,b,UN,0,b,IF,IF,TIME,1723110553,GT,d,d,UN,0,d,IF,IF,TIME,1723110553,GT,f,f,UN,0,f,IF,IF,+,+,8,*' \
CDEF:cdefbb=',8,*' \
LINE1:cdefa#00CF00FF: \
AREA:cdefb#00CF007F: \
LINE1:cdefc#00CF00FF: \
AREA:cdefd#00CF007F: \
LINE1:cdefe#00CF00FF: \
AREA:cdeff#00CF007F: \
LINE1:cdefg#00CF00FF: \
AREA:cdefg#00CF00FF:'Total' \
GPRINT:cdefg:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefg:MAX:'Maximum\:%8.2lf %s\n' \
GPRINT:cdefbb:LAST:'%8.2lf %s\n' \
GPRINT:cdefbb:MAX:'Maximum\:%8.2lf %s\n' \
COMMENT:' \n' \
HRULE:5457062353.44#FF0000FF:'95th Percentile' \
COMMENT:'(5457.06 mbit in+out)'
RRDtool Says:
ERROR: don't understand ',8,*'