-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to add multiple NetFlow /sflow sources #18
Comments
Sounds to me like nfcapd configuration; nfsen-ng doesn't configure and start nfcapd... would be a nice feature though. |
Hi All. @mbolli isn't it possible to configure nfsen-ng to support multiple sources as nfsen does? Thanks. nfsen.conf example:
|
Hi @ropesca , I assume that you have nfcapd available at /usr/local/bin/nfcapd so I tried to adapt that to your context:
A quick google search to see what parameters nfcapd I am using is available here : https://www.systutorials.com/docs/linux/man/1-nfcapd/ Also, I have "netflow" user and my data needs to be available to the "www-data" group for nfsen-ng but this maybe needs to be adapted to your needs. And... maybe you might need the nfsen structure for the profiles, don't remember if that was created manually or not. |
HI @Dona21 you clear up it. Thank you. So, on nfsen-ng sources configuration, I should insert the same name as nfdump configuration, right? In your example, would be like this:
|
You are welcome, glad that it helped. Yes, that section of the configuration would be correct to match the example |
I've tried to modify the NetFlow sources from the setting page which path is /var/www/html/nfsen-ng/backend/settings , then i restart the nfsenng, but it failed to display on the web page.
the web page that display as below:
my question is what's the correct method to modify the multiple sources? |
@realnet So your sources array should look like this:
|
what is wrong with this command? command : nfcapd -p 9995 -u www-data -g www-data -B 200000 -S 1 -z -I EDGE -l /var/nfdump/profiles-data/live/EDGE result: Add extension: 2 byte input/output interface index Process_v9: [0] Add template 256 |
|
Hi @steinhorstbr , I did not see your comment before and I assume you found out since February. However, for any nfdump suite tools (nfcapd is part of it), you should ask that directly there https://github.com/phaag/nfdump |
Hi @pra838 , your question concerning sources has been answered in this exact same post by @mbolli . See it here.
|
Why my date & time is not correct? |
In the screenshot you posted, you can see a command (nfdump tool) that is executed in the backend. Try to run it on a your terminal and see what kind of output you get. My assumption is that you will have the same output. If so, your question should be posted on the nfdump project at the output is generated by that tool. However, in any case this question has nothing to do with the issue you are writing in with title "how to add multiple NetFlow /sflow sources", so please keep it structured when asking for help, thanks |
you should edit /etc/php.ini ,as below ,to yourself timezone,and restart httpd |
My NetFlow station build around Nfsen works well , however I am not sure how to add multiple Sflow/netflow sources on same port in Nfsen-ng.
please suggest where to add source IPs and ports into the configuration, in Nfsen-ng there is no option to add IPs in backend/settings.php for multiple sources. please help, I am very impressed with the web front-end of Nfsen-ng and would like to start a new deployment with Nfsen-ng.
The text was updated successfully, but these errors were encountered: