NCPA Setup Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pfpl_support
Posts: 6
Joined: Tue Aug 11, 2020 12:25 am

NCPA Setup Issue

Post 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?
You do not have the required permissions to view the files attached to this post.
CSOST
Posts: 11
Joined: Tue Apr 30, 2019 11:31 am

Re: NCPA Setup Issue

Post by CSOST »

Did u try using the wizard ?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NCPA Setup Issue

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
pfpl_support
Posts: 6
Joined: Tue Aug 11, 2020 12:25 am

Re: NCPA Setup Issue

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NCPA Setup Issue

Post 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'
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
pfpl_support
Posts: 6
Joined: Tue Aug 11, 2020 12:25 am

Re: NCPA Setup Issue

Post by pfpl_support »

Hi dchurch,

Our Nagios XI do not use any mysql.
Is it required to use mysql to hose Nagios XI?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NCPA Setup Issue

Post by dchurch »

Your system profile says your Nagios XI installation is using MySQL (or MariaDB) for all databases.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
pfpl_support
Posts: 6
Joined: Tue Aug 11, 2020 12:25 am

Re: NCPA Setup Issue

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA Setup Issue

Post 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.
pfpl_support
Posts: 6
Joined: Tue Aug 11, 2020 12:25 am

Re: NCPA Setup Issue

Post 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?
You do not have the required permissions to view the files attached to this post.
Locked