Skip to main content

ServiceNow CMDB Enrichment Best Practices

Synchronizing your CMDB data from ServiceNow with BigPanda allows you to enrich your inbound alerts with contextual information. This helps improve correlation, MTTR, reporting accuracy, and increases consistency within the platform.

ServiceNow CMDB basics

Looking for just the basics? Check out the ServiceNow CMDB Enrichment one page document in BigPanda University!

Before You Start

The information in this document is for reference purposes only and is not intended to take the place of architectural decision-making and engineering advice from a BigPanda expert. Considerations must be made before configuration should be attempted. Further configuration information is available in the ServiceNow CMDB documentation

CMDB enrichment should be done after or in conjunction with Data Normalization.

Considerations Before Making Changes

Before making any changes to the BigPanda ServiceNow integration: 

  • You must switch the Application Scope to BigPanda

  • Ensure you have only one browser tab open on the BigPanda ServiceNow integration Configuration page to prevent issues. This prevents:

    • out-of-sync errors caused by browser window timeouts

    • unsaved configuration changes due to non-BigPanda Application Scopes interfering with your configuration tab or window. Often, errors happen when multiple browser windows with different application scopes selected are open.

We recommend making any changes in a lower environment (non-prod, sandbox, development BigPanda org) first to familiarize yourself with the process before executing them in your production BigPanda instance.

If you have questions about the configuration, please contact BigPanda support ().

By the End of this Module

Data synchronized from your ServiceNow CMDB will appear in Enrichment Maps within BigPanda. These enrichment maps begin with “snow_cmdb_” and end with your “BigPanda Map Name”, such as “_network_gear”.

When finished your Enrichment tables might look something like this:

ucj_enrichment_tables.png

Synchronization may take several minutes to hours to complete depending on the size of each CI Class table.

Trigger it once and watch the synchronization happen in the ServiceNow Application Logs.

Best Practices

  • Incomplete or inaccurate information in your CMDB can cause inconsistencies in BigPanda. Remember the old saying, “Garbage in = Garbage out.” If there are discrepancies in your CMDB, we recommend resolving them before integrating with BigPanda. 

  • When implementing this integration, we recommend you only export columns that are useful for improving correlation or enhancing the detail for manual triage processes. Be sure to review other enrichment sources that provide details before implementing any changes.

  • The exported column headers and synchronization update times are visible within BigPanda at Settings > Enrichment Maps.

Manual CMDB Synchronization

You can manually trigger a CMDB synchronization to verify newly configured tables.

To set up a manual trigger:

  1. In ServiceNow, go to All > BigPanda > CMDB > CMDB Processing Schedule.

  2. Set the run to On Demand and Save.

  3. In the upper right corner, click the Execute Now button. This manually starts the sync.

  4. After the sync has completed, set the Run state to Periodically and set your Preferred Run Time.

Trigger CMDB Synchronization

To trigger CMDB synchronization, you need to make a change to a table’s data. If no changes have occurred, the synchronization step will not be triggered, and this will be noted in the ServiceNow Application Logs. 

If you change the configuration without performing the manual synchronization steps described above, you will need to wait until the next time the table has changed before you can see and verify the table in BigPanda. This could take hours or up to several days. Manually changing a record in the table will ensure the sync runs at the next scheduled interval.

Synchronization Settings

We recommend using the following synchronization settings:

Name

Recommended Setting

Notes

Page Size

1000

This is the default setting and recommended maximum.  

Max Retries

1

If the CMDB integration has failed, it will try again once. If that fails, it will stop until the next execution interval. Setting this value low reduces unnecessary overhead on both BigPanda and ServiceNow.  

For example, if there are network communication issues between BigPanda and ServiceNow, a disruption from AWS, or a similar issue, you won’t want it to keep retrying continuously. 

The system will synchronize on the next execution interval, so there will only be a short period of time where enrichment data might be partially out of sync. 

Max Pages

2500

This is the recommended maximum page count. 

The maximum size is not the continually expected sync size, but the maximum that it will attempt to process at once. 

Typically, your sync will be between 200 and 500 pages and will take less than 20 minutes to complete.

