tumi8 / vermont

Vermont (VERsatile MONitoring Toolkit) is an open-source software toolkit for the creation and processing of network flow data.
https://www.net.in.tum.de/research/software/#vermont
GNU General Public License v2.0
58 stars 22 forks source link

Compilation problem #23

Closed mosu001 closed 6 years ago

mosu001 commented 9 years ago

I have downloaded vermont from git, configured it and am now trying to make it

cd vermont cmake -DSUPPORT_SCTP=OFF -DSUPPORT_REDIS=ON -DWITH_TOOLS=OFF make

I get error that IPFIX_TYPEID_mplsLabelStackEntry1 and IPFIX_TYPEID_mplsLabelStackEntry10 are not defined on lines 159 and 160 of IpfixFlowInspectorExporter.cpp. I grepped the src directories and these terms only appear (also undefined) in IpfixDBWriterMongo.cpp. Please help as I am trying to get Flow Inspector going and having no luck! See attached files for the compile error and grep output.

vermont-compile-error vermont-grep-output

ogasser commented 9 years ago

We recently did a major DB rewrite (see #22) and the current version supports only MySQL and PostgreSQL.

You have two options now:

  1. Using an older version of vermont
  2. Help make the necessary changes to make vermont work with Redis.

I would of course prefer if you choose the second one ;-)

mosu001 commented 9 years ago

I would love to choose the 2nd one, but I am really just trying to use VERMONT and Flow Inspector, I don't feel confident to dive into the code. That said, since I am not planning on using MPLS (I am trying to monitor IPFIX coming from a distributed vSwitch), I just commented out those sections of code from IpfixDbWriterMongo.cpp and IpfixFlowInspectorExporter.cpp and everything seems to compile and VERMONT runs... (I wouldn't want to send MPLS data to my version though.)

I have been having some trouble with IpfixFlowInspectorExporter though, so maybe I am the cause of my own problems? I emailed Dr Braun about it, but haven't heard back yet. Is there some way to get some help to get VERMONT and Flow Inspector working with IPFIX data from a vSphere 5.5 switch?

nickbroon commented 6 years ago

I guess this has been fixed by #47 and can be closed?