I have a graph on an external ADSL2+ connection that is limited to around 10Mb. The graph i have seems to fail when its data goes over 5Mb.
The inbound data in the circled area was about 6Mb/sec.
Graph Debug:
Code: Select all
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="fw1-juniper stats - Traffic - adsl1/0" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:6: \
--font LEGEND:8: \
--font UNIT:6: \
DEF:a="/usr/local/apache2/htdocs/cacti/rra/fw1-screenos_traffic_in_321.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/apache2/htdocs/cacti/rra/fw1-screenos_traffic_in_321.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,-8,* \
CDEF:cdefh=b,8,* \
AREA:cdefa#00CF0033:"" \
LINE1: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" \
AREA:cdeff#002A9733:"" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdefh:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s"
Code: Select all
/usr/local/bin/rrdtool create \
/usr/local/apache2/htdocs/cacti/rra/fw1-screenos_traffic_in_321.rrd \
--step 60 \
DS:traffic_in:COUNTER:120:0:100000000000 \
DS:traffic_out:COUNTER:120:0:100000000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
I have other graphs based on the same template that are showing over 800Mb/sec (switches), so I cant understand why my graph isnt working.
Thnks
D.