ハンズオン(簡易版): CloudWatch基礎 カスタムメトリクス

4.4. メール受信の確認 (標題: "ALARM: "handson-cli-cloudwatch-custom-alarm" in Asia Pacific (Tokyo)")

目的

メールクライアントでメールの受信を確認します。

パラメータの指定

(なし)

手順

メールの本文を確認します。

本文(例):

You are receiving this email because your Amazon CloudWatch Alarm "handson-cli-cloudwatch-custom-alarm" in the Asia Pacific (Tokyo) region has entered the ALARM state, because "Threshold Crossed: 1 datapoint [2.0 (27/08/20 09:59:00)] was greater than or equal to the threshold (1.0)." at "Thursday 27 August, 2020 10:04:57 UTC".

View this alarm in the AWS Management Console:
https://ap-northeast-1.console.aws.amazon.com/cloudwatch/home?region=ap-northeast-1#s=Alarms&alarm=handson-cli-cloudwatch-custom-alarm

Alarm Details:
- Name:                       handson-cli-cloudwatch-custom-alarm
- Description:                Visible messages alarm for handson-cli-cloudwatch custom.
- State Change:               OK -> ALARM
- Reason for State Change:    Threshold Crossed: 1 datapoint [2.0 (27/08/20 09:59:00)] was greater than or equal to the threshold (1.0).
- Timestamp:                  Thursday 27 August, 2020 10:04:57 UTC
- AWS Account:                XXXXXXXXXXXX
- Alarm Arn:                  arn:aws:cloudwatch:ap-northeast-1:XXXXXXXXXXXX:alarm:handson-cli-cloudwatch-custom-alarm

Threshold:
- The alarm is in the ALARM state when the metric is GreaterThanOrEqualToThreshold 1.0 for 300 seconds.

Monitored Metric:
- MetricNamespace:                     handson-cli
- MetricName:                          Errors
- Dimensions:                          [AppName2 = handson-cli-cloudwatch]
- Period:                              300 seconds
- Statistic:                           Sum
- Unit:                                Count
- TreatMissingData:                    ignore


State Change Actions:
- OK:
- ALARM: [arn:aws:sns:ap-northeast-1:XXXXXXXXXXXX:handson-cli-cloudwatch-topic]
- INSUFFICIENT_DATA:


--
If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe:
https://sns.ap-northeast-1.amazonaws.com/unsubscribe.html?SubscriptionArn=arn:aws:sns:ap-northeast-1:XXXXXXXXXXXX:handson-cli-cloudwatch-topic:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&Endpoint=taro@example.jp

Please do not reply directly to this email. If you have any questions or comments regarding this email, please contact us at https://aws.amazon.com/support

完了確認

「メールクライアントに着信した標題"ALARM: "handson-cli-cloudwatch-custom-alarm" in Asia Pacific (Tokyo)"のメールの本文が想定した内容である。」ことを確認します。