2V0-32.24 Question 235
Select 3You are configuring vRealize Log Insight Agents to collect logs from multiple Linux servers in your environment. You want to ensure that the agents are using the correct configuration file and sending logs to the appropriate vRealize Log Insight server. What steps should you take to accomplish this?
- A
Ensure the liagent.ini file is correctly configured with the vRealize Log Insight server address.
- B
Modify the /etc/vmware-log-insight-agent.conf file to include the hostname of the vRealize Log Insight server.
- C
Restart the Log Insight Agent service after making configuration changes.
- D
Manually add the Linux system logs to the vRealize Log Insight web interface.
- E
Verify the agent status and connectivity using the 'liagentctl' command.
Show answer and explanation
Correct answers: A, C, E
Explanation
To properly configure and manage vRealize Log Insight Agents on Linux servers, the liagent.ini file should be updated with the correct vRealize Log Insight server address. After making changes, the agent service must be restarted to apply the new configuration. Additionally, the 'liagentctl' command is an essential tool for verifying the agent's status and connectivity. Steps like manually adding logs via the web interface or modifying incorrect configuration files are unnecessary and do not align with best practices.
- A. Correct.
Correct. The liagent.ini file is the main configuration file for the vRealize Log Insight Agent, and it must contain the vRealize Log Insight server address to ensure proper communication.
- B. Incorrect.
Incorrect. The /etc/vmware-log-insight-agent.conf file is not the correct configuration file for vRealize Log Insight Agents. The correct file is liagent.ini.
- C. Correct.
Correct. Restarting the Log Insight Agent service ensures that any changes made to the configuration file are applied.
- D. Incorrect.
Incorrect. You do not need to manually add system logs through the web interface. The agent automatically collects logs based on its configuration.
- E. Correct.
Correct. The 'liagentctl' command is used to verify the status and connectivity of the Log Insight Agent, ensuring it is working correctly.