I've gone through the graph template and I can't find an extra space on any of the labels. Here's the debug output from rrdtool:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="hugh - MySQL - Commands" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="commands per second" \
--slope-mode \
DEF:a="/var/www/cacti/rra/hugh_com_select_54.rrd":com_select:AVERAGE \
DEF:b="/var/www/cacti/rra/hugh_qcache_hits_57.rrd":qcache_hits:AVERAGE \
DEF:c="/var/www/cacti/rra/hugh_com_select_54.rrd":com_insert:AVERAGE \
DEF:d="/var/www/cacti/rra/hugh_com_select_54.rrd":com_insert_select:AVERAGE \
DEF:e="/var/www/cacti/rra/hugh_com_select_54.rrd":com_update:AVERAGE \
DEF:f="/var/www/cacti/rra/hugh_com_select_54.rrd":com_update_multi:AVERAGE \
DEF:g="/var/www/cacti/rra/hugh_com_select_54.rrd":com_replace:AVERAGE \
DEF:h="/var/www/cacti/rra/hugh_com_select_54.rrd":com_replace_select:AVERAGE \
DEF:i="/var/www/cacti/rra/hugh_com_select_54.rrd":com_delete:AVERAGE \
DEF:j="/var/www/cacti/rra/hugh_com_select_54.rrd":com_delete_multi:AVERAGE \
DEF:ba="/var/www/cacti/rra/hugh_com_select_54.rrd":com_truncate:AVERAGE \
CDEF:cdefa=a,UNKN,UNKN,IF \
CDEF:cdefb=b,UNKN,UNKN,IF \
CDEF:cdefc=c,UNKN,UNKN,IF \
CDEF:cdefd=d,UNKN,UNKN,IF \
CDEF:cdefe=e,UNKN,UNKN,IF \
CDEF:cdeff=f,UNKN,UNKN,IF \
CDEF:cdefg=g,UNKN,UNKN,IF \
CDEF:cdefh=h,UNKN,UNKN,IF \
CDEF:cdefi=i,UNKN,UNKN,IF \
CDEF:cdefj=j,UNKN,UNKN,IF \
CDEF:cdefba=a,b,+ \
CDEF:cdefbe=c,d,+ \
CDEF:cdefbi=e,f,+ \
CDEF:cdefcc=g,h,+ \
CDEF:cdefcg=i,j,+ \
LINE1:cdefa:"" \
LINE1:cdefb:"" \
LINE1:cdefc:"" \
LINE1:cdefd:"" \
LINE1:cdefe:"" \
LINE1:cdeff:"" \
LINE1:cdefg:"" \
LINE1:cdefh:"" \
LINE1:cdefi:"" \
LINE1:cdefj:"" \
LINE1:cdefba#005D57:"SELECT" \
GPRINT:cdefba:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefba:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbe#FF4105:"INSERT" \
GPRINT:cdefbe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbe:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbi#D8ACE0:"UPDATE" \
GPRINT:cdefbi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbi:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefcc#005199:"REPLACE" \
GPRINT:cdefcc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcc:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefcg#EACC00:"DELETE" \
GPRINT:cdefcg:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcg:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:ba#55D6D3:"TRUNCATE" \
GPRINT:ba:LAST:"Current\:%8.2lf %s" \
GPRINT:ba:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:ba:MAX:"Maximum\:%8.2lf %s"