PagerDuty

Notify team members through PagerDuty when critical incidents occur.

Supported VersionsTypeAuthentication Type
SaaS DeploymentsAPIOrg Bearer Token

Use BigPanda to create incidents in PagerDuty, based on high-level incidents that are intelligently grouped from multiple alerts. Save time, reduce mistakes, and ensure your entire team has a real-time view of what's happening with BigPanda.

The integration works by using the PagerDuty Events API to create incidents in PagerDuty. Once incidents are created an integration on the relevant PagerDuty service is used to send any updates from PagerDuty back to BigPanda via a webhook call. Updates from BigPanda to PagerDuty once again use the PagerDuty Events API as well as the PagerDuty REST API.

Key Features

  • Triggers PagerDuty Incidents: By sharing intelligently correlated alerts from BigPanda you can trigger new PagerDuty incidents.
  • Resolve in Either System: By resolving an incident in either BigPanda or PagerDuty the related incidents will be resolved in both systems.
  • Bi-directional Comment Synchronization: When adding a comment to a shared incident in BigPanda or a note in PagerDuty it will be added in both systems.

👍

Standard AutoShare Rules

This integration follows standard AutoShare rules. See the Sharing Rules documentation for more information.

Install the Integration

Create an App Key

Create an app key in BigPanda.

👍

Integration specific

You'll need a separate app key for each integrated system.

App Key Configuration in BigPanda

App Key Configuration in BigPanda

Create an Integration in PagerDuty

  1. Go to Services > Services Directory.
  2. Select the service you wish to add the BigPanda integration to.
  3. In the service details page, from the Integrations tab, click + Add an Integration.
  4. Select the Events API v2 tile from the Integrations selection screen. (Note, do not use the BigPanda or API v1 options that may appear in the search bar)
  5. Click Add Integration to save. You will be redirected to the Integrations page for your service.
  6. Click the cog wheel to open the integration settings.
  7. Copy the Integration Key. You’ll need it in the BigPanda Webhook Configuration step.

Create an API Key in PagerDuty

  1. In PagerDuty, navigate to API Key management.
  2. Create a generic API Key. This API key should be tied to a tool or service, not a user.
  3. Copy the key. You need the key for both the PagerDuty Webhook and BigPanda Webhook Configuration steps

Create a Webhook in PagerDuty

  1. From the top menu go to Integrations > Generic Webhook (v3) or from within the service go to Integrations > Manage Webhooks

  2. Click +New Webhook.

  3. Use the following information to set up the Webhook:

    • Name: Appropriate name such as “BigPanda Webhook”
    • Webhook URL: Enter the URL https://integrations.bigpanda.io/latest/pagerduty/webhook?token=<Your Org Bearer Token>
    • Description: Appropriate description of the webhook.
    • Scope Type: The type is Service.
    • Scope: Select the service that this webhook should trigger on.
    • Webhook Status: Click to enable.
    • Events Subscription: Select the events you want to enable. BigPanda only support incident events, service events will be ignored.
  4. Click Add Custom Headers.

  5. Set x-bp-config-pdtoken with the API User Token saved in the Create an API key in PagerDuty step.

  6. Click Save Changes

BigPanda Setup

  1. x-bp-config-pdkey: Enter the Integration key created during Create an Integration in Pagerduty step.
  2. Add a custom header with the header key x-bp-config-pdtoken: Enter the API key created in the Create an API Key in PagerDuty step as the value.
  3. Click Configure Webhook.
Webhook Builder

Webhook Builder

Test the integration

You are now ready to share incidents to PagerDuty.

When you share to PagerDuty, the integration will return a comment on the incident with the PagerDuty ticket link. If the comment does not appear, you may need to troubleshoot the installation steps.

Note: If you want to share to other services or escalation policies, you can create another PagerDuty integration with a different system name.

Advanced Configuration

The integration can override the default PagerDuty integration key for specific alerts as well as map BigPanda Tags to PagerDuty fields.

Override a PagerDuty Integration Key

To override the default PagerDuty integration key for specific alerts you need to add a custom header that indicates which BigPanda Alert Tag contains the new integration key.

  1. From the BigPanda integrations tab select your PagerDuty integration.

  2. Click Review Instructions.

  3. In the Connect BigPanda to PagerDuty step add a new custom header to the list.

    Header KeyHeader Value
    x-bp-config-pdfieldNew Integration key
  4. Click Configure Webhook to save the header.

Map BigPanda Tags to PagerDuty Fields

To map BigPanda tags to specific PagerDuty fields you need to add a custom header that specifies the mapping.

  1. From the BigPanda Integrations tab, select your PagerDuty integration.
  2. Click Review Instructions.
  3. In the Connect BigPanda to PagerDuty step add a new custom header to the list with tag-name as the name of the BigPanda tag and pagerduty-field-name as the name of the PagerDuty field.
Header KeyHeader Value
x-bp-field-<tag-name>
  1. Repeat step #3 for all your tag to field mappings.
  2. Click Configure Webhook to save the header.

Test the integration

You are now ready to share incidents to PagerDuty.

When you share to PagerDuty, the integration will return a comment on the incident with the PagerDuty ticket link. If the comment does not appear, you may need to troubleshoot the installation steps.

Note: If you want to share to other services or escalation policies, you can create another PagerDuty integration with a different system name.

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.

Stop Sending Data from BigPanda

In BigPanda, disable any settings that send data to the integrated system. This includes modifying or removing AutoShare rules or Environments that are tied to the integration.

  1. In PagerDuty, navigate to Configuration > Services.
  2. Select the service with the BigPanda Integration configured.
  3. From the Integrations tab click the settings gear icon and select Delete.

If you have configured an API Key, remove the key from PagerDuty.

  1. In PagerDuty, navigate to Configuration > API Access.
  2. Locate the API Key created for the BigPanda integration and select Delete, confirming when prompted.

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.

❗️

️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.

Release Notes

v2.1.8 (Feb 2, 2024)

  • Updated Splunk's Add-On Builder to 4.1.4
  • Updated the configuration api_url placeholder to point to the oim endpoint

v2 (4/4/22)

  • Added Webhook3 Support