|
Fyi , This is not the rrd pull for one of the erroring graphs . I'd have to copy the new .cgi over to being active for that . Do you want output like below for one of the erroring graphs ?
I hope this is part of what you are looking for ... [code]<!-- Start comment --> <!-- rrdtool graph /var/www/htdocs/router2cgi/graphs/cp-sw01.cfg-_cp-sw01_19I-IE-d-x2.png --imgformat PNG --base 1000 --lazy --interlaced --force-rules-legend --slope-mode -e 1225924800 -s end-2000m -u 0.1 -w 800 -h 200 --x-grid HOUR:1:HOUR:24:HOUR:2:0:%k --title 19 & 19 Error Rates IN/OUT --vertical-label traffic in bps HRULE:90000000#444444:90% Mark ( 90 Mbps)\l HRULE:100000000#555555:AbsMax ( 100 Mbps)\l DEF:in1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds0:AVERAGE DEF:out1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds1:AVERAGE CDEF:wdtest=in1,POP,TIME,3600,/,-9,+,DUP,24,/,7,%,DUP,4,LT,EXC,2,GE,+,2,LT,EXC,24,%,DUP,7,GE,EXC,21,LT,+,2,EQ,1,0,IF,0,IF CDEF:wd=wdtest,INF,0,IF AREA:wd#ffffcc CDEF:fin1=in1,8,* CDEF:fout1=out1,8,* DEF:min1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds0:MAX DEF:mout1=/var/www/htdocs/router2cgi/graphs/cp-sw01/cp-sw01_19.rrd:ds1:MAX CDEF:fmin1=min1,8,* CDEF:fmout1=mout1,8,* CDEF:pcin1=fin1,100,*,90000000,/ CDEF:mpcin1=fmin1,100,*,90000000,/ CDEF:pcout1=fout1,100,*,90000000,/ CDEF:mpcout1=fmout1,100,*,90000000,/ COMMENT:19 19 -- CP-SW01\:\l LINE1:fin1#0000ff:Incoming traffic LINE1:fout1#00ff00:Outgoing traffic\l GPRINT:fmin1:MAX:Max In\: %6.2lf %sbps\g GPRINT:mpcin1:MAX: (%2.0lf%%)\g GPRINT:fin1:AVERAGE: Avg In\: %6.2lf %sbps\g GPRINT:pcin1:AVERAGE: (%2.0lf%%)\g GPRINT:fin1:LAST: Cur In\: %6.2lf %sbps\g GPRINT:pcin1:LAST: (%2.0lf%%)\g COMMENT:\l GPRINT:fmout1:MAX:Max Out\:%6.2lf %sbps\g GPRINT:mpcout1:MAX: (%2.0lf%%)\g GPRINT:fout1:AVERAGE: Avg Out\:%6.2lf %sbps\g GPRINT:pcout1:AVERAGE: (%2.0lf%%)\g GPRINT:fout1:LAST: Cur Out\:%6.2lf %sbps\g GPRINT:pcout1:LAST: (%2.0lf%%)\g COMMENT:\l CDEF:greyout=0,in1,UN,+,out1,UN,+,1,1,+,EQ,INF,0,IF AREA:greyout#d0d0d0 COMMENT:Wed Nov 5 13\:40\:00 2008\r --> <!-- end comment -->[/code]
|