Configuring the Sflow for HP comware routers

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
mdusanapudi
Posts: 35
Joined: Tue Mar 15, 2016 1:31 pm

Configuring the Sflow for HP comware routers

Post by mdusanapudi »

hi
My network team has configured on one of the HP comware router and added the NNA server ip and port number
but we are not receiving any data on NNA.same setup was tested in a lab router and it works fine.only difference is firewall between two setups.
I am not very familiar with NNA.want to know which ports should be enabled in the firewall to make things work .
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Configuring the Sflow for HP comware routers

Post by jolson »

As far as NNA is concerned, you can check your listening ports by making use of the following command:

Code: Select all

netstat -plan | grep nfca
Example Output:

Code: Select all

udp        0      0 0.0.0.0:11111               0.0.0.0:*                               8878/nfcapd
udp        0      0 0.0.0.0:5555                0.0.0.0:*                               1266/nfcapd
Given this output we know that NNA is listening on both 11111/udp and 5555/udp - those are the ports that will need to be open in your firewall. The firewall is automatically modified in the case of Nagios Network Analyzer. Let us know, thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
mdusanapudi
Posts: 35
Joined: Tue Mar 15, 2016 1:31 pm

Re: Configuring the Sflow for HP comware routers

Post by mdusanapudi »

dp 0 0 0.0.0.0:9912 0.0.0.0:* 16175/sfcapd
udp 0 0 0.0.0.0:9913 0.0.0.0:* 30039/sfcapd
unix 2 [ ] DGRAM 46743039 30039/sfcapd
unix 2 [ ] DGRAM 46272625 13847/sfcapd
unix 2 [ ] DGRAM 45311123 16175/sfcapd


This is the output of the command and firewall has 9913 port opened between WAN router and NNA server.Do we need to allow anything else.
In firewall we can see that some random udp ports are generating traffic between NNA and WAN router and they are dropped.Any clue on whats happening?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Configuring the Sflow for HP comware routers

Post by Box293 »

Can you confirm the port is open on the local firewall on the NNA server:

Code: Select all

iptables --list
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mdusanapudi
Posts: 35
Joined: Tue Mar 15, 2016 1:31 pm

Re: Configuring the Sflow for HP comware routers

Post by mdusanapudi »

Thanks for the reply.
Firewall is the issue .Now they have allowed the traffic in the firewall and I am seeing lot of data flowing into NNA.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Configuring the Sflow for HP comware routers

Post by bwallace »

Thanks for that update and glad to hear this is resolved. I'll go ahead and close this thread now, thanks.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked