Code: Select all
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-180000" \
--end="-300" \
--pango-markup \
--title="Sabaragamuwa Provicial Office - Traffic - WAN_SLTIPVPN" \
--vertical-label="bytes per second" \
--slope-mode \
--base=1000 \
--height=150 \
--width=550 \
--rigid \
--alt-autoscale-max \
--lower-limit="0" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:"Ariel" \
--font AXIS:8:"Ariel" \
--font LEGEND:8:"Courier" \
--font UNIT:8:"Ariel" \
--font WATERMARK:6:"Ariel" \
--slope-mode \
--watermark "Generated by Cacti®" \
DEF:a="C\:/Apache24/htdocs/cacti/rra/sabaragamuwa_provicial_office_traffic_in_23.rrd":"traffic_in":MAX \
DEF:b="C\:/Apache24/htdocs/cacti/rra/sabaragamuwa_provicial_office_traffic_in_23.rrd":"traffic_in":AVERAGE \
DEF:c="C\:/Apache24/htdocs/cacti/rra/sabaragamuwa_provicial_office_traffic_in_23.rrd":"traffic_out":MAX \
DEF:d="C\:/Apache24/htdocs/cacti/rra/sabaragamuwa_provicial_office_traffic_in_23.rrd":"traffic_out":AVERAGE \
LINE1:a#00CF00FF:"" \
AREA:b#00CF007F:"Inbound " \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: -180000 B\n" \
LINE1:c#002A97FF:"" \
AREA:d#002A977F:"Outbound" \
GPRINT:d:LAST:"Current\:%8.2lf %s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: -180000 B\n"
RRDTool Says:
OK