Skip to content

Latest commit

 

History

History

akvorado

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

akvorado

NetFlow/sFlow/IPFIX collector and analytics — PDC DevOps Stack.

Akvorado collects flows from routers, enriches them (GeoIP, SNMP interface names), stores them in ClickHouse, and provides a web UI for traffic analysis.

Stack

Component Version Role
akvorado latest Flow collector + web UI
ClickHouse 24.8 Time-series flow storage

Deploy

cp .env.example .env
# edit .env — set CLICKHOUSE_PASSWORD

# Edit config/akvorado.yaml:
# - Set your router IPs under inlet.snmp.agents
# - Set SNMP community string
# - Optionally add GeoIP database paths

docker compose up -d

Web UI: http://<host>:8080

Flow Sources

Configure your routers/switches to export flows to this host:

Protocol Port Format
NetFlow v5/v9 UDP 2055 Cisco, Juniper, VyOS
sFlow UDP 6343 Arista, Brocade, Linux hsflowd
IPFIX UDP 4739 Most modern vendors

VyOS NetFlow example

set system flow-accounting interface eth0
set system flow-accounting netflow server <akvorado-ip> port 2055
set system flow-accounting netflow version 9
set system flow-accounting netflow timeout expiry-interval 60
set system flow-accounting netflow timeout flow-generic 60

GeoIP Enrichment (optional)

Download MaxMind GeoLite2 databases (free account required):

  • GeoLite2-ASN.mmdb
  • GeoLite2-City.mmdb

Place them in ./geoip/ and uncomment the geoip: section in config/akvorado.yaml.

SNMP Interface Resolution

Akvorado uses SNMP to resolve interface indices to names (e.g., eth0, ge-0/0/0). Set the correct IP and community string in config/akvorado.yaml under inlet.snmp.agents.

Notes

  • ClickHouse stores flow data — give it plenty of disk space for long retention
  • Default retention: configurable in akvorado.yaml (retention-period)
  • Web UI includes dashboards for top talkers, AS analysis, geo maps