Code: Select all
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--pango-markup \
--title='bras-gpn112.w.66p.su(bras-mrch) - Advanced Ping' \
--vertical-label='milliseconds' \
--slope-mode \
--base=1000 \
--height=200 \
--width=900 \
--units-exponent=1 \
--tabwidth '30' \
--upper-limit='10' \
--lower-limit='0' \
--units-exponent='1' \
COMMENT:"From 2023/02/12 15\:06\:21 To 2023/02/13 15\:01\:21\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:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by 66p' \
DEF:a='/usr/share/cacti/site/rra/bras-gpn112_w_66p_su_min_2921.rrd':'min':AVERAGE \
DEF:b='/usr/share/cacti/site/rra/bras-gpn112_w_66p_su_min_2921.rrd':'avg':AVERAGE \
DEF:c='/usr/share/cacti/site/rra/bras-gpn112_w_66p_su_min_2921.rrd':'max':AVERAGE \
DEF:d='/usr/share/cacti/site/rra/bras-gpn112_w_66p_su_min_2921.rrd':'loss':AVERAGE \
DEF:e='/usr/share/cacti/site/rra/bras-gpn112_w_66p_su_min_2921.rrd':'dev':AVERAGE \
CDEF:cdefg='d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefh='d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefi='d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefj='d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefba='d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefbb='d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefbc='d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF' \
CDEF:cdefbd='d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF' \
CDEF:cdefbf='e,2,/' \
CDEF:cdefbh='c,b,-,e,-,3,/' \
CDEF:cdefcd='d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF' \
CDEF:cdefce='d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF' \
CDEF:cdefzzcf='d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF' \
CDEF:cdefcg='d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF' \
CDEF:cdefch='d,15,GT,d,50,GT,b,INF,IF,UNKN,IF' \
CDEF:cdefci='d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF' \
CDEF:cdefcj='d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF' \
LINE1:a: \
LINE1:b: \
LINE1:c: \
LINE1:d: \
LINE1:e: \
COMMENT:' Pkt Loss\:' \
AREA:cdefg#AFECEDFF:'1-2%' \
AREA:cdefh#55D6D3FF:'3-5%' \
AREA:cdefi#7CB3F1FF:'6-10%' \
AREA:cdefj#4668E4FF:'11-15%' \
AREA:cdefba#A150AAFF:'16-50%' \
AREA:cdefbb#FF00FFFF:'51-95%' \
AREA:cdefbc#F51D30FF:'96-100%' \
COMMENT:'Unknown\n' \
AREA:b#FFFFFFFF: \
AREA:cdefbf#333333FF::STACK \
AREA:cdefbf#555555FF::STACK \
AREA:cdefbh#888888FF::STACK \
AREA:cdefbh#AAAAAAFF::STACK \
AREA:cdefbh#CCCCCCFF::STACK \
GPRINT:d:AVERAGE:' Avg Loss\:%6.2lf%%' \
GPRINT:d:MAX:'Max Loss\:%6.2lf%%\n' \
COMMENT:' Latency\:' \
AREA:cdefcd#AFECEDFF: \
AREA:cdefce#55D6D3FF: \
AREA:cdefzzcf#7CB3F1FF: \
AREA:cdefcg#4668E4FF: \
AREA:cdefch#A150AAFF: \
AREA:cdefci#FF00FFFF: \
AREA:cdefcj#F51D30FF: \
GPRINT:a:AVERAGE:'Min\:%8.2lf ms' \
GPRINT:b:AVERAGE:'Avg\:%8.2lf ms' \
GPRINT:c:MAX:'Max\:%8.2lf ms' \
GPRINT:e:AVERAGE:'Dev\:%8.2lf ms\n' \
COMMENT:'Avg Latency\:' \
LINE1:b#00BD27FF:'
'
RRDtool Command lengths = 2953 characters.
RRDtool Says:
ERROR: creating arguments