Follow

Uninstall the Alert Logic Agent | How To

Description

This article describes how to uninstall the Alert Logic® agent for Linux and Windows®. 

Uninstalling the Linux Agent

RPM Package Removal

  1. Locate the agent RPM package. Use the following command:

    rpm -qa | grep agent

  2. Uninstall the agent RPM package. Use the following command:

    rpm -ev <packageNameFromStep1>

  3. Delete the Alert Logic directory. Use the following command:

    rm -rf /var/alertlogic

  4. If you wish to reinstall the agent via RPM, use the following commands:

    rpm -ivh al-agent_LATEST_<version>.rpm
    /etc/init.d/al-agent provision –key<UniqueRegistrationKey> --inst-type<host|role>
    /etc/init.d/al-agent start

Debian Package Removal

  1. Locate the agent Debian package. Use the following command:

    dpkg -l | grep agent

  2. Uninstall the agent Debian package. Use the following command:

    dpkg -r <PackageNamefromStep1>

  3. Delete the Alert Logic directory. Use the following command:

    rm -rf /var/alertlogic

  4. If you wish to reinstall the agent via Debian, use the following commands:

    dpkg -ivh al-agent_LATEST_<version>.deb
    /etc/init.d/al-agent provision --key <UNIQUEREGISTRATIONKEY> --inst-type <host | role>
    /etc/init.d/al-agent start

Uninstalling the Windows Agent

Via GUI

  1. Open the services menu by opening the “Run” dialog through the start menu and typing “services.msc”.

  2. Stop the "AL Agent" service by right-clicking on the name and selecting "Stop."

  3. Open Windows Explorer through the start menu and delete the below directory (including its contents).

    %ProgramFiles%\CommonFiles\Alertlogic

  4. Uninstall the agent via Control Panel > Programs and Features.

  5. Verify registry entry is deleted by opening an administrative command prompt and running the following line:

    reg delete %SOFTWARE%\AlertLogic\agent\host_uuid

  6. If you wish to reinstall the agent, verify you have the latest version by downloading it from:

    https://console.clouddefender.alertlogic.com/tm/support/ or https://console.clouddefender.alertlogic.com/lm/support

    To reinstall, double-click the .msi file and follow the installation instructions. 
    -OR-
    Unzip the agent, extract the .msi file, double-click the .msi file to execute, and follow the installation instructions.

Via Command Line

  1. Stop the agent.

    sc stop al_agent

  2. Remove the .pem files.

    del %ProgramFiles%\CommonFiles\Alertlogic\host_crt.pem
    del %ProgramFiles%\CommonFiles\Alertlogic\host_key.pem

  3. Delete the registry entry.

    reg delete %SOFTWARE%\AlertLogic\agent\host_uuid

  4. Uninstall the agent.

    wmic /node:%COMPUTERNAME% product where name="AL Agent" call uninstall /nointeractive

NOTE: These actions need to be taken from an administrative command prompt.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.