skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.65k stars 400 forks source link

Skydive and Netflow without OVS? #2379

Closed m8522s closed 6 months ago

m8522s commented 3 years ago

Hi team,

just a question: can I run the skydive agent with Netflow but without OVS? My config includes a simple netflow stanza, the agent starts fine and is visible in the analyzer's web UI.

agent:
  flow:
    netflow:
      bind_address: 127.0.0.1
      port_min: 2055
      port_max: 2056

However, there is no process binding to localhost on that port and the output of skydive is: Jul 14 10:46:54 cazzdf skydive[81832]: 2021-07-14T10:46:54.251+0200 ERROR agent/flow_probes.go:84 NewFlowProbeBundle cazzdf: Failed to create ovsnetflow probe: ovsnetflow probe depends on ovsdb topology probe, probe can't start properly

So I am wondering if skydive requires ovsdb to enable Netflow. Thanks for you comments.

lebauce commented 6 months ago

@m8522s If you want to explicitely disable ovs, you can specifiy the list of topology and flow probes:


agent:
  topology:
    probes:
    - docker
    - socketinfo
  flow:
    probes:
    - gopacket
    - pcapsocket