No Data Showing (configured

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

No Data Showing (configured

Post 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,
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

Re: No Data Showing (configured

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No Data Showing (configured

Post 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?
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

Re: No Data Showing (configured

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: No Data Showing (configured

Post by hsmith »

Is your system time correct?
Former Nagios Employee.
me.
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

Re: No Data Showing (configured

Post 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,
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: No Data Showing (configured

Post by jolson »

Could you check the current time on your Nexus switch?

Code: Select all

show clock
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.
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.
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

Re: No Data Showing (configured

Post 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,
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: No Data Showing (configured

Post 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*
Be sure to check out our Knowledgebase for helpful articles and solutions!
zmalik
Posts: 8
Joined: Sun Jan 10, 2016 12:27 am

Re: No Data Showing (configured

Post by zmalik »

Hello,

Please see attached as requested.
You do not have the required permissions to view the files attached to this post.
Locked