nsclient silent deployment config issues
Posted: Tue Jul 23, 2019 8:39 am
i've finally found a bit of time to look into deploying NSClient better than it currently is.
we currently deploy the following method (via SCCM):
1st: msiexec /i nscp.msi /qn
2nd: %installdir%\nscp.exe settings --switch http://webserver/nsclient/nsclient.ini
This downloads the http nsclient.ini file into the %installdir%\cache\ folder.
nsclient does not know about the \cache\ location so i have to manually copy the ini file in the root of the installdir. this obviously doesn't keep the live config file up to date.
I've tried "NSCP-0.5.2.35-x64.msi" CONFIGURATION_TYPE="ini:C:\Program Files\NSClient++\cache\nsclient.ini", but fails to create the boot.ini as it appears to check if file exists, else failed install.
it also appears the CONFIGURATION_TYPE doesn't work with http so unable to use that for first stage install for it to get the webserver config. (CONFIGURATION_TYPE="http://webserver/nsclient/nsclient.ini")
I feel like i missing something obvious with getting this to work, but the NSClient docs are fairly weak and not found much info searching.
Any ideas?
we currently deploy the following method (via SCCM):
1st: msiexec /i nscp.msi /qn
2nd: %installdir%\nscp.exe settings --switch http://webserver/nsclient/nsclient.ini
This downloads the http nsclient.ini file into the %installdir%\cache\ folder.
nsclient does not know about the \cache\ location so i have to manually copy the ini file in the root of the installdir. this obviously doesn't keep the live config file up to date.
I've tried "NSCP-0.5.2.35-x64.msi" CONFIGURATION_TYPE="ini:C:\Program Files\NSClient++\cache\nsclient.ini", but fails to create the boot.ini as it appears to check if file exists, else failed install.
it also appears the CONFIGURATION_TYPE doesn't work with http so unable to use that for first stage install for it to get the webserver config. (CONFIGURATION_TYPE="http://webserver/nsclient/nsclient.ini")
I feel like i missing something obvious with getting this to work, but the NSClient docs are fairly weak and not found much info searching.
Any ideas?