setting-up-cloudwatch-alarm-notifications
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSetting Up CloudWatch Alarm Notifications
配置CloudWatch告警通知
Overview
概述
Domain expertise for configuring Amazon CloudWatch alarm notification channels
using Amazon SNS topics and subscriptions. Covers creating encrypted SNS topics,
setting up subscriptions for email, SMS, and webhook endpoints, configuring
topic policies for CloudWatch access, and linking alarms to notification actions.
本技能专注于使用Amazon SNS主题和订阅配置Amazon CloudWatch告警通知渠道。涵盖创建加密的SNS主题、为电子邮件、短信和webhook端点设置订阅、配置供CloudWatch访问的主题策略,以及将告警与通知操作关联。
Set up alarm notifications
配置告警通知
To configure notification channels for a CloudWatch alarm, follow the procedure exactly.
See CloudWatch alarm notification setup procedure.
要为CloudWatch告警配置通知渠道,请严格遵循以下步骤。请参阅CloudWatch告警通知配置流程。
Troubleshooting
故障排查
Email notifications not received
未收到电子邮件通知
Verify the email subscription was confirmed. Use
to check that the subscription status is "Confirmed" rather than "PendingConfirmation".
aws sns list-subscriptions-by-topic请确认电子邮件订阅已完成验证。使用命令检查订阅状态是否为“Confirmed”(已确认),而非“PendingConfirmation”(待确认)。
aws sns list-subscriptions-by-topicSMS notifications failing
短信通知失败
Ensure the phone number is in E.164 format (e.g., +12345678901) and that SMS is
supported in your AWS region.
确保电话号码采用E.164格式(例如:+12345678901),且您的AWS区域支持短信服务。
Alarm not triggering notifications
告警未触发通知
Verify the alarm has the correct SNS topic ARN in its AlarmActions using
, and ensure ActionsEnabled is set to true.
aws cloudwatch describe-alarms使用命令验证告警的AlarmActions中是否包含正确的SNS主题ARN,并确保ActionsEnabled设置为true。
aws cloudwatch describe-alarms