Having a issue with 95th percentile graphs. After upgrading I am now unable to create 95th graphs, historical ones still update correctly.
Showing the graph in debug mode gives this output:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="A+1 Atlas Testing - 3550 - Traffic - Fa0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/a1_atlas_testing_-_3550_traffic_in_848.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/a1_atlas_testing_-_3550_traffic_in_848.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
CDEF:cdefbe=a,UN,INF,UNKN,IF \
CDEF:cdefbh=TIME,1269955356,GT,a,a,UN,0,a,IF,IF,TIME,1269955356,GT,b,b,UN,0,b,IF,IF,+ \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Transfer\: 0 bytes" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
HRULE:|95\:bits\:0\:current|#00FF00FF:"95%\:" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)" \
AREA:cdefbe#8F9286FF:"" \
COMMENT:"Transfer\: 0 bytes" \
HRULE:|95\:bits\:0\:current|#0000FFFF:"95%\:" \
COMMENT:"0 mbit" \
COMMENT:"Total Transfer\: 0 bytes\n"
RRDTool Says:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="A+1 Atlas Testing - 3550 - Traffic - Fa0/48" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/a1_atlas_testing_3550_traffic_in_499.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/a1_atlas_testing_3550_traffic_in_499.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:904063.42#FF0000FF:"95th Percentile" \
COMMENT:"(0.9 mbit in+out)"
RRDTool Says:
OK
I believe the command that is trying to be run is held in the database as a new install and import gives this result. Does anyone know if this is the case, and where it might be?ERROR: Expected some arguments after 'HRULE:'
95:bits:0:current: command not found
95:bits:0:current: command not found
If not, any other ideas?
Thanks
Rich