Changeset 36 for trunk/src/renetcolAgg.h

Show
Ignore:
Timestamp:
05/19/07 11:57:44 (16 years ago)
Author:
andreu
Message:

ticket #1 #2 #7 closed - release 0.0.9beta

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcolAgg.h

    r29 r36  
    4141#include "rrdwrap.h" 
    4242#include "dataFlowSet.h" 
    43  
    44 #define RRD_LOCATION "/home/maintenance/RRD/" 
    45 #define RRD_EXTENSION ".rrd" 
    46  
    47 #define RRD_PARAM_0 "rrdcreate" 
    48 #define RRD_PARAM_1 "--start" 
    49 #define RRD_PARAM_2 "1106560200" 
    50 #define RRD_PARAM_3 "--step" 
    51 #define RRD_PARAM_4 "300" 
    52 #define RRD_PARAM_5 "DS:inFlows:GAUGE:600:U:U" 
    53 #define RRD_PARAM_6 "DS:outFlows:GAUGE:600:U:U" 
    54 #define RRD_PARAM_7 "DS:inBytes:GAUGE:600:U:U" 
    55 #define RRD_PARAM_8 "DS:outBytes:GAUGE:600:U:U" 
    56 #define RRD_PARAM_9 "DS:inPkts:GAUGE:600:U:U" 
    57 #define RRD_PARAM_10 "DS:outPkts:GAUGE:600:U:U" 
    58 #define RRD_PARAM_11 "DS:inFirstCoS:GAUGE:600:U:U" 
    59 #define RRD_PARAM_12 "DS:outFirstCoS:GAUGE:600:U:U" 
    60 #define RRD_PARAM_13 "DS:inSecondCoS:GAUGE:600:U:U" 
    61 #define RRD_PARAM_14 "DS:outSecondCoS:GAUGE:600:U:U" 
    62 #define RRD_PARAM_15 "DS:inThirdCoS:GAUGE:600:U:U" 
    63 #define RRD_PARAM_16 "DS:outThirdCoS:GAUGE:600:U:U" 
    64 #define RRD_PARAM_17 "DS:inFourthCoS:GAUGE:600:U:U" 
    65 #define RRD_PARAM_18 "DS:outFourthCoS:GAUGE:600:U:U" 
    66 #define RRD_PARAM_19 "RRA:AVERAGE:0.5:1:2100" 
    67 #define RRD_PARAM_20 "RRA:AVERAGE:0.5:24:1550" 
    68 #define RRD_PARAM_21 "RRA:AVERAGE:0.5:288:1594" 
    69 #define RRD_PARAM_22 "RRA:AVERAGE:0.5:2016:1040" 
    70 #define RRD_PARAM_23 "RRA:MAX:0.5:1:2100" 
    71 #define RRD_PARAM_24 "RRA:MAX:0.5:24:1550" 
    72 #define RRD_PARAM_25 "RRA:MAX:0.5:288:1594" 
    73  
    74 #define RRD_UPDATE_0 "rrdupdate" 
    75  
    76 #define SHMSIZE 33554432 /* FIXME get from another file ? */ 
     43#include "pop.h" 
     44#include "renetcolParam.h" 
    7745 
    7846struct SHMForAgg { 
     
    8250  unsigned short v4PrefixNb; 
    8351  struct PrefixV4 prefixV4Tab[2][MAX_IPV4_PREFIX]; 
     52  struct POP matrixPOP[2][ROUTER_INDEX_MAX][ROUTER_INDEX_MAX]; 
    8453  /*  struct PrefixV6 ; */ 
    85 }; 
     54}; /* if you change it, you must change renetcol.h structure */