Page 2 of 2
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 12:55 pm
by yeahMon
Hi,
Neither of the servers are using SSL. I tried the commands you gave anyways:
./check_nna.py -H 138.120.120.33 -K a29217b1cd3352cb29902b2c21ca1fd44ce38df2 -S 41 -m bytes -w 135000000000 -c 153000000000 --secure
UNKNOWN - Error occurred while running the plugin.
[root@zeus libexec]# ./check_nna.py -H xxx.xxx.xxx.xxx -K a29217b1cd3352cb29902b2c21ca1fd44ce38df2 -S 41 -m bytes -w 135000000000 -c 153000000000 --secure --ignorecert
UNKNOWN - Error occurred while running the plugin.
I tried looking through logs in nagios/var and nagiosxi/var, but couldn't find anything related to this plugin. Perhaps i overlooked it or mabey there's another log somewhere?
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 1:09 pm
by lmiltchev
Download the updated "Nagios Network Analyzer" wizard (ver. 1.0.7) below:
networkanalyzer.zip
Don't unzip it. Install it as you would any other wizard:
Admin > Manage Config Wizards > Browse > networkanalyzer.zip > Upload & Install
Rerun the wizard against your host. Do the checks work now?
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 2:09 pm
by yeahMon
I appreciate the work on this! Unfortunately i still have an issue.
I uploaded the new NNA wizard as provided. I deleted an NNA_host and then re-added it via the new version of the wizard. I cant tell if it solved the issue. This is because neither the NNA_host nor its three services show up in home->hostgroup grid or home->host status or home->service status, or anywhere in home.
If i go to configure-> hosts or services, i can see that the wizard has added them though.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Thu Jul 11, 2019 2:13 pm
by lmiltchev
Hmm, it seems like you were not able to apply configuration for some reason. Can you run the following command and show the output?
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Can you see the new host and its services in the GUI now?
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Fri Jul 12, 2019 8:55 am
by yeahMon
So the command you gave me above did indeed cause my missing source and services to show up under home.
And when it does everything is working now! I can see the data sent up from the NNA.
But when i try deleting another source and re-adding it with the new NNA wizard version, the same thing happens and i have to re-run the command to have it show up. Playing with it a bit i found that if i delete and re-add a source, i can get it to show up in home, if i click the apply configuration button. So i would be led to believe the new version of the wizard is failing to do this.
BTW, since upgrade to 5.6.3 i found the apply configuration takes about 20-30 seconds to complete, when it used to take a second or two.
Let me know if you still want to see the output of the reconfigure_nagios script.
Thanks!
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Fri Jul 12, 2019 9:35 am
by lmiltchev
But when i try deleting another source and re-adding it with the new NNA wizard version, the same thing happens and i have to re-run the command to have it show up. Playing with it a bit i found that if i delete and re-add a source, i can get it to show up in home, if i click the apply configuration button. So i would be led to believe the new version of the wizard is failing to do this.
Running the reconfigure_nagios.sh script is the same as applying configuration. It is possible that configuration is not applied after you run the wizard, because you or someone on your team selected this check-box:
example01.PNG
BTW, since upgrade to 5.6.3 i found the apply configuration takes about 20-30 seconds to complete, when it used to take a second or two.
I am not sure why this would be. What is the version of Nagios XI that you upgraded from? Have you made any changes to the system after the upgrade? You can probably open a ticket on the second issue via our support center here:
https://support.nagios.com/tickets/
We will need your latest profile (Admin > System Profile > Download Profile). Our techs would determine if remote session would be required to further troubleshoot the issue.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Fri Jul 12, 2019 12:25 pm
by yeahMon
Yep, that button was indeed selected. So i am good now.
I will watch the configuration apply time closely and raise a ticket if needed.
Thanks for your help! I think you can close this issue.
Re: NNA sources not showing data in nagiosxi after upgrade
Posted: Fri Jul 12, 2019 12:59 pm
by lmiltchev
I am glad I could help.