/bin/rrdtool graph - \
--imgformat=PNG \
--start='1726449233' \
--end='1726535633' \
--title='google首頁 - https://www.goo' \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale \
COMMENT:"From 2024/09/16 09\:13\:53 To 2024/09/17 09\:13\:53\c" \
COMMENT:" \n" \
--vertical-label='Milliseconds' \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/google_availability_9.rrd':'values':AVERAGE \
DEF:b='/usr/share/cacti/rra/google_availability_9.rrd':'http_code':AVERAGE \
CDEF:cdefa='a,1000,*' \
AREA:cdefa#FF3932FF:'Page Load Time' \
GPRINT:cdefa:MAX:'Max\:%8.2lf %s' \
GPRINT:cdefa:MIN:'Min\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Avg\:%8.2lf %s' \
GPRINT:cdefa:LAST:'Last\:%8.0lf\n' \
GPRINT:b:LAST:'HTTP Return Code\:%8.0lf' |