How to troubleshoot traffic-based discovery in Service MappingSummary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Troubleshoot traffic-based discovery in Service Mapping, which discovers and maps configuration items (CIs) by analyzing network traffic connections. Traffic-based mapping complements pattern-based mapping. This article explains the traffic-based discovery process flow, exceptions that prevent connections, options to disable traffic-based discovery, grace period behavior, and troubleshooting steps. Traffic-based discovery process flow After a pattern-based discovery run completes, the traffic-based discovery process starts.The process identifies the process ID (PID) associated with the application.The process searches the TCP Connection [cmdb_tcp] table for records matching the discovered computer, the process PID, and a connection type of Connecting To.If the connection does not fall under any exceptions, Service Mapping creates a connection between the CIs based on the search results. Exceptions Traffic-based connections are not created under the following circumstances: The CI already has an inclusion connection to another CI.The CI has inclusion connections, but none lead to a valid CI and at least one has an error message.The number of traffic-based connections exceeds the limit set by the sa.traffic_based_discovery.max_connections system property.A software discovery pattern has already found the connection.The connection is related to a process included in the sa.traffic_based_discovery.blacklist system property.The connection uses a port listed in the sa.traffic_based_discovery.ignored_ports system property. Disable traffic-based discovery You can disable traffic-based discovery in the following ways: Globally: Set the sa.traffic_based_discovery.active system property to false.For a specific CI or CI type: Create a traffic-based rule in the [sa_traffic_based_rules] table.For a specific service: Go to the application service page and set Traffic-based discovery to false. Note: Disabling traffic-based discovery for a specific service stops the creation of traffic-based connections in the map. However, tasks still run on the target server in the background. This option does not reduce resource consumption on the target. Grace period for traffic-based connections During the grace period, traffic-based connections remain on the service map. The grace period defines how long (in hours) connections remain before they are removed from a CI. The grace period is controlled by the sa.traffic_based_discovery.conn_aging_time system property. Troubleshooting steps If traffic-based connections are not created as expected, use the following steps to identify the cause. Review the exceptions listed in the preceding section and verify that none are blocking the connection.Examine the pattern discovery log and collect the process PID.Confirm that the process associated with the application has a record in the [cmdb_tcp] table where the following values match: Computer: The discovered computerPID: The PID of the processType: Connecting to Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Traffic-based discovery in Service MappingEnable traffic-based discovery for CI types or specific CIs