Set up push notifications from Dynatrace

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:4分
  • Set up push notifications of events from Dynatrace into a ServiceNow instance that has the Service Graph Connector for Observability - Dynatrace installed.

    始める前に

    If you don't have an alerting profile in Dynatrace, then complete the following steps to create one:
    1. Navigate to Settings > Alerting > Alerting Profiles.
    2. Set up an alerting profile according to your business needs.
      注:
      For more information about how to set up an alerting profile, see Alerting profiles on the Dynatrace documentation site.

    You must have Observability Commons for CMDB installed.

    Role required: admin

    手順

    1. In the Dynatrace instance, navigate to Settings > Integration > Problem notifications.
    2. Click Add Notification.
    3. On the form, fill in the fields.
      Field Value
      Notification Type Custom Integration
      Display Name Name of the notification
      Webhook URL Use the following URL: https://<name_of_your_servicenow_instance_name> /api/sn_em_connector/em/inbound_event?source=SGO-Dynatrace
      Additional HTTP Headers > Create basic authorization
      1. In the ServiceNow instance, set a password for the pre-created Dynatrace API user by doing the following:
        1. Navigate to System Security > Users.
        2. Select the Dynatrace API user.
        3. Set the Password field with a new password.
        4. Clear the Password needs reset check box.
        5. Update or save the user.
      2. Set the Username field to DynatraceAPI.
      3. Set the Password field to the password that you had created.
      4. Click Add.
      Custom Payload Use the following payload:
      { 
        "connectionId": <connections_alias_sys_id>,
        "ImpactedEntities": {ImpactedEntities}, 
        "ImpactedEntity": "{ImpactedEntity}", 
        "PID": "{PID}", 
        "ProblemDetailsHTML": "{ProblemDetailsHTML}", 
        "ProblemDetailsJSONv2": {ProblemDetailsJSONv2},  
        "ProblemDetailsMarkdown": "{ProblemDetailsMarkdown}", 
        "ProblemDetailsText": "{ProblemDetailsText}", 
        "ProblemID": "{ProblemID}", 
        "ProblemImpact": "{ProblemImpact}", 
        "ProblemSeverity": "{ProblemSeverity}", 
        "ProblemTitle": "{ProblemTitle}", 
        "ProblemURL": "{ProblemURL}", 
        "State": "{State}", 
        "Tags": "{Tags}" 
      }
      注:
      For the <connections_alias_sys_id>:
      1. Navigate to All > IntegrationHub > Connection & Credentials > Connection & Credential Aliases.
      2. Select to open the connector for which you want to get the <connections_alias_sys_id>.
        Dynatrace connection aliases list.
      3. Right-click the context menu (menu icon) and then select Copy sys_id.
        sys_id of the connection.
      Alerting Profile Select the alerting profile created in the Before you begin section or another alerting profile.
      Sending Test Notifications Click to send a test notification, and verify that the response status is 200.