cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 11

Uninstall Linux agent

Hello All,

Could someone guide how to completely uninstall Linux agents

0 Kudos
3 Replies
Level 9

You probably dont need the answer now, since its been over a year, BUT here is the Solarwinds Support page showing how to do this:

Remove an agent from a Linux-based device - SolarWinds Worldwide, LLC. Help and Support

Thanks,

0 Kudos

I cannot access this link using my Solarwinds support account.  Does anyone have instructions how to manually remove a Linux agent?

0 Kudos

  1. Before removing the agent from the device, try to remove it through the Manage Agents page. This will remove it from the Orion database.

    The agent is removed from the Agents grid. If the agent is connected to the Orion server, it also removes the agent, the swiagent service account, and removes all files from the /opt/SolarWinds directory.

    1. Log in as an administrator and click Settings > All Settings > Manage Agents. 

    2. Select the agent, and click Delete.

  2. Log on to the remote node.

  3. Verify that the agent has been removed using your package manager.

    • For RedHat-based Linux or IBM AIX distributions, you can use yum or rpm. For example:

      yum info swiagent or rpm -q swiagent
    • For Debian-based Linux distributions, you can use dpkg. For example: 

      dpkg -s swiagent
  4. If the agent has not been removed, use your package manager to remove it.

    This may take several minutes to complete. The agent attempts to connect to the Orion server to remove it from the database.
    • For RedHat-based Linux or IBM AIX distributions, you can use yum or rpm. For example: 
      rpm -e swiagent or rpm -e --noscripts swiagent
    • For Debian-based Linux distributions, you can use dpkg. For example: 

      dpkg -r swiagent

The agent, the swiagent service account, and all files from the /opt/SolarWinds directory are deleted.


Uninstall the agent - Based on distro 

rpm -e swiagent or if the agent is connected you can delete using the ui 
yum remove swiagent 
apt-get remove swiagent ( or  apt-get remove purge --auto-remove swiagent) (or say snmp)
rm /tmp/taskProperties.* 
0 Kudos