tacticalrmm
tacticalrmm copied to clipboard
Update or Remove duplicate agent
By reinstalling the agent, a duplicate computer appears on console, add the possibility to update or remove it in settings. Thanks
I noticed in mesh options there's a feature that "removes disconnected agents"
You might be able to set that to clean agents after x time not connected, but that might kill valid agent's
The problem is when we 're reinstalling a computer (same computername) , a second agent is create. Maybe if it's possible to create a background task which find the duplicate name and keep only the most recent ?
Is this for mesh or tactical?
Tactical
Something along this maybe: #708
Sounds great but how would you know its a duplicate? PS. Don't say hostname because I've seen plenty of idiots with duplicate host names on their network.
By MAC address, then hostname. Isn't that what everyone else does? ;)
MAC address by itself would work. Who puts a physical NIC to a different host nowadays… Maybe limit this to agents marked as clients and skip servers. Showing a list of duplicates in the process of the maintenance task so the user can cancel would also be a safety net.
by IdentifyingNumber (serial)
by IdentifyingNumber (serial)
No, because there's machines with "to be filled in by OEM" out there
Can probably close this also as covered in #708 as @nr-plaxon mentioned. Agreed best doing it on mac address is the only way or manually is the other option if thats added to mass delete.
You now have a manual method of bulk deleting old agents: https://github.com/wh1te909/tacticalrmm/commit/2c8f207454884fa47ce245e4c3a6567e44cbd47b https://github.com/wh1te909/tacticalrmm/pull/830/commits/3f3ab088d233734db0375681dd66fba2ed518154
By: agentver or days since last checkin
Will be in next release.
+1