SysOrb Network Monitoring System Administrator's Guide: For version 4.6.0 | ||
---|---|---|
Prev | Chapter 3. Installing SysOrb | Next |
In order to do an unattended on Windows, one must use the msiexec program from the command line. The basic syntax of an unattended installation is:
msiexec /passive /i sysorb-agent-4.6.0-6039.win7-amd64.amd64.msi
This will install the SysOrb agent using the default configuration options, meaning the SysOrb agent will most likely have to be configured after installation.
To avoid having to configure the SysOrg agent after installation, arguments can be given to the installer changing the default settings. The msiexec can be given properties as Property=PropertyValue on the command line.
The SysOrb agent installer uses a number of properties:
AGENTNAME - The name of this SysOrb Agent.
SERVERLIST - Comma seperated list of SysOrb servers the agent should check in to.
AGENTDOMAIN - The domain for this SysOrb agent.
AUTOUPGRADE - Set to 'true' to
LOGFILE - The full path to the agent log file.
LOGCHKCONF - The full path to the log check configuration file.
SERVERPORT - The port the SysOrb server is listening on.
LOGDAYS - The number of days between log file rotation.
LOGLEVEL - The amount of logging.
AUTOUPGRADE - Set to 'true' to allow autoupgrade of the agent, 'false' otherwise.
So, in order to do an unattended installation of the SysOrb agent with the name MySysOrbAgent checking in to the server MySysOrbServer disallowing automatic upgrades, one could execute:
msiexec -passive -i sysorb-agent-4.6.0-6039.win7-amd64.amd64.msi AGENTNAME=MySysOrbAgent SERVERLIST=MySysOrbServer AUTOUPGRADE=false