This support forum board is for support questions relating to
Nagios Network Analyzer , our network traffic and bandwidth analysis solution.
concise
Posts: 18 Joined: Sat Nov 19, 2016 2:04 am
Post
by concise » Sat Nov 19, 2016 2:22 am
Hello,
I've installed NNA on CentOS 7 and everything looks good. I created a source and specified the port as 1100. When on NNA server, I try to telnet localhost 1100 it doesn't connect. However, the process seems to be running:
Code: Select all
# ps -ef --cols=300 |grep nfcapd
nna 8413 1 0 14:40 ? 00:00:00 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/BrS/flows -p 1100 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/BrS/1100.pid -D -e -w -z
nna 8414 8413 0 14:40 ? 00:00:00 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/BrS/flows -p 1100 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/BrS/1100.pid -D -e -w -z
root 8871 8666 0 15:07 pts/1 00:00:00 grep --color=auto nfcapd
Code: Select all
# telnet localhost 1100
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Please help me get NNA running and start collecting data from a linux source.
Thanks
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Nov 21, 2016 1:32 pm
Netflow or Sflow sources uses UDP and not TCP to send it's data so that is why the telnet command it not functioning for you as it is TCP only.
If you want to see if the server is receiving data on that port, you can run the tcpdump command.
Run this as root replacing the <int> option with the interface name for the ethernet connection to your server.
Code: Select all
tcpdump -i <inet> -s 65535 port 1100
Be sure to check out our
Knowledgebase for helpful articles and solutions!
concise
Posts: 18 Joined: Sat Nov 19, 2016 2:04 am
Post
by concise » Tue Nov 22, 2016 1:14 am
Thank you. I had the firewall block UDP and that is the reason data collection did not work. My bad. How silly of me!!
Everything works as expected.
avandemore
Posts: 1597 Joined: Tue Sep 27, 2016 4:57 pm
Post
by avandemore » Tue Nov 22, 2016 11:23 am
Glad you issue is resolved. I'm locking the ticket now. If you have further problems please open a new thread.
Previous Nagios employee