ServiceNow Maintenance Plans

The ServiceNow Maintenance Plan Integration allows the identification of infrastructure changes to reduce noise during maintenance windows.

ServiceNow Maintenance Plans enable you to silence specific events during maintenance windows for planned changes or outages.

The BigPanda ServiceNow Maintenance Plan integration has two independent methods to automatically generate a BigPanda maintenance plan using the BigPanda Maintenance Plan V2 API. The first method uses ServiceNow Change Requests and the second uses ServiceNow Outage Records as the source of a maintenance plan. Both methods have a separate configuration section and can be used individually or in combination.

Supported Versions

BigPanda Integration VersionServiceNow VersionsAuthentication Type
v2.8+Xanadu, Washington, Vancouver, Utah, Tokyo, San Diego, Rome, Quebec, Paris, Orlando, New York, Madrid, London, Kingston, Jakarta, IstanbulAPI Key and Bearer Token
v2.3-2.7Washington, Vancouver, Utah, Tokyo, San Diego, Rome, Quebec, Paris, Orlando, New York, Madrid, London, Kingston, Jakarta, IstanbulAPI Key and Bearer Token
<v2.3Quebec, Paris, Orlando, New York, Madrid, London, Kingston, Jakarta, IstanbulAPI Key and Bearer Token

Key Features

  • Suppress alerts from infrastructure undergoing maintenance and/or outage events
  • Use ServiceNow encoded queries to filter which changes generate a maintenance plan
  • Define which change states generate a plan
  • Optionally include task data, with optional filtering
  • Specify tag names to match against affected configuration items, supporting exact and wildcard matches.
  • Map classes to BigPanda maintenance conditions

Install the Integration

Administrators can install the integration by following the ServiceNow Installation instructions and then the steps below.

Configure common fields

  1. In the ServiceNow application, navigate to BigPanda > Configuration.

  2. In the General section, the following fields are required to enable Maintenance Plans.

    FieldDescription
    Bearer TokenEnter the BigPanda organization key here.
    API KeyEnter the BigPanda API key here.

    📘

    Only Authorization

    No other General section fields are required for Maintenance Plans to function.

  3. Configure the Common Maintenance Plan Section

    FieldDescription
    Maintenance EndpointURL to send maintenance plans
  4. Configure the Maintenance Plan Section for Change Request and/or Outage based maintenance plans

    ❗️

    Save Frequently

    Make sure to Save Configuration as you complete sections.

Configure the Change Request-based Integration

❗️

Parent or Task

Payloads must be configured to send either Parent Changes with no tasks or Change Tasks

FieldDescriptionExample
ActiveA toggle to enable Change Request based Maintenance Plans for your integration
Change FilterOptional ServiceNow Encoded Query to filter which changes generate a maintenance plan.
Include Task DataCheckbox to include Task Data in plan.
If this box is checked, you must use the planned_start_date and planned_end_date format for start and end times.
Task FilterOptional ServiceNow Encoded Query to filter which Tasks are included in plan.
Task Cancel StatesComma delimited list of states that represent a canceled task.
Change StatesComma delimited list of all change states that will trigger a maintenance plan.Scheduled, Work in Progress, Closed Incomplete
Stop StatesComma delimited list of change states that represent a stopped change.Closed Complete
Cancel StatesComma delimited list of change states that represent a canceled change.Rolled Back
Start Field NameThe field name for the planned start of change.If parent change: start_date
If change task: planned_start_date
End Field NameThe field name for the planned end of change.If parent change: end_date
If change task: planned_end_date
Affected CIs Table NameTable name to query for Affected Configuration Items.task_ci
Affected CIs QueryQuery performed on Affected CIs Table.task
NameTag name to match affected CIs
DefaultCheckbox to indicate this Tag is a default tag
ExactCheckbox to indicate this Tag is to be matched exactly (unchecked will match if Tag Name is found within affected CI, ie host-01 would match a tag name host)
ClassClass to map to maintenance condition
Maintenance ConditionsMaintenance conditions that map to class

Configure the Outage-based Integration

You are able to mark certain Configuration Items as Under Maintenance during an outage to suppress alerts and reduce the administration and ticket volume during outage periods. The following section explains how to configure the BigPanda integration to use the cmdb_ci_outage table to create Maintenance Plans.

FieldDescriptionExample
ActiveCheck the active toggle to enable Outage-based Maintenance Plans for your integration
Outage FilterOptional ServiceNow Encoded Query to filter which outages generate a maintenance plan.active=true or install_status=1
Default End TimeThe default number of hours for an outage-based maintenance period. Used only until an actual end time is sent.2
NameWhich BigPanda tags will map to the Configuration Item field in the BigPanda Maintenance Plan
DefaultDesignate this Tag as a default tag. If the affected CI belongs to a class that isn't associated with a tag name above, this tag will apply.
If no class mappings are configured, it is best practice to set all tags as default.
ExactCheckbox to indicate this Tag is to be matched exactly (unchecked will match if Tag Name is found within affected CI, ie host-01 would match a tag name host)
ClassIf using ServiceNow Classes, this defines which mappings to apply to the current affected CIapp_name, host, associated_apps
Maintenance ConditionsMaintenance conditions that map to class

Example Configuration

Here’s an example with some data in the task_ci table and how these would map to maintenance plans in BigPanda given the configuration settings below.

Example task_ci Table

Example task_ci Table

Example Table Mapping

Example Table Mapping

The ANNIE-IBM Configuration Item would use the following BPQL because it is of the Computer class: device="ANNIE-IBM"

The Blackberry Configuration Item would use the following BPQL because it is of the Business Service class: host="_Blackberry_" OR device="Blackberry"

The “bondtrade_aus Configuration Item would use the following BPQL because it is of the Database class (and uses the default class mapping): host="_bond_trade_aus"

Uninstall the Integration

Deleting an integration requires that you remove the integration in both the integrated system and BigPanda. We recommend that you first uninstall the integration on the integrated system to prevent traffic from being sent and rejected by BigPanda, since the app_key will not exist once you delete the integration in BigPanda.

❗️

Caution During Replacement

When replacing an existing integration with a new tool or system, we recommend configuring the new integration first to ensure no data is lost.

Disable the Integration

You can stop sending change data to BigPanda but preserve your configuration settings by disabling the integration in ServiceNow.

  1. In the ServiceNow application, navigate to BigPanda > Configuration.
  2. In the Incidents, Alert Processing - Add On, or Maintenance Plan section, de-select the Active checkbox
  3. Save the configuration

Stop sending data to BigPanda

Disable any settings that send data to BigPanda.

Within ServiceNow, navigate to System Applications > Applications.

  1. Click on the BigPanda app.
  2. Select the module you wish to delete and click the related Uninstall link.
  3. Click OK.
  4. Confirm when the dialogue box appears.

❗️

Process will Vary

Coordinate with your system architects to ensure that any changes to your ServiceNow integration follows your organizational processes and policies. If you have questions about downstream impacts within BigPanda, please reach out to your account team.

Delete the Integration in BigPanda

Take the following steps to delete the integration from BigPanda:

  1. In BigPanda, navigate to the Integrations tab and select the desired integration from the list.
  2. In the integration details on the right of the page, click the trash icon, then confirm you want to delete the integration. The integration will be removed immediately.

❗️

No Data Removal

This procedure does not remove any data from BigPanda or the integrated system. As needed, remove data from each system before deleting the integration.