Remove vRealize Log Insight Agent from SDDC Manager
If you have ever wanted to remove the vRealize Log Insight from VMware Cloud Foundation you may have skipped the step to uninstall the vRealize Log Insight Linux Agent from SDDC Manager, whilst the process is documented in the VMware documentation for vRealize Log Insight under Uninstall the Log Insight Linux Agent RPM package the procedure does not help you establish the version installed so here is a quick blog to tie all the information together.
Removing the vRealize Log Insight Linux Agent from SDDC Manager
Log in to the SDDC Manager appliance using SSH as vcf.
Change to the root user by running the following command.
1su -
- Verify that the VMware Log Insight Linux Agent is installed by running the following command.
1pgrep liagent
- Verify the installed version by running the following command.
1rpm -qa | grep Log-Insight-Agent
- Remove the VMware Log Insight Linux Agent by running the following command replacing VERSION and BUILD_NUMBER with the version and build number obtained in step 4.
1rpm -e VMware-Log-Insight-Agent-VERSION-BUILD_NUMBER