Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Remove an agent from a Linux-based device

Remove an agent from a Linux-based device

Updated July 21, 2017

Overview

This article includes instructions on how to remove agents from Linux-based devices manually.

Environment

  • Any

Steps

  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.
    1. Log in as an administrator and click Settings > All Settings > Manage Agents. 
    2. Select the agent, and click delete.

    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.

  2. Log on to the remote node.
  3. Verify that the agent has been removed using your package manager.
    • For RedHat-based Linux 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.
    • For RedHat-based Linux 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
    This may take several minutes to complete. The agent attempts to connect to the Orion server to remove it from the database.

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

 

Uninstal 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.* 


reference information: 

https://thwack.solarwinds.com/thread/100455

 

 

Last modified

Tags

Classifications

Public