mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
config: also listen to 4739 for IPFIX
This is the port defined in RFC 7011.
This commit is contained in:
@@ -15,7 +15,7 @@ and is licensed under the [AGPLv3 license](LICENSE.txt).
|
|||||||
A demo site using fake data and running the latest stable version is
|
A demo site using fake data and running the latest stable version is
|
||||||
available on [demo.akvorado.net](https://demo.akvorado.net). It is the
|
available on [demo.akvorado.net](https://demo.akvorado.net). It is the
|
||||||
direct result of running `docker compose up` on a fresh checkout but
|
direct result of running `docker compose up` on a fresh checkout but
|
||||||
port 2055 is not accessible (you cannot send your own flows). Please,
|
flow ports are not accessible (you cannot send your own flows). Please,
|
||||||
be gentle with this resource. The demo site also enables you to browse
|
be gentle with this resource. The demo site also enables you to browse
|
||||||
the [documentation](https://demo.akvorado.net/docs) for the current version
|
the [documentation](https://demo.akvorado.net/docs) for the current version
|
||||||
(the one in `docs/` is for the next version).
|
(the one in `docs/` is for the next version).
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
flow:
|
flow:
|
||||||
inputs:
|
inputs:
|
||||||
|
# NetFlow port
|
||||||
- type: udp
|
- type: udp
|
||||||
decoder: netflow
|
decoder: netflow
|
||||||
listen: :2055
|
listen: :2055
|
||||||
@@ -8,6 +9,13 @@ flow:
|
|||||||
# Before increasing this value, look for it in the troubleshooting section
|
# Before increasing this value, look for it in the troubleshooting section
|
||||||
# of the documentation.
|
# of the documentation.
|
||||||
receive-buffer: 212992
|
receive-buffer: 212992
|
||||||
|
# IPFIX port
|
||||||
|
- type: udp
|
||||||
|
decoder: netflow
|
||||||
|
listen: :4739
|
||||||
|
workers: 6
|
||||||
|
receive-buffer: 212992
|
||||||
|
# sFlow port
|
||||||
- type: udp
|
- type: udp
|
||||||
decoder: sflow
|
decoder: sflow
|
||||||
listen: :6343
|
listen: :6343
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ To connect your own network devices:
|
|||||||
- Configure interface classification rules in `outlet` → `core` → `interface-classifiers`
|
- Configure interface classification rules in `outlet` → `core` → `interface-classifiers`
|
||||||
|
|
||||||
1. Configure your routers/switches to send flows to *Akvorado*:
|
1. Configure your routers/switches to send flows to *Akvorado*:
|
||||||
- NetFlow/IPFIX: port 2055
|
- NetFlow: port 2055
|
||||||
|
- IPFIX: port 4739
|
||||||
- sFlow: port 6343
|
- sFlow: port 6343
|
||||||
|
|
||||||
1. Restart all containers:
|
1. Restart all containers:
|
||||||
|
|||||||
@@ -104,9 +104,9 @@ akvorado_inlet_flow_input_udp_packets_total{exporter="241.107.1.15",listener=":2
|
|||||||
```
|
```
|
||||||
|
|
||||||
If your exporters are not listed, check their configuration. You can also use
|
If your exporters are not listed, check their configuration. You can also use
|
||||||
`tcpdump` to verify that they are sending packets. Replace the IP with the IP address
|
`tcpdump` to verify that they are sending packets. Replace the IP with the IP
|
||||||
of the exporter and the port with the correct port (2055 for NetFlow and 6343 for
|
address of the exporter and the port with the correct port (2055 for NetFlow,
|
||||||
sFlow).
|
4739 for IPFIX and 6343 for sFlow).
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# tcpdump -c3 -pni any host 241.107.1.12 and port 2055
|
# tcpdump -c3 -pni any host 241.107.1.12 and port 2055
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ the ownership of the Prometheus volume:
|
|||||||
- 💥 *docker*: switch from Prometheus to Grafana Alloy for scraping metrics
|
- 💥 *docker*: switch from Prometheus to Grafana Alloy for scraping metrics
|
||||||
- 🩹 *outlet*: fix crash when scaling down and up the Kafka workers
|
- 🩹 *outlet*: fix crash when scaling down and up the Kafka workers
|
||||||
- 🩹 *outlet*: move gRPC metrics for BioRIS provider in the routing namespace
|
- 🩹 *outlet*: move gRPC metrics for BioRIS provider in the routing namespace
|
||||||
|
- 🌱 *config*: listen to 4739 for IPFIX on inlet service
|
||||||
- 🌱 *docker*: enforce bridge name
|
- 🌱 *docker*: enforce bridge name
|
||||||
- 🌱 *docker*: add Loki to the observability stack
|
- 🌱 *docker*: add Loki to the observability stack
|
||||||
- 🌱 *docker*: add cAdvisor to the observability stack
|
- 🌱 *docker*: add cAdvisor to the observability stack
|
||||||
|
|||||||
@@ -141,6 +141,7 @@ services:
|
|||||||
service: akvorado
|
service: akvorado
|
||||||
ports:
|
ports:
|
||||||
- 2055:2055/udp
|
- 2055:2055/udp
|
||||||
|
- 4739:4739/udp
|
||||||
- 6343:6343/udp
|
- 6343:6343/udp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user