OBLYTECH Logo
OBLYTECH Logo

Service Graph Connectors: Third-Party Data Into the CMDB

A Service Graph Connector pulls data from a third-party tool, reshapes it to fit CMDB classes, and reconciles it with the records already there. Setting one up means choosing how it connects, which properties shape the import, how often it runs, and how records are removed when the source deletes them.

How third-party data moves into the CMDB

A connector runs four stages. Ingestion identifies the class, attributes and data source for each incoming record. Standardisation converts the values into the form the CMDB expects. Reconciliation decides whether an incoming item matches a configuration item (CI) already in the database, so one real server seen by two tools becomes one record. For the wider reconciliation model, see CMDB identification and reconciliation. The final stage writes the result into the CMDB. Throughout, the mapping follows the Common Service Data Model (CSDM), so output lands in the CI classes that CSDM defines. For the wider data model, see the Common Service Data Model guide.

Stage What happens What to review after a first run
Ingest Class, attributes and data source are identified Whether each source field reaches the intended class
Standardise Values are converted and mapped to CI classes Staging records for each data source
Reconcile Rules decide whether an item is new or matches an existing CI Duplicate candidates and unexpected new records
Load Records are written into the CMDB Install status and operational status counts

For the Google Cloud Platform (GCP) connector, the transform engine performs the mapping and the Identification and Reconciliation Engine performs the insert. Each GCP data source writes first to its own staging table, then into target classes such as cloud network, virtual machine instance or cloud load balancer. Key Value and SG-GCP Extension Attributes are among the target classes for many of the GCP data sources. For the wider model of classes and reconciliation, see CMDB integration patterns. For the Google Cloud pairing, see the Google Cloud integration guide.

Setting up a connection in SGC Central

SGC Central discovers connectors, installs them, and manages each connection through creating, editing, monitoring and debugging. It appears as a view in the CMDB Workspace and as the Ingestion view of the Service Graph Workspace. Playbooks guide the work in stages, and the Setup stage covers creating and testing the connection, setting configuration properties, and configuring the import schedule. Where a connector has no playbook, its guided setup is the fallback. The GCP guided setup is planned for deprecation, so SGC Central is the route to start from.

Requirement Note
Integration Commons for CMDB and CMDB CI Class Models apps Installed automatically with the connector
ITOM Discovery License plugin (com.snc.itom.discovery.license) Must be activated
ITOM Licensing plugin (com.snc.itom.license) Listed as a dependency
Datastream Action plugin (com.glide.hub.action_type.datastream) Installed automatically
Observability Commons for CMDB (sn_observability) Needed for event ingestion; install before the connector
ITOM Visibility or ITOM Discovery subscription unit Managed resources the connector creates or changes draw on that unit

For the Datadog connector, do not migrate data from an earlier version. Uninstall the previous version and run the new integration.

Each connector adds its own steps. The Datadog connector asks for a connection name, a base address, an API token and an application key, and the default connection keeps its name. A connection test must return Success before the task is marked complete. An optional host filter takes comma-separated key:value tags, so the import can be limited to, for example, hosts tagged for monitoring in production. Each monitor that should send events needs its webhook switched to active. For the Datadog pairing, see the Datadog integration guide.

The Dynatrace SaaS connector targets the third-generation Dynatrace SaaS platform. Managed or legacy environments use the classic Dynatrace connector. The platform token needs storage:entities:read and storage:smartscape:read, and it is entered without a Bearer prefix. When replacing a classic connection, deactivate its scheduled jobs and copy the classic connection alias sys_id into the dynatrace_classic_connection_alias_sys_id connection property of the SaaS connection. Without that value, stale Process CIs are not cleaned up. The cleanup job runs only once, on the next scheduled execution. For the Dynatrace pairing, see the Dynatrace integration guide.

Connection properties that change the result

Property Connector What it controls
Organization Id GCP The GCP organisation the connection reads
Discovery Scope GCP Whether the import runs at organisation or project level
AppScript Folder IDs GCP Folders and their projects left out of the CMDB
Use Record Removal GCP Turns on soft deletion; set to true automatically after the first run
lookback_time_in_days GCP The window used to find records for soft deletion; set to 15 after the first run
aws_account_partition_size AWS How many accounts one parallel thread evaluates
Service-to-service relationships option Dynatrace SaaS Creates upstream and downstream relationships between service CIs
Dynatrace API batch size Dynatrace SaaS Maximum records returned per API request

Scheduled imports, partitions and concurrency

On the Scheduled Data Import form, the key fields are the name, the data source, the transform map or transformer, the run-as user, and the Active checkbox. The run-as field sets the user whose credentials the import job uses, so choose that account deliberately for a production feed. If the field is left blank, the job runs as the guest user. Running multiple imports at the same time can slow the instance or cause an outage, so stagger the schedules.

Large volumes can be split. The concurrent option divides data into several import sets that run in parallel. Transformation then no longer happens in a predictable order, so concurrency suits feeds where order does not matter. Partition methods decide how records are allocated.

Partition method How records are assigned Where it helps
Round Robin The system rotates records across import sets in turn An even spread when no key groups related rows
Custom Script A partition script returns a key; rows with the same key share a set Related rows that must be transformed together
Custom size Each partition holds a fixed number of records Large feeds where early partitions can transform while others run

For AWS, aws_account_partition_size sets how many accounts one parallel thread evaluates for the SG-AWS-Image-Private, SG-AWS-Tags, SG-AWS-SendCommand and AWS-SSM-GetS3Object data sources. As an illustration, a value of 5 across 25 accounts gives five parallel jobs. If the property is unset, Integration Commons for CMDB computes a partition size at runtime.

