Unix Installation Script Parameters

The Unix/Linux Agent installer self-extracting file includes the installation package and the installation script. This topic describes the installation script and its parameter usage.

Installation Script Example

observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run -- -i -s <ServerIP>:<Port> [-p <Installation Password>] [-g <POLICY-GUID>] [-d <Product path>] [-z] [-m] [--help]

Following is a list of the available script parameters and their usage:

Parameter

Use to

-m

Install the Agent using a silent installation. During silent installation, the installation program does not prompt for any configuration options.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.160.run -- -i -m

-i

Install or upgrade the Agent.

For example:

/observeit-agent-Ubuntu-12.04-precise-5.8.0.160.run -- -i

--target

Use to prevent installation failure in cases when there are no execute permissions on the /tmp directory.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run --target /work/install -- -i -s 10.3.0.72

-t

Use to redirect the installation to another directory in the case of insufficient space in the /tmp folder.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run -- -i -s 10.1.1.1 -t /work/tmp

where /work/tmp is the location of the new directory.

-u

Uninstall the Agent.
Note: The uninstallation can also be run from the script inside the product bin directory.

For example:

./opt/observeit/agent/bin/uninstall_oit -u 

-s <ServerIP>:<Port>

Register the Agent to the Application Server.

<ServerIP> is the IP address or FQDN of the ObserveIT Application server and <Port> is the TCP port used by the ObserveIT Application Server.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.160.run -- -i -s 10.3.0.72 -m

Note: During a silent installation, the installation proceeds without prompting you for any information. Even if you do not specify the server name or if the server does not respond, the installation will proceed without prompting, but you will need to register the Agent manually after installation.

-g <Policy GUID>

Link the Agent to one specific group policy (if not using the default policy).

<Policy GUID> is the ID of the policy to which the Agent should be registered.

For example:

observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run -- -i -s <ServerIP>:<Port> [-g "8520995d-9d81-4c93-a81c-baebadedea2a"]

-p <Installation Password>

Enter the installation security password if required by the ObserveIT Application Server during installation or uninstallation.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run -- -i -s <ServerIP>:<Port> [-p <Installation Password>]

-b

Back up the log files before uninstalling the Agent, so they will be available after the uninstall operation.

For example:

./opt/observeit/agent/bin/uninstall_oit -b

-d <Product path>

Specify the path to where the product files will be saved. The default path is /opt/observeit/agent.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.156.run -- -i -s 10.3.0.72 -d /work/oit

-z

Install missing package dependencies.

This parameter is supported on Linux, Ubuntu, and Debian operating systems.

In the case of failed dependencies, this parameter enables the installation script to install the missing dependencies and allow the installation to complete successfully.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.160.run -- -i -z

-h

Display this help and exit.

For example:

./observeit-agent-Ubuntu-12.04-precise-5.8.0.160.run -- -h