1. Home
  2. Integrations
  3. CloudWatch Integration Guide – VictorOps

CloudWatch Integration Guide – VictorOps

Our CloudWatch integration allows you to send alerts from Amazon’s SNS into VictorOps. This guide assumes that you’ve already setup CloudWatch to send alarms to a queue in SNS, and that you’re receiving them through some other means, such as email. If you need more information on how to create a new alarm please consult Amazon’s documentation.

In VictorOps

In VictorOps, select Settings >> Alert Behavior >> Integrations >> CloudWatch.

If the integration has not yet been enabled, click the “Enable Integration” button to generate your endpoint URL as seen below.  Be sure to replace the “$routing_key” section with the actual routing key you intend to use. (To view or configure route keys in VictorOps, click Alert Beahvior >> Route Keys)


Configure CloudWatch

Navigate to your SNS control panel, choose your topic and create a new subscription.

cloudwatch3
In the window that pops up choose https and paste in your AWS Cloudwatch Service API Endpoint from VictorOps.

Make sure to replace the all caps ROUTING_KEY with your routing key for this event. A good default is cloudwatch. Learn more about routing keys.

When you first create a subscription it will be marked as pending confirmation. Once your subscription has been confirmed the subscription id will contain a usable value.

NOTE: Make sure that the terraform resource configuration for the SNS subscription has “endpoint_auto_confims” set to true.

cloudwatch4

And that’s it!

***NOTE: THE TEST ALERT BUTTON ON AWS DOES NOT WORK AT THIS TIME.***

Updated on June 8, 2017

Was this article helpful?

Related Articles