Created
January 2, 2015 01:35
-
-
Save kevinquinnyo/1bc2ad37c8b8838f6ebe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/rrdtool graph - \ | |
--imgformat=PNG \ | |
--start='1420076062' \ | |
--end='1420162462' \ | |
--title='EDGE-AA.atl01 - Traffic - Te1/1' \ | |
--rigid \ | |
--base='1000' \ | |
--height='120' \ | |
--width='500' \ | |
--alt-autoscale-max \ | |
--lower-limit='0' \ | |
COMMENT:"From 2014/12/31 20\:34\:22 To 2015/01/01 20\:34\:22\c" \ | |
COMMENT:" \n" \ | |
--vertical-label='bits per second' \ | |
--slope-mode \ | |
--font TITLE:10: \ | |
--font AXIS:7: \ | |
--font LEGEND:8: \ | |
--font UNIT:7: \ | |
DEF:a='/var/lib/cacti/rra/edge-aa_atl01_traffic_in_33.rrd':'traffic_in':AVERAGE \ | |
DEF:b='/var/lib/cacti/rra/edge-aa_atl01_traffic_in_33.rrd':'traffic_out':AVERAGE \ | |
CDEF:cdefa='a,8,*' \ | |
CDEF:cdefe='b,8,*' \ | |
AREA:cdefa#00CF00FF:'Inbound' \ | |
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' \ | |
GPRINT:cdefe:LAST:'Current\:%8.2lf%s' \ | |
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf%s' \ | |
GPRINT:cdefe:MAX:'Maximum\:%8.2lf%s\n' \ | |
COMMENT:' \n' \ | |
HRULE:0#FF0000FF:'95% (Out)\: 0mbps' \ | |
HRULE:0#942D0CFF:'95% (In)\: 0mbps' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment