root/trunk/tool/renetcol_graph_mib.php

Revision 153, 1.7 KB (checked in by andreu, 12 years ago)

image size upgrade and autoscaling adjust

Line 
1<?php
2
3$res = `rrdtool graph /var/www/img_monitoring/RENETCOL_RealflowNb_day.png -s -1D --title "Real Flow number" --vertical-label "fps" -h 200 -l 0 -A DEF:RFN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:realFlowNb:AVERAGE DEF:MAXRFN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:realFlowNb:MAX CDEF:RNFWS=RFN,5,/,60,/ CDEF:MAXRNFWS=MAXRFN,5,/,60,/ VDEF:MAXI=MAXRNFWS,MAXIMUM AREA:RNFWS\#8FA3AD:"Decoded Flow number per second" LINE1:MAXRNFWS\#FF5B2B:"MAX" GPRINT:MAXI:"MAX %1.1lf %s"`;
4
5$res = `rrdtool graph /var/www/img_monitoring/RENETCOL_DropFlow_day.png -s -1D --title "Dropped Flow number" --vertical-label "fps" -l 0 -A DEF:FN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:flowNb:AVERAGE DEF:RFN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:realFlowNb:AVERAGE CDEF:dropFl=FN,RFN,-,5,/,60,/ LINE1:dropFl\#FF5B2B:"Flow loss per second"`;
6
7$res = `rrdtool graph /var/www/img_monitoring/RENETCOL_v9PacketNb_day.png -s -1D --title "v9 packets number" --vertical-label "pps" -l 0 -A DEF:FN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:v9PacketNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"v9PacketNb per second"`;
8
9$res = `rrdtool graph /var/www/img_monitoring/RENETCOL_v9UnSeqNb_day.png -s -1D --title "v9 unseq number" --vertical-label "pps" -l 0 -A DEF:FN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:v9UnSeqNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"v9UnSeqNb per second"`;
10
11$res = `rrdtool graph /var/www/img_monitoring/RENETCOL_ipPacketNb_day.png -s -1D --title "IP Packets received by collector" --vertical-label "pps" -l 0 -A DEF:FN=/mnt/data1/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:ipPacketNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"ipPacketNb per second"`;
12
13
14?>
Note: See TracBrowser for help on using the browser.