Page 1 of 1

ncpa remote windows client changed host ip

Posted: Sat Jul 20, 2024 6:34 am
by huiwang1999
hi, we have ncpa ansible instaelled with api and token.. and working fine.. recently, the end admin of these segments moved these vm to a differnent segment and hence new ip with same host, we dont want to reinstall the ncpa on them, is there anyway?

a. remote manage these boxes again without end admin manully change file on these boxes one by one?
b. if last resort, what file to change on these end windows box?

thanks

Re: ncpa remote windows client changed host ip

Posted: Mon Jul 22, 2024 10:42 am
by lgute
Hi @huiwang1999, thanks for reaching out.

Have you tried connecting to the NCPA gui on these windows boxes? I am not very familiar with NCPA on Windows, but on Linux systems, it does not matter what the IP address is, just the port for NCPA. The exception would be if the IP address has been specified in the config file.

By default the ncpa.cfg is in \Program Files\Nagios\NCPA\etc or C:\Program Files (x86)\Nagios\NCPA\etc. If it was installed somewhere else, you may need to search for ncpa.cfg file.