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.
NSClient script installation
Re: NSClient script installation
lafargeuser,
You can use the following msiexec to install, where ALLOWED_HOSTS="10.2.251.10" is the example nagios server
-Yancy
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
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: NSClient script installation
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).
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
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
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