deepflow icon indicating copy to clipboard operation
deepflow copied to clipboard

fix server if agent get hostname is same, vm table will update, not add

Open LeoDemoniac opened this issue 1 year ago • 1 comments

This PR is for:

  • Server [x]

In a certain scenario, we add a legacy-host (follow this doc legacy-host). We had some same hostname x86 agents,eg: localhost, we found Mysql table vm and vtap got only one agent, and the device_id is same(in the agents who have same hostname), found the hostname is the issue, so we add peer and - prefix the hostname

LeoDemoniac avatar Jul 05 '24 09:07 LeoDemoniac

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 05 '24 09:07 CLAassistant