Show
Ignore:
Timestamp:
10/25/07 07:23:46 (15 years ago)
Author:
andreu
Message:

new aggregation mode based on SNMP index and AS aggregation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcolParam.h

    r59 r60  
    4444 * FILE with your routers IP address  
    4545*/  
    46 #define ROUTERS_LIST "/home/andreu/renetcol-0.0.12beta/src/routers.txt" 
     46#define ROUTERS_LIST "/home/andreu/renetcol-0.0.12beta/conf/routers.txt" 
    4747/*  
    4848 * FILE with your prefix/subnet  
    4949 */ 
    50 #define SUBNETS_LIST "/home/andreu/renetcol-0.0.12beta/src/IPv4_prefix.txt" 
     50#define SUBNETS_LIST "/home/andreu/renetcol-0.0.12beta/conf/IPv4_prefix.txt" 
    5151/*  
    52  * two constants, here a subnet is include in a prefix  
     52 * FILE with the list of AS with accounting 
     53 */ 
     54#define AS_LIST "/home/andreu/renetcol-0.0.12beta/conf/AS.txt" 
     55/*  
     56 * constants, here a subnet is include in a prefix  
    5357 */ 
    5458#define MAX_IPV4_PREFIX 4000 
    5559#define MAX_IPV4_SUBNET 1000 
     60#define MAX_AS 3 
    5661/*  
    5762 * FILE for the rules  
    5863 */ 
    59 #define RULES_FILE "/home/andreu/renetcol-0.0.12beta/src/rules.txt" 
     64#define RULES_FILE "/home/andreu/renetcol-0.0.12beta/conf/rules.txt" 
    6065/*  
    6166 * FILE with SNMP index of the interfaces  
     
    7277#define PREFIX_RRD_LOCATION "/mnt/data/RRD/RENATER/IPv4_SUBNET/" 
    7378#define MATRIX_RRD_LOCATION "/mnt/data/RRD/RENATER/MATRIX/" 
    74  
     79#define AS_RRD_LOCATION "/mnt/data/RRD/RENATER/AS/" 
    7580 
    7681/**************************************************************** 
     
    125130#define RRD_PARAM_MATRIX_13 "RRA:MAX:0.5:24:1550" 
    126131#define RRD_PARAM_MATRIX_14 "RRA:MAX:0.5:288:1594" 
     132#define RRD_PARAM_AS_0 "rrdcreate" 
     133#define RRD_PARAM_AS_1 "--start" 
     134#define RRD_PARAM_AS_2 "1106560200" 
     135#define RRD_PARAM_AS_3 "--step" 
     136#define RRD_PARAM_AS_4 "300" 
     137#define RRD_PARAM_AS_5 "DS:inFlows:GAUGE:600:U:U" 
     138#define RRD_PARAM_AS_6 "DS:outFlows:GAUGE:600:U:U" 
     139#define RRD_PARAM_AS_7 "DS:inBytes:GAUGE:600:U:U" 
     140#define RRD_PARAM_AS_8 "DS:outBytes:GAUGE:600:U:U" 
     141#define RRD_PARAM_AS_9 "DS:inPkts:GAUGE:600:U:U" 
     142#define RRD_PARAM_AS_10 "DS:outPkts:GAUGE:600:U:U" 
     143#define RRD_PARAM_AS_11 "RRA:AVERAGE:0.5:1:2100" 
     144#define RRD_PARAM_AS_12 "RRA:AVERAGE:0.5:24:1550" 
     145#define RRD_PARAM_AS_13 "RRA:AVERAGE:0.5:288:1594" 
     146#define RRD_PARAM_AS_14 "RRA:AVERAGE:0.5:2016:1040" 
     147#define RRD_PARAM_AS_15 "RRA:MAX:0.5:1:2100" 
     148#define RRD_PARAM_AS_16 "RRA:MAX:0.5:24:1550" 
     149#define RRD_PARAM_AS_17 "RRA:MAX:0.5:288:1594" 
    127150#define RRD_UPDATE_0 "rrdupdate" 
    128151#define RECEPT_PORT "52571"