Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

What does the integration offer?

Use the Amazon Route 53 Health Check Integration to forward Amazon Route 53 Health Check alerts to Compass. Compass determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalates alerts until they are acknowledged or closed.

How does the integration work?

When an alert is created in Amazon Route 53 Health Check, an alert is automatically created in Compass through the integration.

Set up the integration

Amazon Route 53 is an API-based integration. Setting it up involves the following steps:

  • Add an Amazon Route 53 integration in Compass

  • Configure the integration in Amazon Route 53

Add an Amazon Route 53 Health Check integration

Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.

If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add an Amazon Route 53 Health Check integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Amazon Route 53 Health Check”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL, which includes Compass endpoint and the API key. You will use this URL while configuring the integration in Amazon Route 53 Health Check later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Amazon Route 53 Health Check

To configure the integration in Amazon Route 53 Health Check, complete the following steps:

  1. Create an SNS topic. Find out how to get started with Amazon SNS.

  2. Add an HTTPS subscription to your topic with the integration URL you previously copied from Compass as the endpoint. If the configuration is successful, a confirmation alert is created in Compass. Find out how to add an HTTPS subscription.

  3. Configure a health check to send notifications to the SNS topic you created.

    1. For Create alarm, select Yes.

    2. For Send Notification to, select Existing SNS Topic and select the SNS topic that you created.

    3. Select Create health check.
      Read more about monitoring health check status and getting notifications.

  4. On the Get notified when health check fails window, do the following:

    1. Select Yes and Send Notification to Existing Topic.

    2. Select the topic created for Compass.

    3. Select Create Health Check.

Sample Webhook Message from Amazon Route 53 Health Check plugin

(in JSON format)

{
  "Type" : "Notification",
  "MessageId" : "fa97d391-ae96-585b-97dc-830e0d4935e9",
  "TopicArn" : "arn:aws:sns:us-east-1:72918xxxxxxx:test-sns-for-route53",
  "Subject" : "ALARM: \"try2-awsroute53-23065a3c-3d3d-467f-8930-xxxxxx-Low-Health...\" in US East - N. Virginia",
  "Message" : "{\"AlarmName\":\"try2-awsroute53-23065a3c-3d3d-xxxx-x0-82cbb897a5ab-Low-HealthCheckStatus\",\"AlarmDescription\":null,\"AWSAccountId\":\"729181xxxxxx\",\"NewStateValue\":\"ALARM\",\"NewStateReason\":\"Threshold Crossed: 1 datapoint (0.0) was less than the threshold (1.0).\",\"StateChangeTime\":\"2016-11-11T10:46:55.660+0000\",\"Region\":\"US East - N. Virginia\",\"OldStateValue\":\"INSUFFICIENT_DATA\",\"Trigger\":{\"MetricName\":\"HealthCheckStatus\",\"Namespace\":\"AWS/Route53\",\"Statistic\":\"MINIMUM\",\"Unit\":null,\"Dimensions\":[{\"name\":\"HealthCheckId\",\"value\":\"23065a3c-xxxx-467f-8930-82cbb897a5ab\"}],\"Period\":60,\"EvaluationPeriods\":1,\"ComparisonOperator\":\"LessThanThreshold\",\"Threshold\":1.0}}",
  "Timestamp" : "2016-11-11T10:46:55.762Z",
  "SignatureVersion" : "1",
  "Signature" : "YuaEzc4ZGxWI68sBukJ0+Bn5NpI2uLpKJwmVU5uhj7+xxxxS+YprbcNH0fT22QyzxCt5oyouFMJO860ULeV8KNd0GZjJhg6xukxiXQJk3pTe9ecvqRDQVsTnVOZUII9+ITZNEFgsQ3mIZXElb8hhJixnPZJEVYSutqyDtA807HS9LSL5aLrnNCOBzqAx493phcf6b60DeyX2+m1N8WAjclDTC6UwJwaIRX+5OHnfi2+xxxxxxxxxxxxxHRcgaj2XLhe5jApIHp5L8QnVGhBpopJ56gNytvCj7/5FWg==",
  "SigningCertURL" : "https://sns.us-east-1.amazonaws.com/SimpleNotificationService-b95095bebxxxxxafc7f4149a.pem",
  "UnsubscribeURL" : "https://sns.us-east-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-east-1:72918xxxxxx:test-sns-for-route53:d6533783-f9a2-xxxxxd2-3bcedd92a8ec"
}

Payload parsed by Compass

(in JSON format)

{
  "Type" : "Notification",
  "MessageId" : "fa97d391-ae96-xxxxx-830e0d4935e9",
  "TopicArn" : "arn:aws:sns:us-east-1:72918xxxxxx:test-sns-for-route53",
  "Subject" : "ALARM: \"try2-awsroute53-23065a3c-3xxxxx4xxx-82cbb897a5ab-Low-Health...\" in US East - N. Virginia",
  "AlarmName" : "try2-awsroute53-23065a3c-3d3d-467xxxxxxxx-Low-HealthCheckStatus",
  "AlarmDescription" : null,
  "AWSAccountID" : "72918xxxxxx",
  "NewStateValue" : "ALARM",
  "NewStateReason" : "Threshold Crossed: 1 datapoint (0.0) was less than the threshold (1.0).",
  "StateChangeTime" : "2016-11-11T10:46:55.660+0000",
  "Region" : "US East - N. Virginia",
  "OldStateValue" : "INSUFFICIENT_DATA"
}
  • No labels