Page 1 of 1
NSClient script installation
Posted: Wed Jul 10, 2013 8:43 am
by lafargeuser
I would like to test, pushing NSClient remotely on endpoint using server automation tool.
I am able to do so but what I need is to have script in which I can mentione Nagios Server IP, so that if I start installing NSClient from my automation tool, it will installed remotely.
Re: NSClient script installation
Posted: Wed Jul 10, 2013 9:42 am
by yancy
lafargeuser,
You can use the following msiexec to install, where ALLOWED_HOSTS="10.2.251.10" is the example nagios server
Code: Select all
msiexec /i NSClient++-0.3.9-x64.msi /norestart ADDLOCAL="ALL" REMOVE="Documentation" ALLOWED_HOSTS="10.2.251.10" /quiet
-Yancy
Re: NSClient script installation
Posted: Thu Jul 11, 2013 5:11 am
by lafargeuser
Below is the command which is being use to deploy NSClient from Automation Server.
msiexec /I "??SOURCE??" /qn ALLUSERS=1 REBOOT=ReallySuppress
changed to
msiexec /I "??SOURCE??" /qn ALLUSERS=1 REBOOT=ReallySuppress ALLOWED_HOSTS="172.17.98.80" /quiet
able to add Nagios Server IP. But how can I enable Enable below plugin.
common check plugins
Enable nsclient server (Check_nt).
Re: NSClient script installation
Posted: Thu Jul 11, 2013 9:24 am
by yancy
lafargeuser,
I haven't seen any install options that allow plugin definitions. I'm not sure what automation tool you're using, but is it possible to deploy NSC.ini after the install?
Thanks,
-Yancy