Page 1 of 1

NSC Client silent installation.

Posted: Sun Feb 20, 2022 12:29 am
by RIDS_I2MP
Hi Team,

We want to install NSC from Command prompt for windows servers. Can you provide command for basic installation of NSCP-0.5.2.
Also addition details related to customization in installation (check_nt, NRPE safe mode and etc).

Thanks and regards
Prashanth Chenna

Re: NSC Client silent installation.

Posted: Mon Feb 21, 2022 7:31 pm
by ssax
You would use the NSClient++ MSI and reference the "MSI Options" and "Silent install" sections from the below link:

https://docs.nsclient.org/installing/

As an example:

Code: Select all

msiexec /i NSCP-0.5.2.35-x64.msi CONF_CAN_CHANGE=1 CONF_CHECKS=1 CONF_NSCLIENT=1 CONF_NRPE=1 NRPEMODE=LEGACY ALLOWED_HOSTS=X.X.X.X NSCLIENT_PWD=yourpassword ADDLOCAL=ALL /qn /norestart
I couldn't get it to enable the things I was trying to set, you may need to reach out to the NSClient++ developers to see if they have any insight into how to enable the additional items as I see these bugs:

https://github.com/mickem/nscp/issues/518
https://github.com/mickem/nscp/issues/668

Or just MSI install, replace the nsclient.ini, and restart the nsclient++ service.