Disocovery - separate decvice IP's updating same switch device after every discovery.Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> On executing discovery for individual switch devices, it is updating same switch device for multiple separate devices. The issue is about the invalid classification of the devices. When discovery tries to discover a device, it updates it based on the name which is getting updated as same for all devices due to OOTB regex expression. This article will demonstrate on the investigations and probable use cases, hence in future, if discovery updates the same for multiple IP's then this can be one of the cause and worth trying to fix. Release or EnvironmentConnect to ServiceNow instance.Initiate quick discovery or scheduled discovery for windows devices for 2 or more switch devices one by one.Discovery identifies the device with Identification Criteria = 'name' Wait for discovery to complete the discovery. One discovery completes, it updates the same device again and again for different IP's CauseThe problem is identified with the naming convention of the devices. The devices are named as SLC-IDF1.2-SW01, SLC-IDF1.1-SW01 and so on. There is OOTB property called glide.discovery.fqdn.regex which parse the name to pick the first name separated by dots as the hostname and the rest of the names as the domain name. Thus, in this case, the name will always be SLC-IDF1. As the identification is happening based on name, it updates the same device again and again for all the IP's.ResolutionChanging the naming convention of the device helps to resolve the issue. Also Regular Expression: ^([^.]+)\.((?:[^.]+\.)+[^.]+)$ can be modified but this change applies to all the devices thus it is recommended to avoid changing the regex.