Docs
WebsiteLoginFree Trial
  • Getting Started
    • OnCall Users
    • Team Admins
    • Account Admins
  • Architecture Guide
  • Common UI Design Patterns
  • Alerts
  • Teams
  • Schedules
  • Escalation Policies
  • Integrations
  • Broadcasts
  • Users
  • Notifications
  • Reports
  • Billing
  • Accounts
  • Stakeholders
  • Maintenance Windows
  • Routers
  • Notification Rules
  • Single Sign On (SSO)
  • Integration Guides
    • Introduction
    • 66uptime
    • Apex Ping
    • AppDynamics
    • Auvik
    • AWS CloudWatch
    • Azure Monitor
    • Cloudflare
    • Cronitor
    • Datadog
    • Dead Man's Snitch
    • Echoes HQ
    • ElastAlert
    • Email
    • Form
    • Freshdesk
    • Freshservice
    • Google Hangouts Chat
    • Grafana
    • Healthchecks.io
    • HetrixTools
    • Honeybadger
    • Hydrozen
    • Jira Server
    • JotForm
    • Kapacitor
    • LogicMonitor
    • Mattermost
      • Outgoing Webhook
      • Post to Channel
    • Meta Workplace
    • Microsoft Teams
    • New Relic
    • Outgoing Webhook
    • Pingdom
    • Prometheus
    • PRTG Network Monitor
    • Pulsetic
    • Sentry
    • ServerGuard24
    • Site24x7
    • Slack
      • Notifications
      • Outgoing Webhook
      • Post to Channel
    • SolarWinds
    • Stackdriver
    • StatusCake
    • Twilio
      • Incoming SMS
      • Live Call Routing
    • Typeform
    • Uptime
    • Uptime Kuma
    • UptimeRobot
    • Webhook
    • Zendesk
  • API
    • Introduction
    • Authentication
    • Errors
    • Pagination and Filters
    • Common Model Attributes
    • Account Users
    • Alerts
    • Broadcasts
    • Comments
    • Escalation Policies
    • Events
    • Integrations
    • Logs
    • Maintenance Windows
    • Notification Rules
    • Routers
    • Schedules
    • Teams
    • Users
  • Command Line Interface (CLI)
    • PagerTree CLI: Command Line Interface
Powered by GitBook
On this page
  • What is AWS CloudWatch?
  • How It Works
  • Integration Walkthrough
  • In PagerTree
  • In AWS SNS Console
  • In AWS EC2 Console

Was this helpful?

  1. Integration Guides

AWS CloudWatch

Connect your AWS CloudWatch alarms to PagerTree using our AWS CloudWatch Integration.

PreviousAuvikNextAzure Monitor

Last updated 1 month ago

Was this helpful?

Company
Estimated Time
Vendor Docs
Open Source

15 minutes

What is AWS CloudWatch?

provides monitoring for and the applications that run on AWS. CloudWatch metrics play a critical role in the monitoring of the applications running on AWS cloud. A CloudWatch alarm can watch a single metric over a specified time period and execute automated actions based on the value of the watched metric and given threshold.

How It Works

AWS CloudWatch triggers user defined alarms by watching metrics.

  • When an alarm is triggered (ALARM state) in AWS CloudWatch, an alert is created in PagerTree automatically.

  • When the alarm is closed (OK state) in AWS CloudWatch, the alert is resolved in PagerTree automatically.

Integration Walkthrough

In this integration tutorial we will show you how to send alarms from AWS CloudWatch to into PagerTree. The estimated time for this integration is 15 minutes. We assume that you already have a PagerTree and AWS account setup.

In PagerTree

  1. by clicking the Amazon Web Services logo.

  2. .

In AWS SNS Console

  1. In the SNS Console, click “Create Topic”.

  2. Enter a Topic name (ex: “pagertree_integration”) and a Display name (ex: “pagertree”), then click “Create Topic”.

  3. Now that your topic has been created, click “Create Subscription”.

  4. Select HTTPS as the Protocol and paste the PagerTree Endpoint URL as the Endpoint. Ensure the "Enable raw message delivery" is disabled.

  5. Your subscription should be automatically confirmed. Click the refresh icon and ensure the Subscription ID is not PendingConfirmation.

In AWS EC2 Console

  1. Go to your EC2 Instances Console. Right click on the instance that you would like to monitor, and select CloudWatch Monitoring -> Add/Edit Alarms.

  2. Click Create Alarm.

  3. Select your new notification topic from the drop down menu, configure the settings that would like to trigger the alarm, and click “Create Alarm”.

  4. At this point you PagerTree will create an alert if the alarm fires. To configure auto-resolve click the Alarm Link in the dialog box.

  5. With the new alarm selected, click Actions -> Modify.

  6. In the Actions section of the Modify Alarm window, click “+ Notification”.

  7. Select the following values

    1. Whenever this alarm: State is OK

    2. Send notification to: your new notification topic

  8. Click “Save Changes”.


You have successfully completed the AWS Cloudwatch integration.


Amazon Web Services
view
v3.rb
AWS CloudWatch
Amazon Web Services (AWS)
AWS Simple Notification Service (SNS)
Create the integration
Copy the Endpoint URL
In the AWS SNS console, click create topic.
New SNS topic form.
Click create subscription button.
Select the HTTPS protocol and paste your PagerTree endpoint URL.
The subscription will automatically be confirmed by PagerTree.
Add an alarm to an EC2 instance.
Click the create alarm button.
Select your newly created SNS Topic as the alarm destination.
In the success box click the CloudWatch alarm link.
Modify your newly created CloudWatch alarm.
Click the + Notification button.
Modify the alarm to send OK messages to PagerTree.
AWS SNS console
New SNS topic form.
create subscription button
HTTPS protocol and paste your PagerTree endpoint URL.
Pagertree subscription confirmation
AWS cloudwatch alarm
AWS Create Alarm
Select your newly created SNS Topic as the alarm destination.
CloudWatch alarm link
CloudWatch alarm
AWS Notification button
Modify the alarm to send OK messages to PagerTree.