Incident Management

ThousandEyes supports routing alert notifications directly into ServiceNow Incident Management Services - a solution for streamlining the logging, classification, assignment, escalation, and reporting of incidents. The following guide describes the process of configuring ServiceNow and ThousandEyes alert rules to send alert notifications directly into the ServiceNow platform.

If you are looking instead to ingest ThousandEyes alert notifications directly into ServiceNow Event Management, see Event Management.

Overview

The ThousandEyes platform can notify users whenever their test results trigger an alert rule. Alert rules allow configuring various methods of alert notification delivery. One of the supported methods is direct notification delivery into a ServiceNow account. Once the notification is delivered, ServiceNow processes it and allocates tasks based upon pre-defined workflows.

To route alert notifications directly into ServiceNow, the following needs to be properly configured:

  • A ServiceNow integration created.

  • Alert rules associated with ServiceNow integration.

  • ThousandEyes tests associated with alert rules.

The content below will guide you through the process of configuring both, ServiceNow and ThousandEyes. In the end, an alert triggered in ThousandEyes will cause a new incident to be generated within your ServiceNow account instantly. This process should streamline the handling of ThousandEyes-reported events, aligning it with your existing (ServiceNow-based) workflow.

Supported ServiceNow Releases

ThousandEyes support for a ServiceNow release family stops on the same date when ServiceNow declares a release EOL (end-of-life). However, despite the ServiceNow release reaching EOL, ThousandEyes alert integrations should continue to work. If you have support questions, contact the ThousandEyes Customer Engineering Team.

If your ServiceNow release is not listed as supported by ThousandEyes in the table below, use Custom Webhooks instead of the ServiceNow integration.

ServiceNow Release

Supported by ThousandEyes

Utah

Supported

Vancouver

Supported

Washington DC

Supported

ServiceNow Configuration

To be able to receive ThousandEyes alert notifications directly, ServiceNow must first be configured to allow it.

The following instructions assume that the ServiceNow Service Management Portal is activated.

Configure OAuth Authentication

In these steps you create the OAuth Application Registry for external API endpoints:

  1. Select System Oauth > Application Registry from the All tab.

  1. Click New in the Application Registry page.

  1. Click Create an OAuth API endpoint for external clients.

  1. Take a copy of the generated Client ID and Client Secret.

    • This value will be used when configuring ThousandEyes' ServiceNow integration in the next section.

  1. Unlock the Redirect URL field and assign the following value: https://app.thousandeyes.com/namespace/integrations/AuthCallbackPage.html.

    Note: Access and refresh tokens require manual re-configuration once their lifespans have been exceeded. Token lifespan should be configured as 8640000 (max value allowed, equal to 100 days).

Creating a ServiceNow Integration Within ThousandEyes

A ServiceNow integration must be created before being assigned to alert rules.

  1. Start by selecting Integrations within the menu pane.

  2. Click + New Integration.

  3. Select ServiceNow Alert Notifications.

Configure ServiceNow Integration Settings

Within the dialog box, you can configure the following fields:

  • Type: Make sure "ServiceNow" is selected.

  • Name: Select a name for your ServiceNow integration.

  • ServiceNow URL: The ServiceNow endpoint to which ThousandEyes will send notifications.

    • ServiceNow URL format: https://<instance-name>.service-now.com

  • Auth URL: The ServiceNow endpoint to which ThousandEyes will authenticate, via OAuth, prior to submitting notifications.

    • Auth URL format: https://<instance-name>.service-now.com/oauth_auth.do

  • Client ID: The identifier which ThousandEyes will use when authenticating to ServiceNow.

Obtain a ServiceNow Authentication Token

Once the fields in the previous step are configured, retrieval of an authentication token is required. ThousandEyes will retrieve and store the authentication token to be used when notifying ServiceNow of alerts. This step will need to be repeated whenever the token expires.

  1. Click the Get Token button.

    • You should be redirected to the ServiceNow Authorization screen.

  2. Click on Allow to proceed.

Test Your Integration

The Test button is provided to verify the correctness of your integration setup. Click it to send a test notification using your new integration. A new incident should be generated in your ServiceNow account.

Assigning ServiceNow Integrations to Alert Rules

Once created, ServiceNow integration can be assigned to any alert rule by opening the rule's Notifications settings and selecting your new integration from the drop-down list:

  1. Navigate to the Integrations section of the desired alert rule's Notifications configuration tab.

  2. Select the desired ServiceNow integration from the drop-down.

  3. Click Save Changes.

Here are some additional details to be aware of:

  • Integrations are available on an account group basis. An integration can be used by multiple alert rules in an account group.

  • Notification preferences are configured per alert rule. Assign your new ServiceNow integration to all alert rules that require it.

  • Integrations cannot shared between account group so must be created per account group.

  • Multiple integrations may use the same ServiceNow endpoint and authentication token.

ServiceNow Alert Management

Upon receiving a new notification from the ThousandEyes platform, ServiceNow will create a corresponding incident:

The following fields are mapped upon creation of a new incident:

  • State: Set to New when an alert is triggered and Resolved when the alert is cleared.

  • Urgency: Set to Medium.

  • Category: Set to Network.

  • Short Description: "ThousandEyes Alert triggered for Test: <Test Name>".

  • Description: This field contains alert details including alert rule name and number of agents affected.

The following resources provide additional information:

Last updated