I noticed the graph is wrong at cacti 0.8.8b.
graph debug mode says the following :
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1384750920 \
--end=1384765320 \
--title='web4 - Detailed Memory' \
--rigid \
--base=1000 \
--height=150 \
--width=620 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2013/11/18 14\:02\:00 To 2013/11/18 18\:02\:00\c" \
COMMENT:" \n" \
--vertical-label='kilobytes' \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:9: \
--font UNIT:8: \
DEF:a='/db/cacti-0.8.7e/rra/web1_1_ucd_memtotalreal_967.rrd':'ucd_memTotalReal':AVERAGE \
DEF:b='/db/cacti-0.8.7e/rra/web1_1_ucd_memavailreal_963.rrd':'ucd_memAvailReal':AVERAGE \
DEF:c='/db/cacti-0.8.7e/rra/web4_ucd_memavailreal_1299.rrd':'ucd_memAvailReal':AVERAGE \
DEF:d='/db/cacti-0.8.7e/rra/web4_ucd_memshared_1316.rrd':'ucd_memShared':AVERAGE \
DEF:e='/db/cacti-0.8.7e/rra/web4_ucd_membuffer_1314.rrd':'ucd_memBuffer':AVERAGE \
DEF:f='/db/cacti-0.8.7e/rra/web4_ucd_memcached_1315.rrd':'ucd_memCached':AVERAGE \
CDEF:cdefc='b,-1,*' \
AREA:a#FF0000FF:'Total' \
GPRINTLAST:' Current\:%8.2lf %s\n' \
AREA:cdefc#00B99BFF:'Free':STACK \
GPRINTLAST:' Current\:%8.2lf %s' \
GPRINTAVERAGE:'Average\:%8.2lf %s' \
GPRINTMIN:'Min\:%8.2lf %s' \
GPRINT:c:MAX:'Max\:%8.2lf %s\n' \
COMMENT:'Used memory includes\:\n' \
AREA:e#FFF200FF:'Buffers' \
GPRINT:e:LAST:'Current\:%8.2lf %s' \
GPRINT:e:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:e:MIN:'Min\:%8.2lf %s' \
GPRINT:e:MAX:'Max\:%8.2lf %s\n' \
AREA:f#EAAF00FF:'Cached':STACK \
GPRINT:f:LAST:' Current\:%8.2lf %s' \
GPRINT:f:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:d:MIN:'Min\:%8.2lf %s' \
GPRINT:f:MAX:'Max\:%8.2lf %s\n' \
AREA:d#837C04FF:'Shared':STACK \
GPRINT:d:LAST:' Current\:%8.2lf %s' \
GPRINT:d:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:d:MIN:'Min\:%8.2lf %s' \
GPRINT:d:MAX:'Max\:%8.2lf %s'
OK
---------------------------------------
The following web1 is wrong. This should be web4.
But I can't specify this by "Supplemental Graph Template Data".
DEF:a='/db/cacti-0.8.7e/rra/web1_1_ucd_memtotalreal_967.rrd':'ucd_memTotalReal':AVERAGE \
DEF:b='/db/cacti-0.8.7e/rra/web1_1_ucd_memavailreal_963.rrd':'ucd_memAvailReal':AVERAGE \
How should I fix this?
Graph is wrong at cacti 0.8.8b
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 14 guests