We are observing many duplicate entries in UIM with or without IP addresses and same name and we tried the below steps to troubleshoot the issue:
1. Under the rules section of the discovery_server.cfg, add the following and then save it.
<name_mac_ip_origin>
enabled = true
position = 100
match_on_all = "defined:AllCorrelationNames, defined:IpAddresses, defined:Origins"
unmatch_on_any = "SysName, VirtualID, VirtualManagerId"
</name_mac_ip_origin>
2. Cold start the discovery_server (Deactivate-Activate):
3. Select the discovery_server probe and open the probe utility by pressing Ctrl-P
4. Run the discovery_server probe callback-> 'reimport_devices_by_cs_ids' for both the duplicate cs_id's using a comma to separate the values.
(The ID's a.k.a. the cs_ids were obtained by clicking on the device/node in the OC Inventory view and checking the 'Device Details' window for each one of the two duplicate entries, that had the same name and IP address, and were displaying as type Host and Virtual Machine.)
5. Search the device name again in OC inventory and check the device count (now there should be only one device in inventory with the given name)
Release: 20.4
There were multiple reasons for duplicates in this UIM environment:
1. computer systems without devices
Action item : Customer needs to find out such devices from OC inventory where they don't see the device information and delete such computer systems from OC inventory.
2. same device monitored by 2 different vcenters in vmware probe
Action item : Customer needs to work with their network team to find out why the same devices are being monitored from 2 different VMware vCenters and delete the device from one vCenter to remove duplicates.
3. same device monitored by different rsp probes from different hubs
Action item : Customer needs to find out why same devices are being monitored from 2 different hubs using the rsp probe and delete the device from one hub to remove duplicates.
4.Windows team changes dev name but the same IP remains.
- another cause of dupes.
Action item : If you will reuse the same IP then you need to remove the old device from inventory to reduce the duplicates otherwise it will never merge the devices because device name and other attributes are not the same, only IP is the same.