At this point I'm getting an "RPN stack underflow" error from rrdtool in the graph debug output:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="mikeyserver - Disk - C:" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Unit" \
--slope-mode \
DEF:a="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":PercentDiskReadTime:LAST \
DEF:b="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":PercentDiskWriteTim:LAST \
DEF:c="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":AvgDiskReadQueueLen:LAST \
DEF:d="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":AvgDiskWriteQueueLe:LAST \
DEF:e="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":AvgDiskReadPerSec:LAST \
DEF:f="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":AvgDiskWritePerSec:LAST \
DEF:g="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":PercentFreeSpace:LAST \
DEF:h="/var/www/esspub/cacti/rra/mikeyserver_freemegabytes_182.rrd":FreeMegabytes:LAST \
CDEF:cdefbb=h,1024,/,/ \
CDEF:cdefci=h,1048576,/ \
AREA:a#FF6044:"Read Time(%)" \
AREA:b#00BED9:"Write Time(%)" \
LINE1:c#F5F800:"Read Queue\:" \
LINE1:d#00FF00:"Write Queue\:\n" \
LINE1:e#0000FF:"Read /s\:" \
LINE1:f#DE0056:"Write /s" \
LINE1:g#000000:"Free Space (%)\n" \
COMMENT:"Statistics" \
GPRINT:a:LAST:" Read\: (%1.1lf %%)" \
GPRINT:b:LAST:"Write\: (%1.1lf %%)" \
GPRINT:g:LAST:"Free\: (%1.1lf %%)" \
GPRINT:cdefbb:LAST:"Available\: %5.2lf Gb\n" \
COMMENT:"Read IO / sec\:" \
GPRINT:e:LAST:"Current\:%8.0lf" \
GPRINT:e:AVERAGE:"Average\:%8.0lf" \
GPRINT:e:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write IO / sec\:" \
GPRINT:f:LAST:"Current\:%8.0lf" \
GPRINT:f:AVERAGE:"Average\:%8.0lf" \
GPRINT:f:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Read Queue\:" \
GPRINT:c:LAST:"Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Write Queue\:" \
GPRINT:d:LAST:"Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefci#FFFFFF:""
RRDTool Says:
ERROR: RPN stack underflow
Edit: Okay, after more detective work, I tracked down the problem item to item #12: GPRINT:cdefbb:LAST:"Available\: %5.2lf Gb\n" \
I set the CDEF function for that item in the graph template to None, and now I don't get the rpn error anymore, so that's something at least.