I'm facing a very weird issue, with 3 similar Graph Templates using a CDEF function (ALL_DATA_SOURCES_NODUPS).
These Graph Templates only differ by the data sources they use and the colours.
First of all, I want to say that I was using these Graph Templates before, without any issue, on the following "old" platform (Debian):
Cacti Version: 0.8.7g
Cacti OS: unix
SNMP Version: NET-SNMP version: 5.2.3
RRDTool Version: RRDTool 1.2.x
Everything was OK then.
I re-created the Data Sources, imported the templates on the following "new" platform (700 graphs and 50 hosts that work OK):
Cacti Version: 0.8.8b
Cacti OS: unix
SNMP Version: NET-SNMP version: 5.4.3
RRDTool Version: RRDTool 1.4.x
Here is the Graph Debug message that appears when I want to create a graph with any of the 3 templates:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Nombre de connexions : SFR' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/srv/monitoring/cacti-0.8.8b/rra/replicat03_countacqsfr_947.rrd':'CountAcqSfr':AVERAGE \
DEF:b='/srv/monitoring/cacti-0.8.8b/rra/replicat03_countacqsfr_947.rrd':'CountAcqSfr':MAX \
DEF:c='/srv/monitoring/cacti-0.8.8b/rra/replicat03_countacqsfrpre_948.rrd':'CountAcqSfrPre':AVERAGE \
DEF:d='/srv/monitoring/cacti-0.8.8b/rra/replicat03_countacqsfrpre_948.rrd':'CountAcqSfrPre':MAX \
CDEF:cdefh='' \
GPRINT:a:LAST:'%8.0lf' \
GPRINT:a:AVERAGE:'Moyenne\:%8.0lf' \
GPRINT:b:MAX:'Maximum\:%8.0lf\n' \
GPRINT:c:LAST:'%8.0lf' \
GPRINT:c:AVERAGE:'Moyenne\:%8.0lf' \
GPRINT:d:MAX:'Maximum\:%8.0lf\n' \
COMMENT:'--------------------------------------------------------------------------------\n' \
LINE1:cdefh#000000FF:'[Total]' \
GPRINT:cdefh:LAST:'%8.0lf\n' \
COMMENT:'--------------------------------------------------------------------------------'
RRDTool Says:
ERROR: String ends after the = sign on 'CDEF:cdefh='
I spent more than a day debugging this issue without success...
Can please anyone help me?