From Josh M, 1 Year ago, written in Plain Text.
Embed
  1. RRDTool Command
  2. rrdtool graph /tmp/ZyHAKPiqFtCXfh03  -g --alt-autoscale-max --rigid -E --start 1515526500 --end 1515548100 --width 1296 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal COMMENT:'                   Now       Avg      Max' COMMENT:'\n' DEF:inB0=/opt/librenms/rrd/cdp01.ashaos.com/port-id4.rrd:INOCTETS:AVERAGE  DEF:outB0=/opt/librenms/rrd/cdp01.ashaos.com/port-id4.rrd:OUTOCTETS:AVERAGE  CDEF:octets0=inB0,outB0,+ CDEF:inbits0=inB0,8,*  CDEF:outbits0=outB0,8,* CDEF:outbits0_neg=outbits0,-1,* CDEF:bits0=inbits0,outbits0,+ DEF:inB0X=/opt/librenms/rrd/cdp01.ashaos.com/port-id4.rrd:INOCTETS:AVERAGE:start=1515504900:end=1515526500 DEF:outB0X=/opt/librenms/rrd/cdp01.ashaos.com/port-id4.rrd:OUTOCTETS:AVERAGE:start=1515504900:end=1515526500 SHIFT:inB0X:21600 SHIFT:outB0X:21600 VDEF:totinB0=inB0,TOTAL VDEF:totoutB0=outB0,TOTAL VDEF:tot0=octets0,TOTAL AREA:inbits0#B6D14B:'eth0      In ' GPRINT:inbits0:LAST:%6.2lf%s GPRINT:inbits0:AVERAGE:%6.2lf%s GPRINT:inbits0:MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#CC7CCC:'          Out' GPRINT:outbits0:LAST:%6.2lf%s GPRINT:outbits0:AVERAGE:%6.2lf%s GPRINT:outbits0:MAX:%6.2lf%s COMMENT:'\n' CDEF:inBX=inB0X,UN,0,inB0X,IF CDEF:outBX=outB0X,UN,0,outB0X,IF CDEF:octetsX=inBX,outBX,+ CDEF:doutBX=outBX,-1,* CDEF:inbitsX=inBX,8,* CDEF:outbitsX=outBX,8,* CDEF:bitsX=inbitsX,outbitsX,+ CDEF:doutbitsX=doutBX,8,* VDEF:percentile_inX=inbitsX,95,PERCENT VDEF:percentile_outX=outbitsX,95,PERCENT CDEF:dpercentile_outXn=doutbitsX,-1,* VDEF:dpercentile_outX=dpercentile_outXn,95,PERCENT CDEF:dpercentile_outXn=doutbitsX,doutbitsX,-,dpercentile_outX,-1,*,+ VDEF:dpercentile_outX=dpercentile_outXn,FIRST AREA:inbitsX#99999999: LINE1.25:inbitsX#666666: CDEF:inB=inB0,UN,0,inB0,IF CDEF:outB=outB0,UN,0,outB0,IF CDEF:octets=inB,outB,+ CDEF:doutB=outB,-1,* CDEF:inbits=inB,8,* CDEF:outbits=outB,8,* CDEF:bits=inbits,outbits,+ CDEF:doutbits=doutB,8,* VDEF:percentile_in=inbits,95,PERCENT VDEF:percentile_out=outbits,95,PERCENT CDEF:dpercentile_outn=doutbits,-1,* VDEF:dpercentile_outnp=dpercentile_outn,95,PERCENT CDEF:dpercentile_outnpn=doutbits,doutbits,-,dpercentile_outnp,-1,*,+ VDEF:dpercentile_out=dpercentile_outnpn,FIRST VDEF:totin=inB,TOTAL VDEF:avein=inbits,AVERAGE VDEF:totout=outB,TOTAL VDEF:aveout=outbits,AVERAGE VDEF:tot=octets,TOTAL COMMENT:' \n' HRULE:999999999999999#FFFFFF:'Total     In ' GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits:MAX:%6.2lf%s GPRINT:totin:%6.2lf%sB COMMENT:'\n' HRULE:999999999999990#FFFFFF:'          Out' GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits:MAX:%6.2lf%s GPRINT:totout:%6.2lf%sB COMMENT:'\n' HRULE:999999999999990#FFFFFF:'          Agg' GPRINT:bits:LAST:%6.2lf%s GPRINT:bits:AVERAGE:%6.2lf%s GPRINT:bits:MAX:%6.2lf%s GPRINT:tot:%6.2lf%sB COMMENT:'\n' AREA:outbits0_neg#CC7CCC: AREA:doutbitsX#99999999: LINE1.25:doutbitsX#666666: HRULE:0#999999
  3.  
  4. RRDTool Output
  5. ERROR: Attempting to reuse 'dpercentile_outXn'