Setting Up NetFlow on ASA

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
rpearson
Posts: 39
Joined: Fri Dec 14, 2018 5:21 pm

Setting Up NetFlow on ASA

Post by rpearson »

We have been using the NagiosXI product and are on a trial of Network Analyzer right now. I seem to be having some trouble getting Netflow data moving. The server is on the same subnet so I don't think the firewall should be having any affect on this. I have attached screen shots of my ASDM and Network Analzyer config. Some key points.

NA server is as 10.0.0.55
Port I am using as I understand this is arbitrary as long as its above 1024? Is 3000

The gateway of the firewall is 10.0.0.254 I added 10.0.0.253 here as well as we have them working in an Active/Passive failover pair.

With the way this is set it just isn't collecting any data and I don't understand why.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Setting Up NetFlow on ASA

Post by scottwilkerson »

It could be a class-map or policy map missing...

We have an example of the terminal version for the ASA on page 3 of the following doc
https://assets.nagios.com/downloads/nag ... alyzer.pdf
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
rpearson
Posts: 39
Joined: Fri Dec 14, 2018 5:21 pm

Re: Setting Up NetFlow on ASA

Post by rpearson »

I undid my ASDM change and followed the command line procedure. Some issues I ran into.

When I entered the flow-export delay flow-create 60 line I got this message.

WARNING: The current delay flow-create value configuration may cause flow-update events to appear before flow-creation event.

Also this line I had to modify (access-list netflow-export extended permit any any)

I used this (access-list netflow-export extended permit ip any any as it wanted a service denoted. Instead of IP can I just use the 3000 port that I specified as my port?

Regardless after doing this I am still not getting any flow data.
rpearson
Posts: 39
Joined: Fri Dec 14, 2018 5:21 pm

Re: Setting Up NetFlow on ASA

Post by rpearson »

I just had a quick WebEx session and we are still stuck. I was told to post this PCAP here.

EDIT - Uploaded now sorry it didn't like the pcap file
You do not have the required permissions to view the files attached to this post.
Last edited by rpearson on Thu Sep 24, 2020 3:43 pm, edited 2 times in total.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Setting Up NetFlow on ASA

Post by cdienger »

Looks like there was a problem attaching it. Please try attaching it again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Setting Up NetFlow on ASA

Post by cdienger »

There appears to be an issue with the sending device. The tcpdump shows the device is sending template information for the flow data but not actually sending the flow data. Use the steps in https://helpdesk.kaseya.com/hc/en-gb/ar ... -WireShark to see the behavior.

I would check with the device's config and support if needed to verify that it is setup properly.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rpearson
Posts: 39
Joined: Fri Dec 14, 2018 5:21 pm

Re: Setting Up NetFlow on ASA

Post by rpearson »

Cisco says the ASA is sending the correct information. I really don't know what to do at this point.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Setting Up NetFlow on ASA

Post by cdienger »

Were they able to show the data getting the NNA machine somehow? Let's get a fresh tcpdump taken on the NNA system:

Code: Select all

tcpdump -s 0 -i any port 3000 -w output.pcap
Let it run a few minutes before stopping it with CTRL+C and sending me the output.pcap file in a private message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rpearson
Posts: 39
Joined: Fri Dec 14, 2018 5:21 pm

Re: Setting Up NetFlow on ASA

Post by rpearson »

Not sure what is different but I am able to get Netflow data to go to my Solarwinds install I am also trying to test out. So it appears to be running. Although they also seem to use SNMP in conjunction with it. I was hoping if that one worked NagiosNA would magically work to but no dice. I will try that command you just posted.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Setting Up NetFlow on ASA

Post by ssax »

We'll keep an eye out for your update, we'll need to see that tcpdump to see what the device is sending in. I would let it run for about 5 minutes at least.

What is the output of this command?

Code: Select all

netstat -ano | grep 3000
If netstat isn't installed you can do this to install it:

Code: Select all

yum install net-tools -y
Locked