Follow the steps below to download and install the VMware Aria Operations for Logs agent on a VMware Aria Operations Cloud Proxy.
- Log into the VMware Aria Operations for Logs and navigate to Management > Agents and download the Linux RPM (32-bit/64-bit) agent.
Note: In newer versions such as 8.18.3, this is located in Log Sources > Agents
- Copy the downloaded RPM agent to the VMware Aria Operations Cloud Proxy's /tmp folder using an SCP utility or command.
Example: scp Path_To_File/VMware-Log-Insight-Agent-8.18.3-24507632.noarch_###.###.##.###.rpm root@Cloud-Proxy-IP:/tmp/VMware-Log-Insight-Agent-8.18.3-24507632.noarch_###.###.##.###.rpm
Note: Replace Path_To_File and Cloud-Proxy-IP with the appropriate values.
- Log into the VMware Aria Operations Cloud Proxy as root via SSH or Console.
Note: You may need to enable SSH if disabled. See Enabling SSH access in Aria Operations
- Run the following command to install of the VMware Aria Operations for Logs agent:
rpm -i /tmp/VMware-Log-Insight-Agent-*.rpm
- Verify that the liagent.service is up and running by running the following command:
service liagentd status
Note: If the service is not running, run this command to start it: systemctl start liagentd
- Ensure the liagent.service service is in the startup list by running this command:
systemctl enable liagentd.service
- Configure the agent by editing the /etc/liagent.ini file:
vi /etc/liagent.ini
- For a basic configuration, edit the following values by pressing i to enter insert mode and add the values accordingly:
Note: Remove the ; before the settings to enable it.
Example configuration:
[server]
hostname=[VMware_Aria_Operations_for_Logs_IP_or_FQDN]
proto=cfapi
port=9543
ssl=yes
central_config=yes
[update]
package_type=rpm
- Between the [storage] and [update] sections, add the files and folders you want to monitor. See Configuring VMware Aria Operations for Logs Agents for more information. The recommended files and folders that need to be collected and monitored are:
/var/log/firstboot/
/var/log/vmware/vcops/
/data/vcops/log
/storage/log/vmware-vrops-cprc
/storage/log/vcops/log/casa/
/storage/log/vcops/log/pakManager
/usr/lib/vmware-vcops/user/log
Example:
- Save and close the file by typing the following:
:wq
In the VMware Aria Operations for Logs UI, verify that the agent is forwarding events to the server by navigating to Management > Agents and validate that the agent IP address is present and is receiving events. If the Cloud Proxy is not listed, check the /etc/liagent.ini file configuration and your environment for the required port and SSL settings to use. It may be that you need to use port 9000 instead of 9543 and set ssl=no.