| copyright |
|
||
|---|---|---|---|
| lastupdated | 2023-10-10 | ||
| keywords | event-notifications, event notifications, destinations, pagerduty | ||
| subcollection | event-notifications |
{{site.data.keyword.attribute-definition-list}}
{: #en-destinations-pagerduty}
PagerDuty empowers users and organizations to prevent and resolve business-impacting incidents for exceptional customer experience. PagerDuty helps organizations with the insight to proactively manage events that may impact customers across their IT environment. {: shortdesc}
When you select PagerDuty as service destination, any subscribed notification about an event can be sent as an alert to PagerDuty channels.
{: #en-pd-generate-routing-key}
To integrate your PagerDuty service to {{site.data.keyword.en_short}} service destination, you need to generate a PagerDuty routing key. To generate a PagerDuty routing key, follow these steps: Generate a new Integration Key{: external}.
If you already integrated EventsV2 api with your PagerDuty service, jump to service directory, select More and select View Integrations. You will find the Integration key inside this view. {: note}
{: #en-pd-configure-destination}
You can configure a PagerDuty destination in the Destinations tab.
To configure a PagerDuty destination, do the following steps:
-
From your {{site.data.keyword.en_short}} instance dashboard, click Destinations.
-
Click Add + to add new destination.
-
In the Add a destination side panel, provide the following details.
- Name - Enter a name for your destination.
- Description - Optionally, enter a description for your destination.
- Type - Under Destination, for the Type, select Pagerduty from the drop-down as your destination type.
- Routing key - Enter the routing key generated earlier.
-
Click Add.
{: #en-pd-retry}
{{site.data.keyword.en_short}} supports only alert event of Pagerduty. For more information, see here{: external}.
| {{site.data.keyword.en_short}} field | PagerDuty field | Supported |
|---|---|---|
routing_key (Destination Config) |
routing_key |
Yes |
trigger (default) |
event_action |
Partial |
ibmendefaultlong |
payload.summary |
Yes |
critical - HIGH, error - MEDIUM, warning - LOW, info - INFO, Default Severity - LOW |
payload.severity |
Yes |
time (cloud events) |
payload.timestamp |
Yes |
data |
payload.custom_details |
Yes |
source |
payload.source |
Yes |
| NA | dedup_key |
No |
| NA | payload.component |
No |
| NA | payload.group |
No |
| NA | payload.class |
No |
| NA | images |
No |
| NA | links |
No |
| {: caption="Supported PagerDuty alert events" caption-side="bottom"} |
| {{site.data.keyword.en_short}} severity | PagerDuty severity |
|---|---|
| Critical | Critical |
| High | Error |
| Medium | Warning |
| Low | Info |
| Anything Else | Info |
| {: caption="{{site.data.keyword.en_short}} severity to PagerDuty severity mapping" caption-side="bottom"} |
{: #en-pd-test-destination}
You can test a PagerDuty destination in the options menu provided against the destination. You can effortlessly test a destination, whether the provided configuration is correct or not with a single click.
For more information on testing a destination, see Testing Destinations.
{: #en-pd-retry-policy}
When sending notifications to PagerDuty, issues such as network errors and application glitches can cause the requests to fail. {{site.data.keyword.en_short}} automatically retries failed requests to provide resiliency.
For detailed information about retry behavior, including retry attempts, delays, and timeout values, see Retry policy for destinations.