When you install vRealize Log Insight agents from the command line, you can include options to configure your deployment during installation. These options correspond to settings in the liagent.ini file.

The following options can be used during installation to configure vRealize Log Insight agents that run on Linux systems.

Option Description
SERVERHOST=hostname

IP address or host name of the vRealize Log Insight virtual appliance.

The default is loginsight.

SERVERPROTO={cfapi|syslog}

Protocol that the agent uses to send log events to the vRealize Log Insight server. The possible values are cfapi and syslog.

The default is cfapi.

SERVERPORT=portnumber
Communication port that the agent uses to send log events to the vRealize Log Insight or third party server. By default the agent uses the appropriate port based on the options that are set for SSL and the protocol. See default port values provided in the list below. You need to specify the port option only if it's different from these defaults.
  • cfapi with SSL activated: 9543
  • cfapi with SSL deactivated: 9000
  • syslog with SSL activated: 6514
  • syslog with SSL deactivated: 514
LIAGENT_INITSYSTEM={init|systemd} During install time, the agent automatically detects the type of init system for the machine you are installing the agent on. You can override this behavior by specifying the type of system value with this option. There are two types of supported init systems: init and systemd.
LIAGENT_AUTOUPDATE={yes|no}

Activate or deactivate auto-update for the agent. You must also activate auto-update from the vRealize Log Insight server to fully activate auto-update. The default is yes.

Auto-update is not supported for Linux BIN packages.

LIAGENT_SSL={yes|no}

Activate secure connection. If SSL is activated, the agent uses TLS 1.2 protocol to communicate to the server. The default is yes.

LIAGENTUSER=user-account-name

Specifies an account under which the agent is run. If the user does not exist, the installer creates it as a regular user. If the specified user account does not exist, the vRealize Log Insight Linux agent creates the user account during the installation. The created account is not deleted after uninstallation.

By default the agent is installed to run as a root user.

If you install with the LIAGENTUSER=non_root_user parameter and try to upgrade with LIAGENTUSER=non_root_user2, a conflict occurs. Warnings appear because non_root_user2 user does not have the permissions of the user non_root_user

The created user is not removed during uninstall. It can be removed manually. This parameter is intended for the agent service only. The updater service is always running as a root user.