RRDtool Graph Syntax
RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start='1495230821' \
--end='1495245221' \
--pango-markup  \
--title='CORE-ROUTER - Gi6/2 - internasional-t' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=120 \
--width=500 \
--tabwidth '30' \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2017/05/20 04\:53\:41 To 2017/05/20 08\:53\:41\c" \
COMMENT:"  \n" \
--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 'Copyright (C) 2004-2017 The Cacti Group' \
DEF:a='/home/cacti/public_html/rra/2245/107.rrd':'traffic_in':AVERAGE \
DEF:b='/home/cacti/public_html/rra/2245/107.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
CDEF:cdefba='b,8,*,-1,*' \
AREA:cdefa#00CF00FF:'Inbound \n'  \
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\n'  \
GPRINT:cdefe:LAST:'Current\:%8.2lf%s'  \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf%s'  \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf%s'  \
LINE1:cdefa#000000FF:''  \
COMMENT:'net-170\n'  \
LINE1:cdefba#000000FF:'' 
RRDTool Says:
OK