NSC Client silent installation.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

NSC Client silent installation.

Post 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
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NSC Client silent installation.

Post 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.
Locked