Retry Interval

120 (seconds)

This value is how quickly the system will attempt a retry if there is an issue with CMDB sync.  

We recommend setting this to a minimum of 2 minutes and a maximum of 10 minutes. 

Keep in mind that if the sync has failed, retrying immediately will also generally fail. 

Execution Interval

24 (hours)

We generally recommend 24-hour sync intervals, as this meets the requirements of the majority of customers.  

Configuration Examples

ServiceNow_CMDB_ConfigExamples

You can use the examples below to populate the CMDB table export configuration. Please note that this list is not meant to be exhaustive. We recommend you refer to the tables and CMDB Classes used in your CMDB before taking steps to configure.

Example Mapping Configurations

Application

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_appl

name

sys_class_name

sys_id

parent

owned_by

short_description

vendor

support_group

correlation_id

used_for

sla

internet_facing

department

category

priority

Choose based on your use case. 

name: application

sys_id: mapped_appl_service_sys_id

Service

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_service

name

sys_class_name

sys_id 

assignment_group

business_unit

correlation_id

department

environment

managed_by_group

parent 

sla

short_description

support_group

used_for

Choose based on your use case. 

name: host

sys_id: network_gear_sys_id

Business Application

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_business_app

name

sys_class_name

sys_id 

parent

owned_by

short_description

vendor

support_group

correlation_id

used_for

sla

internet_facing

department

category

priority

Choose based on your use case. 

name: business_app

sys_id: mapped_appl_service_sys_id

Server

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_server

name

sys_class_name

sys_id 

location

ip_address

support_group

used_for

Choose based on your use case. 

name: host

sys_id: server_sys_id

Network Gear

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_netgear

name

sys_class_name

sys_id 

serial_number

asset

asset_tag

manufacturer

model_id

assigned_to

ip_address

mac_address

location

fqdn

environment

default_gateway

Choose based on your use case. 

name: host

sys_id: network_gear_sys_id

Storage Device

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_storage_device

name

sys_class_name

sys_id 

serial_number

asset

asset_tag

manufacturer

model_id

assigned_to

ip_address

mac_address

location

Choose based on your use case. 

name: host or storage

sys_id: storage_sys_id

Database

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_database

name

sys_class_name

sys_id 

support_group

assigned_to

managed_by

correlation_id

Choose based on your use case. 

name: database

sys_id: database_sys_id

Mass Storage Device

Table Name

Table Key

Example Exported Columns

Example Column Mapping

cmdb_ci_msd

name

sys_class_name

sys_id 

serial_number

asset

asset_tag

manufacturer

model_id

assigned_to

ip_address

mac_address

location

Choose based on your use case. 

name: host or storage

sys_id: msd_sys_id

(Optional) ServiceNow Update Set with Base Tables and Default Column Mapping

A BigPanda update set is available that will set the CMDB configuration section with the base tables and the recommended defaults for exported tables, map name, query filters, and column mapping. Contact your account team for access.

(Optional) Additional Table Exports

Not every potential CI Class is included here, only examples. Be sure to consider all of the different CI Class types that might be defined in your ServiceNow CMDB.

Additional table exports are often required for systems that don’t fall under the reference categories defined in this document. A good example is “Mass Storage Devices.”  

Using the above formatting, you should be able to quickly gather the necessary details to export additional tables in the same manner. If you’re unsure, you can consult the BigPanda support team, the related documentation, or your BigPanda Account Team. Further guidance may be available and BigPanda Professional Services might also be able to assist you with your configuration.

Measuring Success

You can use the Unified Analytics Enrichment dashboard to track the percentage of alerts being enriched and the enrichment rate change over time. It also provides you with a top list of alerting objects that are not being enriched. This list can be used as a starting point for improving CMDB enrichment by identifying objects missing from the CMDB or additional enrichment maps that need to be configured for use in BigPanda enrichment.

https://files.readme.io/4a69405a2d7479b74a776bbe5f0f815443b4f8385e3e36a83285740777762165-ucj_enrichment_dashboard.png

Resources

BigPanda University

BigPanda Community

Contact Support