Page 1 of 2
NCPA Setup Issue
Posted: Wed Apr 21, 2021 8:59 pm
by pfpl_support
Hi Support,
Our team is trying to link the NCPA with Nagios XI, however when we submit the setting, it redirect to connection reset page show in attachment.
Nagios XI Version : 5.8.3
NCPA Client Version : 2.3.1
Is there any additional configuration required?
Re: NCPA Setup Issue
Posted: Thu Apr 22, 2021 9:35 am
by CSOST
Did u try using the wizard ?
Re: NCPA Setup Issue
Posted: Thu Apr 22, 2021 1:43 pm
by dchurch
If you PM me a system profile I can diagnose further. Get one by going to Admin (top menu) => System Profile (in the left menu), then clicking the blue button.
If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send me the resulting
/usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
Re: NCPA Setup Issue
Posted: Sun Apr 25, 2021 10:48 pm
by pfpl_support
Hi dchurch,
Here is my system profile.
Hi CSOST,
Yes, run via wizard.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Re: NCPA Setup Issue
Posted: Mon Apr 26, 2021 11:34 am
by dchurch
Something is missing from your database schema. How this happened, I'm not sure, but if you run the following command it'll remedy it:
Code: Select all
mysql -uroot -pnagiosxi nagiosql <<< 'alter table tbl_lnkServiceescalationToService add column exclude tinyint(1) not null default 0'
Re: NCPA Setup Issue
Posted: Tue Apr 27, 2021 12:59 am
by pfpl_support
Hi dchurch,
Our Nagios XI do not use any mysql.
Is it required to use mysql to hose Nagios XI?
Re: NCPA Setup Issue
Posted: Tue Apr 27, 2021 10:48 am
by dchurch
Your system profile says your Nagios XI installation is using MySQL (or MariaDB) for all databases.
Re: NCPA Setup Issue
Posted: Thu Apr 29, 2021 4:29 am
by pfpl_support
Hi dchurch,
The nagios installation is follow the steps mentioned in the link below.
https://assets.nagios.com/downloads/nag ... -Linux.pdf
Which did not mentioned anything about mysql.
Re: NCPA Setup Issue
Posted: Thu Apr 29, 2021 6:05 pm
by ssax
You can check for any wizard update in Admin > Manage Config Wizards and install any updates for the NCPA wizard if you see any.
Usually when I see this fail it's because of a web gateway/proxy/IPS device/security software/firewall that is interfering with the connection.
Run this command as root and leave it running:
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /var/log/httpd/access_log /var/log/httpd/ssl_access_log
Then replicate the issue in the web interface again and after it fails, send the full output from the still running tail command.
Please access the web UI from a different system in the same subnet to validate if that works.
If that works from a system on the same subnet then it's very likely a web gateway/proxy/IPS device/security software/firewall that is blocking it and you'll need to reach out to your security team/network admins in order to have them investigate the security devices in the path.
Re: NCPA Setup Issue
Posted: Mon May 03, 2021 11:36 pm
by pfpl_support
Hi ssax,
Please check on the attached log file with the command you given.
Is it the issue cause by the network accessibility that you mentioned?