Page 1 of 2
NNA sources not showing data in nagiosxi after upgrade
Posted: Tue Jul 09, 2019 10:26 am
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.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Tue Jul 09, 2019 2:56 pm
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.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 7:59 am
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.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 8:01 am
by yeahMon
nag1.jpg
This is the error i am seeing
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 10:13 am
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!
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 11:05 am
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?
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 11:41 am
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
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Wed Jul 10, 2019 12:40 pm
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!
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 7:46 am
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.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 10:42 am
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