添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi there :-)

I've been trying to make the quick setup work with live data, without any luck, any help moving forward would be deeply appreciated.

akvorado-inlet_1 | {"level":"error","error":"request timeout (after 1 retries)","exporter":"172.21.0.1","time":"2022-07-14T19:54:41Z","caller":"akvorado/inlet/snmp/poller.go:155","module":"akvorado/inlet/snmp","message":"unable to GET (4 OIDs)"}

akvorado-inlet_1 | {"level":"warn","exporter":"172.21.0.1","time":"2022-07-14T19:55:15Z","caller":"akvorado/inlet/snmp/root.go:316","module":"akvorado/inlet/snmp","message":"poller breaker open"}

I have tried setting the default community in the config file, aswell as adding public on the ASR for testing.

172.21.0.1 is the docker host, this is not the actual exporter so the issue could lie there?

Yes, this point is missing from the documentation. You need to disable the userland proxy in /etc/docker/daemon.json :

"userland-proxy" : false

Antes de mais nada, obrigado por compartilhar este projeto e obrigado pela dica de desativar o docker userland-proxy, ele aborda o problema SNMP para!

Estou tendo o mesmo problema que@cryzeck. No momento, use um roteador Mikrotik como exportador (NFv9/IPFIX) para testar akvorado em um ambiente de laboratório. Tentarei usar um Nexus como exportador na próxima semana para ver se me descodo com o mesmo problema.

A configuração do exportador adicional à interface de fluxo exportado, minha versão atual do ROS não parece receber o envio da taxa de fluxo de exportação (vou investigar sobre isso!). O contador de interface de entrada faltando ainda sobe na entrada embora.

Analisarei mais na próxima semana com algumas capturas de escuta.

Hello colleague, did you have success with mikrotik? ?

Eu adicionei uma default-sampling-rate opção para contornar a ausência de uma tabela de amostragem. Esta é uma primeira solução. Se alguém precisar de mais, pode ser um mapa de redes para taxas de amostragem.

Hello Vincent, as this option is already in the newest version or do I have to add it manually, where would it be? I'm trying to test with mikrotik. Since I use it with AS-Stats. I'll try with Akvorado too.

I've managed to get rid of the errors about the interface index, and the only thing thats left is to get the sampler table.

flow exporter EXPORTER-1
destination x.x.x.x
source Loopback0
transport udp 2055
template data timeout 60
option interface-table
option sampler-table timeout 60

flow monitor akvorado
exporter EXPORTER-1
cache timeout inactive 2
cache timeout active 15
record netflow-original
sampler map
mode random 1 out-of 10000

This is added to the interface:
ip flow monitor akvorado sampler map input

Flow Exporter EXPORTER-1:
Client: Option options sampler-table
Exporter Format: NetFlow Version 9
Template ID : 259
Source ID : 6
Record Size : 51
Template layout

| Field | Type | Offset | Size |

| v9-scope system | 1 | 0 | 4 |
| flow sampler | 48 | 4 | 4 |
| flow sampler name | 84 | 8 | 40 |
| flow sampler algorithm export | 49 | 48 | 1 |
| flow sampler interval | 50 | 49 | 2 |

Client: Flow Monitor akvorado
Exporter Format: NetFlow Version 9
Template ID : 259
Source ID : 256
Record Size : 50
Template layout

| Field | Type | Offset | Size |

| timestamp sys-uptime first | 22 | 0 | 4 |
| timestamp sys-uptime last | 21 | 4 | 4 |
| counter bytes | 1 | 8 | 4 |
| counter packets | 2 | 12 | 4 |
| interface input snmp | 10 | 16 | 4 |
| interface output snmp | 14 | 20 | 4 |
| ipv4 source address | 8 | 24 | 4 |
| ipv4 destination address | 12 | 28 | 4 |
| ip protocol | 4 | 32 | 1 |
| ip tos | 5 | 33 | 1 |
| transport source-port | 7 | 34 | 2 |
| transport destination-port | 11 | 36 | 2 |
| flow sampler | 48 | 38 | 1 |
| routing next-hop address ipv4 | 15 | 39 | 4 |
| ipv4 destination mask | 13 | 43 | 1 |
| ipv4 source mask | 9 | 44 | 1 |
| transport tcp flags | 6 | 45 | 1 |
| routing destination as | 17 | 46 | 2 |
| routing source as | 16 | 48 | 2 |

I'll try wireshark also - but I'm tempted to just test it on the NCS or Nexus platform instead, but before that i wanted to try your new configuration on sampling rate, however - after pulling the latest docker image i get this error from orchestrator.

akvorado-orchestrator_1 | Error: invalid configuration:
akvorado-orchestrator_1 | invalid key "Inlet[0].Core.default-sampling-rate"

Exactly where do we need to specify the sampling rate? I'm having the exact same problems with Cisco ASR1001-X

If you pull the quick start docker image and change the akvorado image to main, you'll get the version you need.

In the akvorado.yaml under core: add default-sample-rate: .

After you do that, it should be working. :-)