Page 1 of 2
No Data Showing (configured
Posted: Sun Jan 10, 2016 12:38 am
by zmalik
Hello,
I have configured the following configuration on Nexus 7010 switch, and for some odd reason, I am unable to receive data flow in Nagios Network Analyzer tool.
The same configuration have worked well in other similar products. Please advise what needs to be done in Nagios Network Analyzer tool to make it successful.
flow exporter ExporterNTA
description export netflow to collector
destination x.x.x.x
transport udp 2055
source Vlan3878
version 9
flow record NTA
match ipv4 source address
match ipv4 destination address
match ip protocol
match transport source-port
match transport destination-port
collect transport tcp flags
sampler SampleNTA
mode 1 out-of 10
flow monitor MonitorNTA
record NTA
exporter ExporterNTA
interface Vlan3878 (management vlan)
no shutdown
ip flow monitor MonitorNTA input sampler SampleNTA
int vlan50 (data vlan)
ip flow monitor MonitorNTA input sampler SampleNTA
Thanks,
Re: No Data Showing (configured
Posted: Mon Jan 11, 2016 10:44 am
by zmalik
Hello,
I believe i managed to resolve the issues. Please see full config for NTA on nexus switch. Appreciate your feedback.
flow exporter ExporterNTA
description export netflow to collector
destination x.x.x.x
transport udp 2056
source Vlan3878
version 9
flow record NTA
match ipv4 source address
match ipv4 destination address
match ip protocol
match ip tos
match transport source-port
match transport destination-port
collect transport tcp flags
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
sampler SampleNTA
mode 1 out-of 10
flow monitor MonitorNTA
record NTA
exporter ExporterNTA
interface Vlan3878
ip flow monitor MonitorNTA input sampler SampleNTA
int vlan50
ip flow monitor MonitorNTA input sampler SampleNTA
int vlan65
ip flow monitor MonitorNTA input sampler SampleNTA
I can see reports in NNA.
Thanks,
Zahid
Re: No Data Showing (configured
Posted: Mon Jan 11, 2016 6:04 pm
by ssax
Thank you for posting your solution, I'm sure future visitors will appreciate it! Is it okay to lock this up and mark it as resolved?
Re: No Data Showing (configured
Posted: Tue Jan 12, 2016 12:03 am
by zmalik
Hello,
Let's wait for comments from other users. I noticed in NNA, under summary page. I status show "NO Data Available". Is it normal or I am missing something (see attached).
Thanks,
Zahid
Re: No Data Showing (configured
Posted: Tue Jan 12, 2016 1:18 pm
by hsmith
Is your system time correct?
Re: No Data Showing (configured
Posted: Tue Jan 12, 2016 11:44 pm
by zmalik
Hello,
I have NTP configured in the network. So, all devices including Nagios machine are pointed to same NTP server.
Please see below NTP configuration from nexus 7010 switch
N7K-MV3-AGG01-PR(config)# show ntp peer-status
Total peers : 1
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-------------------------------------------------------------------------------
*192.168.67.24 192.168.7.2 2 32 77 0.00098 default
N7K(config)# sh run ntp
ntp distribute
ntp server 192.168.67.24 prefer
ntp source-interface Vlan3850
ntp logging
ntp commit
clock timezone AST 3 0
Note: Vlan3850 is my inband Management VLAN.
Thanks,
Re: No Data Showing (configured
Posted: Wed Jan 13, 2016 5:29 pm
by jolson
Could you check the current time on your Nexus switch?
Be sure that it's the same as your NNA server. Next, let's examine some flows to ensure that they contain legitimate data. Perform the following on the command line of Nagios Network Analyzer:
Code: Select all
cd /usr/local/nagiosna/var/<source>/flows/
nfdump -R .
Replace <source> with the appropriate source name. When the netflow information starts scrolling across your screen, ensure that the date is proper.
Re: No Data Showing (configured
Posted: Thu Jan 14, 2016 1:49 am
by zmalik
We have NEXUS and NNA synchronized to same NTP server. So, timing are exactly the same for both.
Please see results from NNA server below.
Summary: total flows: 652717, total bytes: 7794092546, total packets: 21934205, avg bps: 713423, avg pps: 250, avg bpp: 355
Time window: 2016-01-13 09:08:18 - 2016-01-14 09:24:58
Total flows processed: 652717, Blocks skipped: 0, Bytes read: 41896576
Sys: 7.862s flows/second: 83013.3 Wall: 77.405s flows/second: 8432.4
signiant-master:root [ /usr/local/nagiosna/var/N7KMV3AGG01PR/flows ]
Thanks,
Re: No Data Showing (configured
Posted: Thu Jan 14, 2016 1:56 pm
by tgriep
Can you login as root on the NA system, run the following commands and post the output here?
Code: Select all
ls -l /usr/local/nagiosna/var/N7KMV3AGG01PR
ls -l /usr/local/nagiosna/var
ls -l /usr/local
ps -ef --cols=300
rrdcreate
find /usr/local -name py_rrd*
Re: No Data Showing (configured
Posted: Sun Jan 17, 2016 12:24 am
by zmalik
Hello,
Please see attached as requested.