RE: Silent install of agent

From: Victor Kirhenshtein <victor_at_DOMAIN_REMOVED>
Date: Wed, 26 Jul 2006 17:27:10 +0300

Hello!

Agent will only accept instructions for shutdown and other actions from
NetXMS servers explicitely listed in MasterServers or ControlServers
parameters. You can also increase security by requiring server to
present correct shared secret to agent. To do so, add two lines to
agent's configuration:

RequireAuthentication = yes
SharedSecret = your_shared_secret

In this case, you will need to change properties of appropriate node
object as well. You can also force encrypted connections between server
and agent by adding

RequireEncryption = yes

to agent's configuration file.

It is also possible to disable all actions completely (including,
shutdown, restart, etc.) by placing

EnableActions = no

to agent's configuration file.

Best regards,
Victor

-----Original Message-----
From: Sam Deforest [mailto:netxms.srv_at_walpolewood.net]
Sent: Wednesday, 26 July, 2006 16:59
To: NetXMS Users
Subject: Re: [netxms-users] Silent install of agent

This worked GREAT!.. I was able to create a "scheduled task" that ran
only once and was able to install the agent without any user
interaction. I could copy/paste the job from machine to machine, and
delete it once it was installed. The install ran quite fast, about 4
seconds for a machine directly on the LAN, and 15 Seconds for machines
connected across an internet VPN connection. There may be some concern
tho about machine security....because the agent can "shutdown" a
machine, or restart it...anyone that could possibly add the node to
their NetXMS server could then begin to shut other peoples machines
down. Or am I just being paranoid. If the agent has a server
configured in it, will it only accept instruction from the server that
is set in its config file?

Thanks, Sam

Victor Kirhenshtein wrote:
> Hi again!
>
> I have found how to add additional command line options to installer.
> Now you can use the following options to made an unattended install:
>
> /SILENT Don't show wizard, just progress bar
> /VERYSILENT Don't show anything
> /SUPPRESSMSGBOXES Don't ask user anything
> /DIR=path Set installation directory (default is
> C:\NetXMS)
> /SERVER=address Set address of master server (will be writtent
> to config file)
> /SUBAGENT=name Enable subagent 'name'
> /NOSUBAGENT=name Disable subagent 'name'
>
> Valid subagent names are: PING, PORTCHECK, WINPERF, UPS. By default,
> winperf is enabled and all others are disabled.
>
> Updated installation can be downloaded at
> http://www.netxms.org/download/agent_packages/nxagent-0.2.12-hf1.exe
>
> Hope this helps!
>
> Best regards,
> Victor
>
>
>
> -----Original Message-----
> From: Victor Kirhenshtein [mailto:victor_at_opticom.lv]
> Sent: Monday, 24 July, 2006 21:09
> To: NetXMS Users
> Subject: Re: [netxms-users] Silent install of agent
>
>
>
> Hello!
>
> Agent's installer has command line options for unattended install
> (/SILENT or /VERYSILENT, combined with /SUPPRESMSGBOXES), but problem
> is that it will not generate correct agent's configuration file in
> unattended mode, so installed agent will not start. Currently the only

> solution I see is to wrap installer into some kind of script that will

> install agent silently, create valid configuration file, and start
> agent service. I will look at the installer today to see if it is
> possible to add new command line parameters so all required
> information can be passed to installer.
>
> Best regards,
> Victor
>
> -----Original Message-----
> From: Sam Deforest [mailto:netxms.srv_at_walpolewood.net]
> Sent: Monday, 24 July, 2006 15:25
> To: NetXMS Users
> Subject: [netxms-users] Silent install of agent
>
>
>
> Is there a way to silently install an the agent on a remote machine
> with
>
> the sub-agents, without any interaction with the user at the other
> end?
>
> Reason is, I would like to roll out the agent faster without having to
> take the end user off to do the install (granted it is rather quick).
I
>
> don't want to use a domain policy to do it, as it does require some
> user
>
> interaction. Maybe some options at the command line...............ie:

> c:\temp\nxagent-0.2.11.exe -s --c:\NetXMS --portcheck --ping --winperf
>
> Any thoughts?
>
> Thanks,
> Sam
>
>
>
Received on Wed Jul 26 2006 - 17:27:10 EEST

This archive was generated by hypermail 2.2.0 : Wed Jul 26 2006 - 17:38:41 EEST