You can uninstall the Log Insight Linux Agent .bin package with a vRealize Log Insight script.

Prerequisites

  • Log in as root or use sudo to run console commands.

  • Log in to the Linux machine on which you installed the Log Insight Linux Agent, open a terminal console and run pgrep liagent to verify that the VMware vRealize Log Insight Linux Agent is installed and running.

Procedure

  1. At the shell prompt, enter the following command to start the script.
    loginsight-agent-uninstall 
  2. You can verify that the uninstall completed successfully by checking that the returned error code from the following command is 0.

    echo $?