Graph is wrong at cacti 0.8.8b

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

Moderators: Developers, Moderators

Post Reply
sudohiro
Posts: 1
Joined: Mon Nov 18, 2013 1:10 am

Graph is wrong at cacti 0.8.8b

Post by sudohiro »

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' \
GPRINT:a:LAST:' Current\:%8.2lf %s\n' \
AREA:cdefc#00B99BFF:'Free':STACK \
GPRINT:b:LAST:' Current\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:b:MIN:'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?
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests