bio-routing / tflow2

Apache License 2.0
73 stars 7 forks source link

Mapper error when trying to run tflow2 #33

Closed jl-678 closed 5 years ago

jl-678 commented 5 years ago

Here is the error that I receive:

F0331 16:59:36.969631 3319 tflow2.go:59] Unable to initialize interface mappper: Unable to get interface mapping for localhost: Walk error: Error reading from UDP: read udp 127.0.0.1:50142->127.0.0.1:161: read: connection refused

Here is my config.yml. What am I missing?

aggregation_period: 60 default_snmp_community: "public" debug: 0 compression_level: 6 data_dir: "data" anonymize: false cache_time: 1800

netflow_v9: enabled: true listen: ":2055"

ipfix: enabled: false listen: ":4739"

sflow: enable: false listen: ":6343"

frontend: enable: false listen: ":4444"

bgp_augmentation: enabled: false bird_socket: "/var/run/bird/bird.ctl" bird6_socket: "/var/run/bird/bird6.ctl"

annotators:

agents:

Thank you!

jl-678 commented 5 years ago

I think that I sorted this out. I removed the "annotators" and "agents" section and it seems to run.