Is it possible to remove Inactive Agents from Fleet?

After uninstalling an Agent, as expected the agent shows a status of Offline in Fleet. Then once the agent is unenrolled, it goes to a status of Inactive. A previous question I had asked on this forum was if it is possible to reconnect to an Agent that was previously uninstalled. It was deemed not possible. So now I am wondering if it is possible to remove Inactive (Unenrolled) agents from Fleet.

Hi @kreed,

Yes it is possible, you can follow the steps in this guide:

To remove them completely, you should select the "force unenroll" checkbox that will displayed in the prompt.

Thanks,
Cristina

Hello @Cristina_Amico

All of the agents in the image above have either been unenrolled or forced unenrolled. In the image below you will see I do not have that option available for selection on these agents.

Unenrolling/Force Unenrolling does not seem to remove the agents from this list. It just sets their status to Inactive.


Sorry, I misread your original question. You're right, once the agents get unenrolled they become inactive and are stored as such, but there is no actual way to delete them completely.

For now the only workaround is to filter them out from the agents table by deselecting "inactive" and "unenrolled" status in the table filters.

Hope this helps.

Thanks,
Cristina

1 Like

Thanks for the insight @Cristina_Amico

The link you provided gives me a 404 error. Is it only able to be accessed internally?

Yes you're right, I thought it was tracked in our open issues. It is just an internal ticket for implementing removal of inactive agents.

Thanks,
Cristina

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.