/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1680567960 \
--end=1713621144 \
--title='PMV_VS_Huawei_L3 - Traffic - Gb09 - Alcoma 165Mb -> Hrbitov' \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale \
COMMENT:"From 2023/04/04 02\:26\:00 To 2024/04/20 15\:52\:24\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:9: \
--font LEGEND:9: \
--font UNIT:9: \
DEF:a="/var/www/cacti-0.8.8a/rra/pmv_switch_-_huawei9p_routing_traffic_in_1310.rrd":'traffic_in':AVERAGE \
DEF:b="/var/www/cacti-0.8.8a/rra/pmv_switch_-_huawei9p_routing_traffic_in_1310.rrd":'traffic_out':AVERAGE \
DEF:c="/var/www/cacti-0.8.8a/rra/pmv_switch_-_huawei9p_routing_traffic_in_1310.rrd":'traffic_in':MAX \
DEF:d="/var/www/cacti-0.8.8a/rra/pmv_switch_-_huawei9p_routing_traffic_in_1310.rrd":'traffic_out':MAX \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,-8,*' \
CDEF:cdeff='b,8,*' \
CDEF:cdefbb='c,8,*' \
CDEF:cdefbc='d,-8,*' \
AREA:cdefa#00CF00FF:"In AVG" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)" \
LINE1:cdefbb#00FF00FF:"In MAX" \
LINE1:cdefbc#55D6D3FF:"Out MAX" |