Uninstall the Linux Agent

There are two methods to uninstall Linux Agent from a device. You can remove the server from the All Devices view, which triggers an automatic uninstall of the Agent from the device, or you can log into the server to manually uninstall the Agent.

Automatically uninstall the Agent

The All Devices view deletion options are available when logged in using an account with General Settings (Devices) permissions enabled.

When you delete a device from the All Devices view, the Agent is also uninstalled.

    1. In the All Devices view North-pane, right-click the device or devices you want to delete. To select multiple devices, use Shift and left-click for a range or Control and left-click for specific devices.
    2. Select Delete <device type> or Delete <device type> > Delete from Dashboard.
    3. Review the summary of your request to verify the number of devices to delete.
    4. If you are deleting Apple devices that are enrolled in N-sight RMM, select the Unenroll all selected devices from DMA checkbox to confirm you want to unenroll those devices.
    5. Enter the password you used to sign into N-sight RMM to confirm deletion.
    6. Select OK to apply.

Depending on the Agent cycle, the Agent removal process may take over an hour to complete.

Manually Uninstall the Agent

To manually uninstall the Linux Agent, log on to the server then run the following commands in the CLI to remove the rmmagent package using the Linux Distribution's package manager.

Root privileges are required for this operation.

Debian-based distributions.

When in the root shell

# dpkg --purge rmmagent

Using sudo

$ sudo dpkg --purge rmmagent

Other distributions.

# rpm --erase rmmagent

When a device is deleted it is recorded in the User Audit Report and includes the Date/Time of removal, the Client, Site and Device Details in addition to the Username and action. For example: Agent Uninstalled Manually from Device.

What do you want to do?