Version 6 (modified by andreu, 12 years ago)

--

How-to install renetcol on a Debian Linux 32bit system

  • ask renetcol-0.0.14.tar.gz file to andreu[at]renater[dot]fr
  • Commands :
    apt-get install gcc
    apt-get install libc6-prof
    apt-get install librrd2-dev
    apt-get install make
    apt-get install psmisc
    tar xvzf renetcol-0.0.14.tar.gz
    cd renetcol-0.0.14
    vim src/renetcolParam.h
    vim conf/routers.txt
    vim conf/IPv4_Subnet_Aggregation_based_on_SNMP_index.txt
    ./configure --enable-multisampling=yes
    make all
    make clean; make all
    vim tool/check.sh
    /bin/sh /home/andreu/renetcol-0.0.14/tool/check.sh /home/andreu/renetcol-0.0.14
    
  • Configuration of your network:
    • routers declaration (spaces, an empty line is required if you have only one routers):
      debianFXvmw:/home/andreu/renetcol-0.0.14# cat conf/routers.txt
      1 router1 192.168.0.1 null
      
      debianFXvmw:/home/andreu/renetcol-0.0.14#
      
    • subnets declaration (tabulation and not spaces, last field must not be present if --enable-multisampling=no):
      debianFXvmw:/home/andreu/renetcol-0.0.14# cat conf/IPv4_Subnet_Aggregation_based_on_SNMP_index_MS.txt
      192.168.0.0    24      10
      debianFXvmw:/home/andreu/renetcol-0.0.14#
      
    • interfaces snmp index declaration:
      debianFXvmw:/home/andreu/renetcol-0.0.14# cat /home/andreu/renetcol-0.0.14/conf/SNMP_INDEX.txt
      R 192.168.0.1
      I 1 C
      I 2 C
      I 4 B
      I 9 B
      I 10 C
      I 11 C
      I 12 C
      I 13 B
      I 14 C
      I 15 C
      debianFXvmw:/home/andreu/renetcol-0.0.14#
      
    • In tool/check.sh change the path to renetcol directory.
  • First ps output:
    root     14876     1  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcol
    root     14878     1  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
    root     14879 14878  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
    root     14881     1  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolAgg
    
  • ps output after a renetcolGUI client request:
    root     14876     1  0 15:32 ?        00:00:02 /home/andreu/renetcol-0.0.14/src/renetcol
    root     14878     1  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
    root     14879 14878  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
    root     14881     1  0 15:32 ?        00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolAgg
    root     14884 14879  0 15:36 ?        00:00:00 [renetcolSender] <defunct>