Removing an Agent from Linux
Purpose
This document describes how to remove an agent from Linux.
Removing an Agent from Linux
To uninstall agents from a Linux workstation:
Open a Terminal, type sudo systemctl stop o24-agent.service and press Enter to stop the O24 Agent service.
BASHsudo systemctl stop o24-agent.service
Next, type sudo dpkg -r o24-agent and press Enter to remove the O24 Agent.
BASHsudo dpkg -r o24-agent
Next, type sudo rm -r -f /etc/o24-agent and press Enter to remove the directory.
BASHsudo rm -r -f /etc/o24-agent
Next, type sudo rm -r -f /var/cache/o24-agent and press Enter to remove the directory.
BASHsudo rm -r -f /var/cache/o24-agent
Next, type sudo rm -r -f /etc/o24-agent.conf.d and press Enter to remove the directory.
BASHsudo rm -r -f /etc/o24-agent.conf.d
Continue to remove the agent from Outscan as described below using either the Netsec Classic view or the Portal view.
In Netsec
To remove an agent from the targets in Netsec:
Go to Netsec > Manage Targets.
Select the agent that should be removed.
Click - Delete.
Click the Selected targets button and confirm.
In the Portal
To remove an agent from the targets in the Portal:
Go to Assets > Agents.
Select the agent.
Right click on the selected row and select Delete.
.png?inst-v=69366276-5bf4-4596-8d7f-aac60a939e49)
Related Articles
- Check Connectivity to Agent Server
- Retrieving Results From the Agent in OUTSCAN
- Finding the Agent Version
- Discovering the Agent in OUTSCAN
- Using the Agent Info Command
- Finding New Agents In OUTSCAN
- Retrieving the Agent UUID
- Setting Up an Agent Using System Proxy
- Checking Schedules from OUTSCAN in Agent
- Adding Agent Attributes
- Updating the Agent
- Agent Call Home
- Checking if Agent is Running
- Checking if the Agent has Produced Results
- Firewall Setup for Agents
Copyright
© 2025 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.
Trademark
Outpost24® and OUTSCAN™ are trademarks of Outpost24® and its affiliated companies. All other brand names, product names or trademarks belong to their respective owners.