NSClient script installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

NSClient script installation

Post 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.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NSClient script installation

Post 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
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: NSClient script installation

Post 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).
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NSClient script installation

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