10

I have AWS CloudWatch hooked up with PagerDuty. Whenever an alert goes out, it goes to PagerDuty, which then sends us a message in Slack. The problem is, this is what it shows in the chat:

Triggered #3362: Maximum CPUUtilization of 53.6 GreaterThanOrEqualToThreshold 50.0 for InstanceId i-xxxxxxxxx

That's about as useful as a rock. There's no way I could interpret the instance ID, nor should I have to read all that stuff at a glance and figure out what's wrong.

How can I change the incident name that gets generated on PagerDuty, or is this something that can be done in CloudWatch, or am I hosed?

Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
Tam N.
  • 201
  • 1
  • 3

3 Answers3

6

Within the CloudWatch integration in PagerDuty, you can change the "Derive name from" field to something like "Alarm Description".

Clark Ritchie
  • 61
  • 1
  • 3
1

Based on the PagerDuty documentation on Cloudwatch, it doesn't look like it's configurable:

https://www.pagerduty.com/docs/guides/aws-cloudwatch-integration-guide/

Travis Thompson
  • 404
  • 4
  • 10
0

The problem is with the default configuration of PageDuty's Cloudwatch integration. You can change the integration settings so that the name of the alert that shows up in CloudWatch is what also appears in PagerDuty.

  1. In PagerDuty go to Integrations > Service Integrations
  2. For each service integration click on More > View Integrations >Amazon CloudWatch (Gear icon) > Edit Integration
  3. Change Derive name from from Default to Alarm Name
  4. Save changes

Stephen Ostermiller
  • 392
  • 1
  • 3
  • 13