Page 2 of 2

Re: NCPA connection issue

Posted: Thu Feb 27, 2020 5:23 pm
by snapon_admin
Not a VPN, no. I don't believe it's going through our proxy. We do have one, but it should only be used when traversing the internet, which this doesn't need to do.

Re: NCPA connection issue

Posted: Thu Feb 27, 2020 5:35 pm
by lmiltchev
What is the Nagios XI and NCPA wizard version that you are currently using?

Enable debugging in the ncpa.cfg file by setting this line:

Code: Select all

loglevel = debug
Save, exit and restart ncpa listener.

Run the following command and show the output:

Code: Select all

curl -k 'https://<IP>:5693/testconnect/?token=<TOKEN>' -v
Also, upload the ncpa_listener.log (and win32service_ncpalistener.log if you have one) to the forum.

Re: NCPA connection issue

Posted: Thu Mar 05, 2020 4:26 pm
by snapon_admin
XI is version 5.6.10, NCPA wizard is version 2.2.3.

Code: Select all

[root@lisl-ngos-02-pv ~]# curl -k 'https://<REDACTED>:5693/testconnect/?token=<REDACTED>' -v
* About to connect() to <REDACTED> port 5693 (#0)
*   Trying <REDACTED>...
* Connection refused
* Failed connect to <REDACTED>:5693; Connection refused
* Closing connection 0
curl: (7) Failed connect to <REDACTED>:5693; Connection refused
We set logging to debug level, but nothing seems to be logging, the file has nothing in it.

Re: NCPA connection issue

Posted: Thu Mar 05, 2020 8:58 pm
by Box293
lmiltchev wrote:What is the output of the command below from the Nagios XI server?

Code: Select all

nmap <ip address> -p 5693

Re: NCPA connection issue

Posted: Tue Mar 10, 2020 1:32 pm
by snapon_admin
[root@lisl-ngos-02-pv ~]# nmap <IP> -p 5693

Starting Nmap 6.47 ( http://nmap.org ) at 2020-03-10 13:31 CDT
Nmap scan report for <IP>
Host is up (0.00017s latency).
PORT STATE SERVICE
5693/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds

Re: NCPA connection issue

Posted: Tue Mar 10, 2020 5:00 pm
by Box293
OK so it's clear from that output that tcp port 5693 to the destination device is closed.

Re: NCPA connection issue

Posted: Wed Mar 11, 2020 11:06 am
by snapon_admin
Right, but how would I go about correcting that? As far as I can see we don't have that port blocked over the network as I can browse to the NCPA GUI for that PC in a browser.

Re: NCPA connection issue

Posted: Wed Mar 11, 2020 3:55 pm
by lmiltchev
Can you try installing the latest version of NCPA (2.2.1) to see if this is going to fix your issue?

If you are still having the same problem, post the ncpa.cfg file on the forum. Please hide/obfuscate sensitive info.