Service Mapping can discover and map CIs by detecting the inbound and outbound traffic that the CIs generate. Create a traffic-based discovery rule to determine which configuration items are available for traffic-based mapping.

Before you begin

If your ServiceNow instance uses domain separation and you have access to the global domain, log in to the relevant domain. The selected domain must be a domain without any child domains.

Role required: sm_admin
  • Ensure that the traffic-based discovery is enabled at the Service Mapping product level: navigate to Service Mapping > Administration > Properties and verify that the Traffic based discovery check box is selected.
  • Enable traffic-based discovery for a specific application service as described in Map a single application service using classic Service Mapping.

About this task

You may choose to use traffic-based discovery in addition to the pattern-based mapping.

You can create rules to configure Service Mapping to use traffic-based discovery for certain CIs. You can configure traffic-based discovery rules to monitor specific CIs or types of CIs.

Rules for specific CIs take precedence over rules for CI types. For example, if you do not want to use traffic-based discovery on any Apache Tomcat servers, you can define a CI type rule disabling the traffic-based discovery on the Tomcat table. At the same time, you can create a discovery rule enabling the traffic-based discovery for a specific Tomcat server. In that case, Service Mapping uses the traffic-based discovery only for this specific Tomcat server out of all Tomcat servers.

Depending on your configuration, the behavior of traffic-based discovery is different. If discovery based on Predictive Intelligence is enabled, Service Mapping automatically adds connections to application services based on connection rules. Service Mapping generates these suggestions based on traffic-related data from the Configuration Management Database (CMDB) and on Predictive Intelligence analysis of application fingerprints, CIs, and processes.

If discovery based Predictive Intelligence is disabled, Service Mapping automatically adds traffic-based connections based on the CMDB data to application services. You may need to remove connections leading to irrelevant CIs to declutter application services. To learn more about traffic-based method, see Traffic-based discovery in Service Mapping.

If your instance uses domain separation, you can create traffic-based rules for specific domains. Rules in the base system are assigned to the global domain and apply to all domains of all levels.

When you create a rule for a specific domain, the new rule is used only for this domain and does not exist in any other domains. If you customize an existing rule in the global domain and assign it to a specific domain, you create a copy of the global rule, which is still used in all other domains except the domain that has the customized version of this rule. Likewise, if you customize a rule in the global domain, the change affects all domains except the one that uses a customized copy of this rule.

Procedure

  1. Navigate to Service Mapping > Administration > Traffic Based Discovery.
  2. Click New.
  3. Define the rule parameters as follows:
  4. Click Submit.
  5. To fine-tune traffic-based discovery, define advanced parameters as follows:
    Parameter Description
    sa.traffic_based_discovery.conn_aging_time Time period in hours for a Traffic Based Connection to remain active since last discovered.
    • Type: integer
    • Default value: 72
    • Other possible values: any number higher than 24
    • Location: Service Mapping > Administration > Properties.
    sa.traffic_based_discovery.ignored_ports Ports to ignore when found by traffic-based discovery.

    This property is available in the System Property [sys_properties] table.

    Change this property to define ports that Service Mapping ignores while performing traffic-based discovery. It makes discovery more efficient since resources are not wasted on discovering irrelevant connections.

    • Type: string
    • Default value: 445, 139, 111, 2049, 860, 3260, 135, 53
    • Other possible values: any relevant port numbers
    • Location: System Property [sys_properties] table
    sa.traffic_based_discovery.max_connections Maximum number of traffic-based connections from a single CI.

    This property is available in the System Property [sys_properties] table.

    This property helps to keep the map size reasonable by limiting the number of possible CI connections.

    • Type: integer
    • Default value: 30
    • Other possible values: any number higher than 1
    • Location: System Property [sys_properties] table