Changeset 153 for trunk

Show
Ignore:
Timestamp:
02/03/11 11:04:13 (12 years ago)
Author:
andreu
Message:

image size upgrade and autoscaling adjust

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tool/renetcol_graph_mib.php

    r126 r153  
    11<?php 
    22 
    3 $res = `rrdtool graph /var/www/img_monitoring/RENETCOL_RealflowNb_day.png -s -1D --title "Flow number analysed by the collector" -W "Data from renetcol - (c) GIP RENATER" DEF:RFN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:realFlowNb:AVERAGE DEF:MAXRFN=/mnt/data/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"`; 
     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"`; 
    44 
    5 $res = `rrdtool graph /var/www/img_monitoring/RENETCOL_DropFlow_day.png -s -1D --title "Flow number dropped by the collector" -W "Data from renetcol - (c) GIP RENATER" DEF:FN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:flowNb:AVERAGE DEF:RFN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:realFlowNb:AVERAGE CDEF:dropFl=FN,RFN,-,5,/,60,/ LINE1:dropFl\#FF5B2B:"Flow loss per second"`; 
     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"`; 
    66 
    7 $res = `rrdtool graph /var/www/img_monitoring/RENETCOL_v9PacketNb_day.png -s -1D --title "NetFlow v9 packets number received by the collector" -W "Data from renetcol - (c) GIP RENATER" DEF:FN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:v9PacketNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"v9PacketNb per second"`; 
     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"`; 
    88 
    9 $res = `rrdtool graph /var/www/img_monitoring/RENETCOL_v9UnSeqNb_day.png -s -1D --title "Out-of-sequence packets number" -W "Data from renetcol - (c) GIP RENATER" DEF:FN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:v9UnSeqNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"v9UnSeqNb per second"`; 
     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"`; 
    1010 
    11 $res = `rrdtool graph /var/www/img_monitoring/RENETCOL_ipPacketNb_day.png -s -1D --title "IP Packets received by collector" DEF:FN=/mnt/data/RRD/RENETCOL_MIB/RENETCOL_GLOBAL_COUNTERS.rrd:ipPacketNb:AVERAGE CDEF:NFWS=FN,5,/,60,/ AREA:NFWS\#8FA3AD:"ipPacketNb per second"`; 
     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"`; 
    1212 
    1313