Pull in data from Datadog into your Configuration Management Database (CMDB).
Antes de Iniciar
To use this Service Graph Connector, you need a subscription to a Subscription Unit that is based in the IT Operations Management (ITOM) Visibility application or in the ITOM Discovery application. As defined in the section titled "Managed IT Resource Types" in ServiceNow Subscription Unit Overview for your subscription, for managed IT resources that are created or modified in the CMDB by this Service Graph Connector, but that aren’t yet managed by ITOM Visibility or ITOM Discovery, these resources will increase Subscription Unit consumption from that application. Review your current Subscription Unit consumption within ITOM
Visibility or ITOM Discovery to ensure available capacity.
Dependencies and requirements:
Nota: If you have an earlier version of the Service Graph Connector for Observability - Datadog, then don’t migrate data from the old connector. You must uninstall the previous version and run the new integration.
Role required: admin
Role required: SGC-Admin (sn_cmdb_int_util.sgc_admin) or admin
Nota: The admin user role is required to run background scripts and to provide access to global tables to the SGC-Admin user. For
information about the user roles for
Service Graph Connectors, see
Service Graph Connector user roles.
Procedimento
-
Navigate to .
-
On the Getting started page, select Get Started.
-
Configure the authentication credentials and the host name to send requests to the Datadog API.
-
Configure your Datadog credentials.
- In the Configure the Connection section of the Datadog Integration with CMDB page, select Get Started.
- For the Configure the Credentials task, select Configure.
- In the NameConnection name field, enter a name for the authenticationconnection.
For example, Datadog credentials.
Nota: Do not modify the name of the default connection.
- In the Connection URL field, enter the base URL or IP address for Datadog.
- In the API key field, enter the Datadog API token.
- In the Authentication KeyApplication key field, enter the authentication keyapplication key used for connecting to the Datadog API.
- Select Update.
- Set the Configure the Credentials task to complete by selecting Mark as Complete.
-
Test the connection.
- For the Test Connection task, select Configure.
- Test the connection by selecting the Test Connection related link.
Testing the connection might take a few moments. The page is refreshed to show the test results.
- When the Status field is set to Success, select Update.
If any of the tests have errors, follow the suggestions for remediation.
- Set the Test Connection task to complete by selecting Mark as complete.
- Opcional:
Add a filter for the SGO-Datadog Hosts [sn_datadog_integra_datadog_hosts] data source.
- For the Create Hosts Filter task, select Configure.
- Enter a comma-separated list of host tags in
key:value format in the Value field to define a filter for pulling host data from Datadog.For example, datadog:monitored,env:production.
- Select Update.
- Set the Create Hosts Filter task to complete by selecting Mark as complete.
-
Configure the Datadog connection settings.
- In the Configure the Connection section of the Datadog Integration with CMDB page, select Continue.
- For the Configure the Connection task, select Configure.
- Review the fields and in the Host field, enter the Datadog base URL or IP address.
- Update the Protocol field if you’re using anything other than https.
- Leave the Base path field as is.
- Click Update.
- Set the Configure the Connection task to complete by clicking Mark as Complete.
For more information about the Datadog API, see the Datadog Developer documentation.
-
Configure a user account for the Datadog and CMDB integration.
-
Create the Datadog
CMDB integration user account by completing the User form.
- In the Datadog CMDB integration user account section of the Datadog Integration with CMDB page, select Get Started.
- For the Create a Datadog CMDB integration user task, select Configure.
- Review the fields on the User form, enter the Datadog
CMDB integration user account details, and set a password for the user account.
- Click Update.
- Set the Create a Datadog CMDB integration user task to complete by clicking Mark as Complete.
-
Assign the cmdb_import_api_admin role to the Datadog
CMDB integration user.
- In the Datadog CMDB integration user account section of the Datadog Integration with CMDB page, select Continue.
- For the Assign role to the Datadog CMDB user task, select Configure.
- In the User ID column of the Users list, select the Datadog
CMDB integration user ID you created in the earlier step 4.a.
- In the Roles related list, click Edit.
- On the Edit Members form, move the cmdb_import_api_admin role from the available roles in the Collection column to the Roles List column.
- Click Save.
- Click Update.
- Set the Assign role to the Datadog CMDB user task to complete by clicking Mark as Complete.
Ensure the custom model categories are mapped to predefined categories for proper
synchronization.
-
Configure the ServiceNow tile on Datadog and enable the Datadog
CMDB integration.
-
Configure the ServiceNow tile on Datadog.
- Log in to your Datadog account.
- Select the Integrations tab.
- Search for and select the ServiceNow tile.
- Add the ServiceNow instance name in the format https://<instance name>.service-now.com/.
- Add the name and password for the Datadog
CMDB integration user account and click Submit.
For more information, see the Datadog documentation.
Nota: After you have configured the ServiceNow tile on Datadog, in the guided setup for Service Graph Connector for Observability - Datadog, go to the Configure Datadog tile and enable integration section of the Datadog Integration with CMDB page and set the Configure the ServiceNow tile in Datadog task to complete by clicking Mark as Complete.
-
Enable the Datadog
CMDB integration on your ServiceNow instance.
- In the Configure Datadog tile and enable integration section of the Datadog Integration with CMDB page, select Continue.
- For the Enable the integration on ServiceNow task, select Configure.
- On the System Property form, fill in the fields to create the sn_datadog_integra.datadog_enabled system property and set its value to true.
For more information, see Add a system property.
- Click Submit.
- Set the Enable the integration on ServiceNow task to complete by clicking Mark as Complete.
-
Configure the webhook and monitors for Observability Datadog.
-
In the Configure Observability section of the Datadog Integration with CMDB page, select Get started.
-
For the Configure the Webhooks and Monitors task, select Configure.
-
In the Datadog Webhooks list, select New to add a Datadog webhook.
-
Fill in the fields.
-
Select Submit.
-
Populate the Datadog Webhooks list by selecting the Synchronize Monitors related link on the Datadog Webhook page.
Nota: In the Datadog Webhooks list, don't select New to add a monitor as this option is not used in this scenario.
-
In the Name column of the Datadog Webhooks list, select a monitor.
-
On the Datadog Monitors page, select the Webhook Active check box, and then select Update.
-
Repeat steps 6.g and 6.h for all the monitors in the Datadog Webhooks list.
-
On the Datadog Webhook page, select Update to save your changes.
-
Set the Configure the Webhooks and Monitors task to complete by selecting Mark as Complete.
-
Set up scheduled import jobs.
-
Navigate to .
-
Select the name of the scheduled import that you want to activate.
-
On the Scheduled Data Import form, verify the field values for the scheduled job and select the Active check box.
-
Select Update.