I am in the evaluation of cacti version 0.8.7d for productive usage.
Until now we use cacti version 0.8.6i.
I followed exactly the upgrade path with database backup and copied the
rrd files into its place.
Nearly all devices are graphed fine, but some are not!
Graphs using the *ALL_DATA_SOURCES_NODUPS functionality aren't shown at all.
The rrd's are written correctly to the disk but the "rrdtool graph"
command shown in the debug view of the "Graph Management" misses the
CDEF value. It is left blank causing the rrdtool a **segmentation
fault** of which you can only be aware of, if you are running the same
command on the shell. In cacti 0.8.6i the CDEF contains the needed value
*
--CDEF:cdefba=TIME,1239290944,GT,a,a,UN,0,a,IF,IF,TIME,1239290944,GT,b,b,UN,0,b,IF,IF,+
*
I read the following bug report **http://bugs.cacti.net/view.php?id=1392
**and studied the fix for it, but it did not address our problem.
Attached to the mail you will find the rrdtool graph command output.
Do you have any hints for me?
Regards
Dieter
Here the RRDTool Command for version 0.8.7d:
*
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="test_persec - Apache Processes" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Apache Processes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/test_persec_5050.rrd":idle:AVERAGE \
DEF:b="/var/lib/cacti/rra/test_persec_5050.rrd":processed:AVERAGE \
CDEF:cdefba= \
LINE2:a#00BD27FF:"Idle" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:MIN:"Min\:%8.0lf" \
GPRINT:a:AVERAGE:"Avg\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE2:b#2175D9FF:"Aktive" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:MIN:"Min\:%8.0lf" \
GPRINT:b:AVERAGE:"Avg\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n" \
LINE2:cdefba#FF0000FF:"Total" \
GPRINT:cdefba:LAST:" Current\:%8.0lf" \
GPRINT:cdefba:MIN:"Min\:%8.0lf" \
GPRINT:cdefba:AVERAGE:"Avg\:%8.0lf" \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s"
RRDTool Command* 0.8.6i:*
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="test_persec - Apache Processes" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Apache Processes" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/test_persec_5050.rrd":idle:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/test_persec_5050.rrd":processed:AVERAGE \
CDEF:cdefba=TIME,1239290944,GT,a,a,UN,0,a,IF,IF,TIME,1239290944,GT,b,b,UN,0,b,IF,IF,+
\
LINE2:a#00BD27:"Idle" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:MIN:"Min\:%8.0lf" \
GPRINT:a:AVERAGE:"Avg\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE2:b#2175D9:"Aktive" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:MIN:"Min\:%8.0lf" \
GPRINT:b:AVERAGE:"Avg\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n" \
LINE2:cdefba#FF0000:"Total" \
GPRINT:cdefba:LAST:" Current\:%8.0lf" \
GPRINT:cdefba:MIN:"Min\:%8.0lf" \
GPRINT:cdefba:AVERAGE:"Avg\:%8.0lf" \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s"
RRDTool Says:
Code: Select all