...
CloudWatch metrics play a critical role in the monitoring of the applications running on AWS cloud.
...
A CloudWatch alarm watches a single metric over a specified time period and executes automated actions based on the value of the watched metric and given threshold. Jira Service Management acts as a dispatcher for these alarms, . It determines the right people to notify based on on-call schedules– notifies them using email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed. CloudWatch detects problems, and Jira Service Management ensures the right people are working on them.
...
When an alert is created in CloudWatch, an alert is created in Jira Service Management automatically through the integration. When the alert is closed in CloudWatch, the related alert is automatically closed in Jira Service Management automatically through the integration.
Set up the integration
...
Create an SNS topic with the name “Jira Service Management”.
Add an HTTPS subscription to the topic with the Jira Service Management API endpoint URL. This is the endpoint URL you copied while adding the integration in Jira Service Management.
If the configuration is successful, a confirmation alert is created in Jira Service Management.Create a CloudWatch alarm with any metric and select the SNS topic as the action.
Make sure Ensure that the alarm name includes resource and metric names for uniqueness and ease of readability. For example, SQS Queue chat_webhook messageCount Too High. Ensure that notifications are sent for all of the states ALARM, OK, and INSUFFICIENT to Jira Service Management. Notifications with state ALARM create alerts, and notifications with states OK and INSUFFICIENT close the matching alerts by default.
The integration creates an alias for each alert by using Region - AlarmName, by default. This way, Jira Service Management uniquely identifies each CloudWatch alarm, creates, and closes them respectively.
...
After setting up notifications for an alarm in CloudWatch, modify the alarm threshold of the alarm for testing purposes so that it creates an alarm.
When the alarm condition is met, AWS CloudWatch passes alarm details to Jira Service Management, and Jira Service Management notifies the specified users (recipients parameter) based on the recipients’ notification preferences. The Jira Service Management alert contains all the relevant information provided by CloudWatch.
Revert the CloudWatch alarm threshold configuration back to its original after testing is complete.
...