NNA sources not showing data in nagiosxi after upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
yeahMon
Posts: 27
Joined: Thu Oct 29, 2015 1:26 pm

NNA sources not showing data in nagiosxi after upgrade

Post by yeahMon »

Hello,

Previous to upgrading xi to 5.6.3, each of the nagios NNA sources displayed bytes, flows and packets in the nagiosXI ui. I used the configuration wizard to add these. After upgrade, each of these 3 services for all the sources show a warning:

(No output on stdout) stderr: File "/usr/local/nagios/libexec/check_nna.py", line 146

The 'host' NNA source is green on the xi UI, but the service are yellow with the warning status. Also in NNA everything is working as expected, and there is data for flows, bytes, packets for each source.

I have tried generating a new API key, but that didn't help. I've also tried deleting and re-adding an NNA source but that didn't work. I'm running NNA at 2.4.0

Thanks.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NNA sources not showing data in nagiosxi after upgrade

Post by tgriep »

Login to the XI GUI as an admin and go to the Admin > Manage Components menu and Check for Updates.
Update the component if needed and then open up the Nagios Network Analyzer Integration component.
Adjust the settings for the Use SSL and the Allow invalid certificate options to see if it can get it to connect the NNA server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
yeahMon
Posts: 27
Joined: Thu Oct 29, 2015 1:26 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by yeahMon »

nag2.jpg
HI, thanks for the response.
There were no updates for NNA integration component. I checked the boxes and applied but still the same error.

I'm not sure how much of this is a connection issue. As i said the sources are green on the XI UI with a status of up. If i try adding a new source i can choose it from the drop down in the connfiguration wizard so it sees the sources configured in NNA.

And here is something i just noticed: In the NNA configuration wizard if i choose a source i have already configured it shows me the last week of bandwidth data for flows, packets and bytes. So its just not showing up in home as an NNA source service.
You do not have the required permissions to view the files attached to this post.
yeahMon
Posts: 27
Joined: Thu Oct 29, 2015 1:26 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by yeahMon »

nag1.jpg
This is the error i am seeing
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by lmiltchev »

I was able to recreate the issue in-house, and will be filing an internal bug report. As soon as I get some feedback from our developers, I will post on the forum. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by lmiltchev »

What was the version of Nagios XI that you upgraded from?

What is the version of the Nagios Network Analyzer Integration component (Admin > Manage Components), and the Nagios Network Analyzer wizard (Admin > Manage Config Wizards) that you are currently using?
Be sure to check out our Knowledgebase for helpful articles and solutions!
yeahMon
Posts: 27
Joined: Thu Oct 29, 2015 1:26 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by yeahMon »

Hi,

Thanks for looking into this! I believe i upgraded from 5.6.1.
Nagios Network Analyzer Integration component: 1.4.1
Nagios Network Analyzer wizard: 1.0.6
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by lmiltchev »

Thanks for the info. I will do some more digging into this. Meanwhile, let us know if the plugin that was PM-ed to you fixed the issue. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
yeahMon
Posts: 27
Joined: Thu Oct 29, 2015 1:26 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by yeahMon »

Hey, thanks with the quick turnaround.

Unfortunately I tried the plugin and the error changed to: UNKNOWN - Error occurred while running the plugin.
I also tried it from the command line and just got the same message:

./check_nna.py -H xxx.xxx.xxx.xxx -K a29217b1cd3352cb29902b2c21ca1fd44ce38df2 -S 41 -m bytes -w 135000000000 -c 153000000000
UNKNOWN - Error occurred while running the plugin.

The plugin permissions are the same as all the other plugins in libexec.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NNA sources not showing data in nagiosxi after upgrade

Post by lmiltchev »

Is any of these two servers set up with SSL? In only one of the machines uses SSL, then this is most probably what is causing the issue.

Can you try running the following commands to see if they are going to work?

Code: Select all

./check_nna.py -H xxx.xxx.xxx.xxx -K a29217b1cd3352cb29902b2c21ca1fd44ce38df2 -S 41 -m bytes -w 135000000000 -c 153000000000 --secure
or

Code: Select all

./check_nna.py -H xxx.xxx.xxx.xxx -K a29217b1cd3352cb29902b2c21ca1fd44ce38df2 -S 41 -m bytes -w 135000000000 -c 153000000000 --secure --ignorecert
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked