Hello!
I'm trying to deploy Akvorado with Juniper SRX345 and SRX4100 (Junos 21.4R3-S4.x) following the official documentation, but I am experiencing significant data inaccuracies and inconsistencies.
My configuration is identical for both devices:
set forwarding-options sampling instance AKV input rate 1024
set forwarding-options sampling instance AKV input max-packets-per-second 65535
set forwarding-options sampling instance AKV family inet output flow-server <AKVORADO_IP> port 2055
set forwarding-options sampling instance AKV family inet output flow-server <AKVORADO_IP> version9 template AKVORADOv9
set forwarding-options sampling instance AKV family inet output inline-jflow source-address <SOURCE_IP>
set services flow-monitoring version9 template AKVORADOv9 ipv4-template
set services flow-monitoring version9 template AKVORADOv9 flow-active-timeout 10
set services flow-monitoring version9 template AKVORADOv9 flow-inactive-timeout 10
set services flow-monitoring version9 template AKVORADOv9 template-refresh-rate packets 30
set services flow-monitoring version9 template AKVORADOv9 template-refresh-rate seconds 30
set services flow-monitoring version9 template AKVORADOv9 option-refresh-rate packets 30
set services flow-monitoring version9 template AKVORADOv9 option-refresh-rate seconds 30
set services flow-monitoring version9 template AKVORADOv9 nexthop-learning enable
The goal is to monitor my VPN and WAN interfaces.
Notes:
- VPN tunnels based on st0-interfaces display correctly in Akvorado for both devices;
- SRX345 - WAN based on irb-interface. No traffic appear at
rate = 1024 , only rate = 1 produces a somewhat usable graph.
- SRX4100 - two WAN based on reth1-interfaces. Main problem. Actual traffic ~ 500 Mbps, but Akvorado shows only 5-7 Mbps. Changing
rate makes a little difference. Other reth-interfaces (for LAN/GUEST zones) also show incorrect data, though better than WAN.
- Both devices perform Source NAT on WAN interfaces. Switching to
ipfix kills all monitoring completely (no graphs).
Are there any knows issues with integrating SRX-devices into Akvorado and are there any fixes for it?
Thanks.
------------------------------
Konstantin Sozonov
------------------------------