Page 1 of 1

NCPA error

Posted: Mon Nov 23, 2020 3:54 am
by kalyanpabolu
Hello Team,

We have installed NCPA agent on a Windows server and now trying to configure it from Nagios XI GUI, we are getting below error.
Unable to contact server at https://10.1.0.162:5693/testconnect/?token=Infy123.

Nagios XI Version: Nagios XI 5.7.3
NCPA version: 2.2.2
Windows server details:
Microsoft Windows 8 (64-bit)
10.1.0.162

PFA the screenshot for the same.

Could you please help us to resolve this issue?

Re: NCPA error

Posted: Mon Nov 23, 2020 5:24 pm
by benjaminsmith
Hi @kalyanpabolu,

This is likely due to an incorrect token or firewall blocking the connection. Did you open the firewall on the Windows machine as described on page 13 of the following guide:

https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf

If that's not the issue then double check the token ( see page 10 of the same guide).

Lastly, if you're still unable to connect, what is the output of the following commands as run from the Nagios XI server?

Code: Select all

curl -k 'https://<IP>:5693/testconnect/?token=<TOKEN>' -v
And...

Code: Select all

nmap <ip address> -p 5693
Regards,
Benjamin