HI,ALL
does anybody know what is "RPN final stack size != 1" mean? ,Cacti showed me this when I ran turn on the Graph Debug Mode.I just wanted to aggregate all my CPU graphy. who can help me ? I will be very very appreciate.best regards
the more detail :
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='10.0.3.12 - 24 CPU Utilization' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='percent' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/html/cacti/rra/21/777.rrd':'cpu':AVERAGE \
DEF:b='/var/www/html/cacti/rra/21/764.rrd':'cpu':AVERAGE \
DEF:c='/var/www/html/cacti/rra/21/783.rrd':'cpu':AVERAGE \
DEF:d='/var/www/html/cacti/rra/21/787.rrd':'cpu':AVERAGE \
DEF:e='/var/www/html/cacti/rra/21/767.rrd':'cpu':AVERAGE \
DEF:f='/var/www/html/cacti/rra/21/768.rrd':'cpu':AVERAGE \
DEF:g='/var/www/html/cacti/rra/21/769.rrd':'cpu':AVERAGE \
DEF:h='/var/www/html/cacti/rra/21/770.rrd':'cpu':AVERAGE \
DEF:i='/var/www/html/cacti/rra/21/771.rrd':'cpu':AVERAGE \
DEF:j='/var/www/html/cacti/rra/21/772.rrd':'cpu':AVERAGE \
DEF:ba='/var/www/html/cacti/rra/21/773.rrd':'cpu':AVERAGE \
DEF:bb='/var/www/html/cacti/rra/21/765.rrd':'cpu':AVERAGE \
DEF:bc='/var/www/html/cacti/rra/21/774.rrd':'cpu':AVERAGE \
DEF:bd='/var/www/html/cacti/rra/21/775.rrd':'cpu':AVERAGE \
DEF:be='/var/www/html/cacti/rra/21/776.rrd':'cpu':AVERAGE \
DEF:bf='/var/www/html/cacti/rra/21/778.rrd':'cpu':AVERAGE \
DEF:bg='/var/www/html/cacti/rra/21/779.rrd':'cpu':AVERAGE \
DEF:bh='/var/www/html/cacti/rra/21/780.rrd':'cpu':AVERAGE \
DEF:bi='/var/www/html/cacti/rra/21/781.rrd':'cpu':AVERAGE \
DEF:bj='/var/www/html/cacti/rra/21/782.rrd':'cpu':AVERAGE \
DEF:ca='/var/www/html/cacti/rra/21/766.rrd':'cpu':AVERAGE \
DEF:cb='/var/www/html/cacti/rra/21/784.rrd':'cpu':AVERAGE \
DEF:cc='/var/www/html/cacti/rra/21/785.rrd':'cpu':AVERAGE \
DEF:cd='/var/www/html/cacti/rra/21/786.rrd':'cpu':AVERAGE \
CDEF:cdefjg='a,b,c,d,e,f,g,h,i,j,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,ca,cb,cc,cd,+,24,/' \
AREA:a#000000FF:'CPU0\:' \
GPRINTLAST:' Current\:%8.2lf %%' \
GPRINTMIN:'Min\:%8.2lf %%' \
GPRINTMAX:'Max\:%8.2lf %%\n' \
AREA:c#FF9900FF:'CPU1\:':STACK \
GPRINT:c:LAST:' Current\:%8.2lf %%' \
GPRINT:c:MIN:'Min\:%8.2lf %%' \
GPRINT:c:MAX:'Max\:%8.2lf %%\n' \
AREA:d#FF5700FF:'CPU2\:':STACK \
GPRINT:d:LAST:' Current\:%8.2lf %%' \
GPRINT:d:MIN:'Min\:%8.2lf %%' \
GPRINT:d:MAX:'Max\:%8.2lf %%\n' \
AREA:e#FF0000FF:'CPU3\:':STACK \
GPRINT:e:LAST:' Current\:%8.2lf %%' \
GPRINT:e:MIN:'Min\:%8.2lf %%' \
GPRINT:e:MAX:'Max\:%8.2lf %%\n' \
AREA:f#DE0056FF:'CPU4\:':STACK \
GPRINT:f:LAST:' Current\:%8.2lf %%' \
GPRINT:f:MIN:'Min\:%8.2lf %%' \
GPRINT:f:MAX:'Max\:%8.2lf %%\n' \
AREA:g#A150AAFF:'CPU5\:':STACK \
GPRINT:g:LAST:' Current\:%8.2lf %%' \
GPRINT:g:MIN:'Min\:%8.2lf %%' \
GPRINT:g:MAX:'Max\:%8.2lf %%\n' \
AREA:h#8D00BAFF:'CPU6\:':STACK \
GPRINT:h:LAST:' Current\:%8.2lf %%' \
GPRINT:h:MIN:'Min\:%8.2lf %%' \
GPRINT:h:MAX:'Max\:%8.2lf %%\n' \
AREA:i#6557D0FF:'CPU7\:':STACK \
GPRINT:i:LAST:' Current\:%8.2lf %%' \
GPRINT:i:MAX:'Min\:%8.2lf %%' \
GPRINT:i:MAX:'Max\:%8.2lf %%\n' \
AREA:j#8D85F3FF:'CPU8\:':STACK \
GPRINT:j:LAST:' Current\:%8.2lf %%' \
GPRINT:j:MIN:'Min\:%8.2lf %%' \
GPRINT:j:MAX:'Max\:%8.2lf %%\n' \
AREA:ba#2175D9FF:'CPU9\:':STACK \
GPRINT:ba:LAST:' Current\:%8.2lf %%' \
GPRINT:ba:MIN:'Min\:%8.2lf %%' \
GPRINT:ba:MAX:'Max\:%8.2lf %%\n' \
AREA:bb#0000FFFF:'CPU10\:':STACK \
GPRINT:bb:LAST:' Current\:%8.2lf %%' \
GPRINT:bb:MIN:'Min\:%8.2lf %%' \
GPRINT:bb:MAX:'Max\:%8.2lf %%\n' \
AREA:bc#00A0C1FF:'CPU11\:':STACK \
GPRINT:bc:LAST:' Current\:%8.2lf %%' \
GPRINT:bc:MIN:'Min\:%8.2lf %%' \
GPRINT:bc:MAX:'Max\:%8.2lf %%\n' \
AREA:bd#96E78AFF:'CPU12\:':STACK \
GPRINT:bd:LAST:' Current\:%8.2lf %%' \
GPRINT:bd:MIN:'Min\:%8.2lf %%' \
GPRINT:bd:MAX:'Max\:%8.2lf %%\n' \
AREA:be#00CF00FF:'CPU13\:':STACK \
GPRINT:be:LAST:' Current\:%8.2lf %%' \
GPRINT:be:MIN:'Min\:%8.2lf %%' \
GPRINT:be:MAX:'Max\:%8.2lf %%\n' \
AREA:a#157419FF:'CPU14\:':STACK \
GPRINTLAST:' Current\:%8.2lf %%' \
GPRINTMIN:'Min\:%8.2lf %%' \
GPRINTMAX:'Max\:%8.2lf %%\n' \
AREA:bf#837C04FF:'CPU15\:':STACK \
GPRINT:bf:LAST:' Current\:%8.2lf %%' \
GPRINT:bf:MIN:'Min\:%8.2lf %%' \
GPRINT:bf:MAX:'Max\:%8.2lf %%\n' \
AREA:bg#FFC73BFF:'CPU16\:':STACK \
GPRINT:bg:LAST:' Current\:%8.2lf %%' \
GPRINT:bg:MIN:'Min\:%8.2lf %%' \
GPRINT:bg:MAX:'Max\:%8.1lf %%\n' \
AREA:bh#FF00FFFF:'CPU17\:':STACK \
GPRINT:bh:LAST:' Current\:%8.2lf %%' \
GPRINT:bh:MIN:'Min\:%8.2lf %%' \
GPRINT:bh:MAX:'Max\:%8.2lf %%\n' \
AREA:bi#ED7600FF:'CPU18\:':STACK \
GPRINT:bi:LAST:' Current\:%8.2lf %%' \
GPRINT:bi:MIN:'Min\:%8.2lf %%' \
GPRINT:bi:MAX:'Max\:%8.2lf %%\n' \
AREA:bj#D8ACE0FF:'CPU19\:':STACK \
GPRINT:bj:LAST:' Current\:%8.2lf %%' \
GPRINT:bj:MIN:'Min\:%8.2lf %%' \
GPRINT:bj:MAX:'Max\:%8.1lf %%\n' \
AREA:ca#AFECEDFF:'CPU20\:':STACK \
GPRINT:ca:LAST:' Current\:%8.1lf %%' \
GPRINT:ca:MIN:'Min\:%8.2lf %%' \
GPRINT:ca:MAX:'Max\:%8.2lf %%\n' \
AREA:cb#562B29FF:'CPU21\:':STACK \
GPRINT:cb:LAST:' Current\:%8.2lf %%' \
GPRINT:cb:MIN:'Min\:%8.1lf %%' \
GPRINT:cb:MAX:'Max\:%8.2lf %%\n' \
AREA:cc#8F9286FF:'CPU22\:':STACK \
GPRINT:cc:LAST:' Current\:%8.2lf %%' \
GPRINT:cc:MIN:'Min\:%8.2lf %%' \
GPRINT:cc:MAX:'Max\:%8.2lf %%\n' \
AREA:cd#837C04FF:'CPU23\:':STACK \
GPRINTLAST:' Current\:%8.2lf %%' \
GPRINTMIN:'Min\:%8.2lf %%' \
GPRINTMAX:'Max\:%8.2lf %%\n' \
AREA:cdefjg#FFFF00FF:'Mean CPU\:' RRDTool Says:
ERROR: RPN final stack size != 1
RPN final stack size != 1
Moderators: Developers, Moderators
Re: RPN final stack size != 1
I believe your CDEF is wrong.
Here is an old post (ty search!) with the same issue.
http://forums.cacti.net/post-78489.html
Code: Select all
CDEF:cdefjg='a,b,c,d,e,f,g,h,i,j,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,ca,cb,cc,cd,+,24,/' \
http://forums.cacti.net/post-78489.html
Who is online
Users browsing this forum: No registered users and 6 guests