Page 3 of 4

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

Posted: Thu Apr 23, 2015 10:17 am
by jolson
After you run that query, please press the 'Use Via HTTP' button and show us the results.

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

Posted: Thu Apr 23, 2015 10:21 am
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

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

Posted: Thu Apr 23, 2015 10:52 am
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

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

Posted: Fri Apr 24, 2015 2:13 pm
by bosecorp
same result

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

Posted: Sun Apr 26, 2015 1:33 pm
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

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

Posted: Mon Apr 27, 2015 1:25 pm
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

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

Posted: Mon Apr 27, 2015 3:48 pm
by bosecorp
same result. I am able to follow the link

but Nagios XI won;t display any data

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

Posted: Mon Apr 27, 2015 4:35 pm
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?

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

Posted: Tue Apr 28, 2015 3:50 pm
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

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

Posted: Tue Apr 28, 2015 4:26 pm
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!