[GH-ISSUE #147] Feature Request: Allow removing agent from MESH server at agent removal #87

Closed
opened 2026-03-02 02:13:26 +03:00 by kerem · 9 comments
Owner

Originally created by @DjMagicFingers on GitHub (Oct 24, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/147

Originally assigned to: @wh1te909 on GitHub.

Currently, removing an agent from Tactical RMM does not remove it from the Mesh Central server.
That can cause a problem when re-installing the agent.

A tick box to allow removal of agent from Mesh Central when the user asks to remove Tactical RMM agent is requested.

Originally created by @DjMagicFingers on GitHub (Oct 24, 2020). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/147 Originally assigned to: @wh1te909 on GitHub. Currently, removing an agent from Tactical RMM does not remove it from the Mesh Central server. That can cause a problem when re-installing the agent. A tick box to allow removal of agent from Mesh Central when the user asks to remove Tactical RMM agent is requested.
kerem 2026-03-02 02:13:26 +03:00
Author
Owner

@wh1te909 commented on GitHub (Oct 25, 2020):

There doesn't seem to be an official api in mesh for removing an agent, would have to delete it from the mongodb which I would rather not mess with. If you find one please let me know.

Mesh will handle duplicate agents with no issue, I have reinstalled agents up to 20 times in testing and it always creates a new agent in meshcentral with a different unique id. I have literally hundreds of duplicate agents in meshcentral that are offline cuz they've been reinstalled and no issues at all.

<!-- gh-comment-id:716221901 --> @wh1te909 commented on GitHub (Oct 25, 2020): There doesn't seem to be an official api in mesh for removing an agent, would have to delete it from the mongodb which I would rather not mess with. If you find one please let me know. Mesh will handle duplicate agents with no issue, I have reinstalled agents up to 20 times in testing and it always creates a new agent in meshcentral with a different unique id. I have literally hundreds of duplicate agents in meshcentral that are offline cuz they've been reinstalled and no issues at all.
Author
Owner

@DjMagicFingers commented on GitHub (Oct 26, 2020):

Understood 👍
I am using the separated Mesh panel to manage and allow clients to connect to their own devices with permissions only to connect to the allowed devices.
Having many instances of the same device, together with the fact that the same device name can belong to many cleints, can be a bit confusing but we will manage :)

<!-- gh-comment-id:716373689 --> @DjMagicFingers commented on GitHub (Oct 26, 2020): Understood 👍 I am using the separated Mesh panel to manage and allow clients to connect to their own devices with permissions only to connect to the allowed devices. Having many instances of the same device, together with the fact that the same device name can belong to many cleints, can be a bit confusing but we will manage :)
Author
Owner

@sadnub commented on GitHub (Nov 12, 2020):

I might be able to use the wss setup to remove mesh agent. I'll mess around with this.

<!-- gh-comment-id:726359357 --> @sadnub commented on GitHub (Nov 12, 2020): I might be able to use the wss setup to remove mesh agent. I'll mess around with this.
Author
Owner

@dinger1986 commented on GitHub (Feb 21, 2021):

This is more a Mesh request, @DjMagicFingers I would suggest opening a ticket with them, for my business we just only show Online from the dropdown. @sadnub I will close this unless you want to look at this further?

<!-- gh-comment-id:782927401 --> @dinger1986 commented on GitHub (Feb 21, 2021): This is more a Mesh request, @DjMagicFingers I would suggest opening a ticket with them, for my business we just only show Online from the dropdown. @sadnub I will close this unless you want to look at this further?
Author
Owner

@sadnub commented on GitHub (Feb 22, 2021):

@dinger1986 I actually am porting the meshctrl javascript program over to python to allow a tighter integration between the two. It would make this possible, but it isn't really high on my priority list.

<!-- gh-comment-id:783421037 --> @sadnub commented on GitHub (Feb 22, 2021): @dinger1986 I actually am porting the meshctrl javascript program over to python to allow a tighter integration between the two. It would make this possible, but it isn't really high on my priority list.
Author
Owner

@dinger1986 commented on GitHub (Feb 22, 2021):

nice one! would be cool if it works but agreed low priority

<!-- gh-comment-id:783422224 --> @dinger1986 commented on GitHub (Feb 22, 2021): nice one! would be cool if it works but agreed low priority
Author
Owner

@wh1te909 commented on GitHub (Feb 3, 2022):

we now have a clear way to interact with the mesh websocket so this should be do-able and will be in a future release

<!-- gh-comment-id:1028507887 --> @wh1te909 commented on GitHub (Feb 3, 2022): we now have a clear way to interact with the mesh websocket so this should be do-able and will be in a future release
Author
Owner

@silversword411 commented on GitHub (Feb 3, 2022):

trace=1 ? :D

<!-- gh-comment-id:1028557198 --> @silversword411 commented on GitHub (Feb 3, 2022): `trace=1` ? :D
Author
Owner

@wh1te909 commented on GitHub (Mar 10, 2022):

done will be in next release

<!-- gh-comment-id:1063587816 --> @wh1te909 commented on GitHub (Mar 10, 2022): done will be in next release
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#87
No description provided.