AnsweredAssumed Answered

Network Control Module sFlow Target

Question asked by metrostar on Jul 1, 2016
Latest reply on Jul 4, 2016 by enlin.xu@vmturbo.com

Hey all,

 

I'm trying to get the Network Control Module configured using an sFlow target and not having much success. I am currently using PRTG and have configured one of our Force10 S4810P switches to send flow data to PRTG. All of that is working perfectly and I can see sFlow data in PRTG. However I cannot get VMTurbo to connect to PRTG to pull the data. The target validation takes a very long time and finally fails with a generic validation failed message. I tried turning the Windows Firewall off on the VM running PRTG and when I do that and try to validate the target I immediately get a connection refused error. I looked in the catalina.out log file and these are the types of errors I'm seeing:

 

The following exception occurred while attempting to connect to http://172.16.4.65:8008/flows/json: java.net.ConnectException: Connection Refused

 

Problem trying to open ssh connection to host: 172.16.4.65: java.io.IOException: There was a problem while connecting to 172.16.4.62:22

 

Exception while creating a session with NetFlow Target 172.16.4.65: java.lang.IllegalStateException: Cannot open session, you need to establish a connection first

 

I read the PRTG documentation, and they do have a RESTfulAPI that accepts HTTP requests, however it does not appear to be in the format that VMTurbo is requesting, the documentation states that the URL is the following:

 

http://yourserver/api/table.xml?content=sensortree

 

The SSH connection is also confusing because that appears to be part of NetFlow and NFDUMP as the third error message would seem to indicate but this is definitely an sFlow target as you can see in the image attached.

 

Now this is where I really get confused. I read the VMTurbo documentation on configuring an sFlow target and I'm not really certain what to make of it as it seems contradictory:

 

http://vmturbo.com/wp-content/uploads/docs/TARGET_CONFIGURATION.pdf

 

Page two of the guide states the following:

 

NetFlow/sFlow: NFDUMP — VMTurbo provides an OVA download with NFDUMP preconfigured for NetFlow and

sFlow collection

 

However in the sFlow section it makes no mention of NFDUMP. Is this actually a requirement?

 

Prerequisites

 

Network Control Module license

An SFlow data collector

You must have an SFlow data collector running on your network. Make sure the sflow-rt service is running. Operations Manager connects to the data collector through its REST API on port 8008. Credentials are not typically required to access the SFlow API. If you require a secure connection, contact VMTurbo Technical Support for assistance.

 

Adding sFlow Targets to Operations Manager

To add a NetFlow target (??), select the Network > sFlow option on the Target Configuration page and provide the following information:

Address: The IP address of the sFlow data collector

Username/Password: The credentials of an account Operations Manager can use to connect to the data collector.

 

Are parts of this documentation incorrect? I can see based off this why it's trying to connect on port 8008, but if credentials are not required to access the API why are they required fields in the target configuration? I would assume they are for the SSH connection but it's not clear.  Also, what sflow-rt service?

 

The only thing I can find online about sflow-rt are on these websites:

 

http://www.sflow-rt.com/download.php - open source implementation, collects data from sFlow agents

http://www.inmon.com/products/sFlow-RT.php - download redirects to the previous link

 

Has anyone been able to get VMTurbo to successfully connect to an sFlow collector and if so which one? Or is there a recommended collector to use? Any help is appreciated, I've been banging my head against the wall trying to get this to work since yesterday afternoon.

Attachments

Outcomes