Network Management
Remove an Agent from Linux- or AIX-based devices in Orion
This article describes how to remove Orion agents from Linux- or AIX-based devices.
First published date
Last published date
Overview
Product section
Resolution
-
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.
-
Log in as an administrator and click Settings > All Settings > Manage Agents.
-
Select the agent, and click Delete.
-
-
Log on to the remote node.
-
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
-
-
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
- For RedHat-based Linux or IBM AIX distributions, you can use yum or rpm. For example:
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.*
Reference Information
See Linux Agent Deployment on the SolarWinds THWACK site for additional details.