/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1710940532 \
--end=1713618932 \
--title='PMV_VS_HP_L2 - Traffic - Fe01 - 5GHz -> Benesovka' \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale \
COMMENT:"From 2024/03/20 14\:15\:32 To 2024/04/20 15\:15\:32\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_vs_hp_l2_traffic_in_2112.rrd":'traffic_in':AVERAGE \
DEF:b="/var/www/cacti-0.8.8a/rra/pmv_vs_hp_l2_traffic_in_2112.rrd":'traffic_out':AVERAGE \
DEF:c="/var/www/cacti-0.8.8a/rra/pmv_vs_hp_l2_traffic_in_2112.rrd":'traffic_in':MAX \
DEF:d="/var/www/cacti-0.8.8a/rra/pmv_vs_hp_l2_traffic_in_2112.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" |