Nagios XI unable to get traffic data from NA server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI unable to get traffic data from NA server

Post by jolson »

After you run that query, please press the 'Use Via HTTP' button and show us the results.
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Nagios XI unable to get traffic data from NA server

Post by bosecorp »

http://nagnetanalyzer/nagiosna/index.ph ... query]=src ip x.x.x.x or dst ip x.x.x.x&q[begindate]=-24 hours&q[enddate]=-1 second&q[gid]=1&token=x

$ curl --data 'q[aggregate_csv]=srcip,dstip&q[rawquery]=src ip x.x.x.x or dst ip x.x.x.x&q[begindate]=-24 hours&q[enddate]=-1 second&q[gid]=1&token=x' http://nagnetanalyzer/nagiosna/index.ph ... _anonymous
Last edited by jolson on Thu Apr 23, 2015 10:49 am, edited 1 time in total.
Reason: Removed sensitive information (token)
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI unable to get traffic data from NA server

Post by jolson »

Can you please try using 'nagnetanalyzer' - or whatever the hostname of your NNA machine is - in the following field instead of the IP address?
2015-04-23 10_51_03-Nagios XI - Administration.png
You do not have the required permissions to view the files attached to this post.
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Nagios XI unable to get traffic data from NA server

Post by bosecorp »

same result
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Nagios XI unable to get traffic data from NA server

Post by bosecorp »

if I click now in the link, it does take me to NA and I can see what I supposed to see. But from Nagios XI I still can not see the traffic. I still see the same as I previously stated
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI unable to get traffic data from NA server

Post by jolson »

Try removing the integration settings and pressing 'Apply Configuration'. After they have been removed, please re-add them. If you can follow the 'view this query' button to the Network Analyzer side of things, that's a good sign.
2015-04-27 13_25_08-Nagios XI - Administration.png
You do not have the required permissions to view the files attached to this post.
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Nagios XI unable to get traffic data from NA server

Post by bosecorp »

same result. I am able to follow the link

but Nagios XI won;t display any data
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI unable to get traffic data from NA server

Post by jolson »

Are the devices on the same subnet?

Nagios XI will need http or https access to Nagios Network Analyzer - please ensure there's nothing blocking this type of access between the servers.

Please run a tcpdump on your XI server:

Code: Select all

tcpdump -n host x.x.x.x -X >> /tmp/XIandNA.txt
Replace 'x.x.x.x' with your Nagios NA IP address. Now, click on one of the network analyzer tabs that is supposed to show NNA information. This will generate packets between NNA and XI.

The tcpdump information will be stored in the /tmp/XIandNA.txt. Is there any indication of a failure between the servers?
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Nagios XI unable to get traffic data from NA server

Post by bosecorp »

Nothing on the file. it;s like the Nagios XI server is not even attempting to get the data from the NA server

both servers are not behind any kind of firewall and yes, both servers are on the same subnet
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI unable to get traffic data from NA server

Post by jolson »

Could you try access Nagios Network Analyzer and navigating to 'Administration -> User Management -> Edit(current user)'. Please post a screenshot of the screen that follows:
2015-04-28 16_23_48-Edit User • Nagios Network Analyzer.png
API access is required. After ensuring that API access is turned on, try running the following command once more from your XI box:

Code: Select all

tcpdump -n host x.x.x.x -X >> /tmp/XIandNA.txt
And attempt connecting XI to Nagios NA. Also try to view a hosts network details. Please let us know!
You do not have the required permissions to view the files attached to this post.
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.
Locked