Keeping the CMDB current with record removal

When a cloud resource is deleted, its CI needs a decision. Soft deletion changes the Install Status to retired and keeps the row, so the record can still be referenced or restored. Hard deletion removes it permanently. The GCP software inventory source uses hard deletion, and the other listed GCP sources use soft deletion.

From version 1.11.0 of the GCP connector, soft deletion reads the Source table. The connector checks the Last Scan attribute of each CI to find items the latest pull did not see, then marks their Install Status and Operational Status as retired. Source native keys now include the connection alias ID, so each CI can be traced to the connection that found it.

The upgrade sequence sets the timeline. After upgrading, Use Record Removal becomes true on the first run, and removal starts from the next run. The lookback value is empty at that point, so the first run considers each record the connection has discovered. Afterwards the value is 15 days, and two weeks after the initial run, any record not discovered in the previous 15 days is marked retired.

Clearing the lookback value widens the scope considerably, because each older record the connector populated becomes a candidate for removal. In our reading, keeping the 15-day window limits removal to records the connector has not seen recently.

Roles and who can change what

Role What it covers
admin Installing and upgrading connectors, creating connections, configuring properties, running background scripts
SGC-admin (sn_cmdb_int_util.sgc_admin) Creating, updating and deleting connections, guided setup, reading and writing connector system properties
CMDB installation administrator (cmdb_inst_admin) Building integrations with IntegrationHub ETL, and managing scheduled imports and data sources
SGC-viewer (sn_cmdb_int_util.sgc_viewer) Monitoring status, import runs, logs and data sources without changing them

Running background scripts is an admin-level task, so any access that allows it deserves the same care as the admin role. For the wider ownership model, see the CMDB roles, responsibilities and RACI guide.

Large imports and the REST response limit

A GCP data source fails when one REST response exceeds 1,024 MB. Two remedies exist and can be combined.

The first is saving responses as attachments, which is on by default. Each response is stored temporarily and deleted once read. The sn_gcp_integ.save_rest_response_as_attachment property controls this, and an administrator can set it to false when payloads are under 10 MB.

The second is adjusting the batch size per data source. The environment maximum is 100 records per data source. The default listed for these custom batch-size properties is 50, so check the value on the instance before setting one. Batch sizes are set through integer system properties such as sg_gcp_cloud_db_batch_size, which an administrator must add because they do not exist by default. Smaller batches shrink each response but lengthen the run.

Does a Service Graph Connector replace ServiceNow Discovery?

No, not in general. A Service Graph Connector can take over a CI class when its source system already holds that class, such as endpoints in an endpoint-management tool. Infrastructure no connected source holds still needs Discovery or another collector. Pick the source for each class, and check the subscription for imported CIs before switching a feed on.

What a connector covers depends on its source system

A connector imports what its source already knows and maps it to CMDB classes. The SCCM connector imports computer, processor, operating-system, disk, network and software data, and it does not write back to the SCCM database. The Intune connector imports mobile devices, computers and software applications. Endpoint inventory is not application dependency mapping, so neither connector should be read as a substitute for it. Being in the connector catalog does not tell you which classes or attributes a connector fills, so read the class list for the version you plan to install.

Discovery still earns its place where inventories stop

Discovery runs under a separate subscription from the rest of the platform, so confirm that subscription before you enable it, and scope it to the infrastructure the inventories miss. Point it at infrastructure the inventories cannot see, such as network devices and hosts no endpoint tool manages. Before the first scan, confirm credentials, reachability, discovery patterns and the MID Server architecture for that scope. Discovery is not mandatory for every CMDB. A design fed by inventories can be valid when those inventories cover the classes you need.

Choosing one source per CI class in a mixed estate

One universal source rarely fits a mixed estate. The working pattern is a source-by-class design, with a source-by-attribute split where an owner lacks a field. In practice:

  1. List the CI classes your service model needs, and mark which connected inventory can populate each one.
  2. Name one owning source per class. Use a second source only for attributes the owner does not hold, and record the split.
  3. Where a class has no inventory source, scope Discovery to that class, including its credentials and reachability.
  4. For OS-related attributes, evaluate ACC-V alongside existing collection. It is an alternative to horizontal IP-based Discovery for those attributes, not a universal replacement.
  5. Compare each source’s refresh cadence with its import schedule, so no class is filled from a stale feed.

Imported CIs can still count toward the subscription

A connector does not avoid subscription exposure. As of November 2026, the Visibility package and the entry-level ITOM Discovery package both count applicable CIs imported through Service Graph Connectors, along with CIs that Discovery finds. Imported does not automatically mean unmetered. Before a production feed goes live:

  • Ask ServiceNow which imported classes the applicable product counts, and get the answer in the quote or entitlement terms.
  • After the first full import, generate the list of countable CIs by ITOM application and compare it with your estimate.
  • Confirm in the entitlement terms which imported records count toward the subscription.

Frequently asked questions

Can I tell which connection discovered a CI?

Source native keys now include the connection alias ID, so each CI can be traced to the connection that found it.

What happens to a CI when the source deletes the resource?

It depends on the data source. For the GCP sources that use soft deletion, the CI is marked retired and kept for reference. The software inventory source removes its records permanently.

Can two imports for the same connector run at once?

Running them together can slow the instance or cause an outage, so stagger the schedules. If volume is the reason for overlap, split the work with partitioning inside a single import instead.

Should I move data from an older connector version?

For the Datadog connector, no. Uninstall the earlier version and run the new integration rather than migrating its data.