1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-26 12:06:10 +02:00

improved junos flow-active-timeout and added exabgp to docker

This commit is contained in:
Roberto Berto 2015-07-27 17:45:04 -03:00
parent b606246292
commit 800cda1a00
2 changed files with 10 additions and 4 deletions

View File

@ -47,10 +47,10 @@ set interfaces ge-1/0/4 unit 0 description netflow-coletor
set interfaces ge-1/0/4 unit 0 family inet address 10.50.1.5/30
```
Now add templates configuration on r1 and r2:
Now add templates configuration on r1 and r2. Take care of flow-active-timeout and flow-inactive-timeout it should be less than average_calculation_time. Try average_calculation_time=20 where flow-active-timeout=10:
```
set services flow-monitoring version-ipfix template ipv4 flow-active-timeout 60
set services flow-monitoring version-ipfix template ipv4 flow-inactive-timeout 60
set services flow-monitoring version-ipfix template ipv4 flow-active-timeout 10
set services flow-monitoring version-ipfix template ipv4 flow-inactive-timeout 10
set services flow-monitoring version-ipfix template ipv4 template-refresh-rate packets 1000
set services flow-monitoring version-ipfix template ipv4 template-refresh-rate seconds 10
set services flow-monitoring version-ipfix template ipv4 option-refresh-rate packets 1000

View File

@ -18,11 +18,17 @@ RUN apt-get update && apt-get install -y \
libnuma-dev \
libpcap-dev \
linux-headers-$(uname -r) \
make
make \
python-pip \
socat \
vim
RUN pip install exabgp
RUN cd /usr/src; git clone https://github.com/FastVPSEestiOu/fastnetmon.git
COPY exabgp_blackhole.conf /etc/exabgp_blackhole.conf
RUN cd /usr/src/fastnetmon/src; mkdir build; cd build; cmake .. -DDISABLE_PF_RING_SUPPORT=ON; make