Page 1 of 1

Setup NCPA via Configuration Wizard Error or Bug

Posted: Mon Sep 09, 2024 4:41 am
by fawzankhaizuran
Hi, I am trying to create an NCPA via Configuration Wizard.

I have done the prerequisite for which is install the agent on the server that wnats to be monitored and have verified the installation is successful via "https://<NCPA IP Address>:5693/" as I can see the dashboard.

HOWEVER, When I proceed to create an NCPA using the configuration wizard, when I done filling the credentials (my token is T0k3n, the server IP is 172.17.110.95) and clicked "NEXT", I received an error "Unable to contact server at https://172.17.110.95:5693/testconnect/ ... your_token>".

I suspect the NEXT button redirects to a literal "<your token>" URL not "T0k3n" because when I input "https://172.17.110.95:5693/testconnect/?token=T0k3n" in the URL, i received "{"value":"Success."}" message.

Or is it am I missing some step?

Need assistance and help for this. Thank you very much and have a nice day.

Re: Setup NCPA via Configuration Wizard Error or Bug

Posted: Mon Sep 09, 2024 10:00 am
by bbahn
Hello @fawzankhaizuran,

What version of Nagios XI are you using? I know there was a period of time where the wizard was broken in this manner, but that has since been fixed.

Re: Setup NCPA via Configuration Wizard Error or Bug

Posted: Mon Sep 09, 2024 10:10 pm
by fawzankhaizuran
Hii @bahn,

Currently the version of NagiosXI that I'm using is 2024R1.2.1 (NagioXI Free version).

As per attached is the screenshot of the version.

Re: Setup NCPA via Configuration Wizard Error or Bug

Posted: Tue Sep 10, 2024 11:46 am
by bbahn
So I tested my own NCPA, using your token T0k3n and had no issue. Can you open up your dev tools (F12 or right click->inspect element), go to network, run the wizard and check the request contents?

It seems you can reach the target server from the machine you are browsing from, but have you verified that your XI server can reach it?