選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

Creating CloudWatch alarms to monitor Amazon File Cache - Amazon File Cache
此頁面尚未翻譯為您的語言。 請求翻譯

Creating CloudWatch alarms to monitor Amazon File Cache

You can create an Amazon CloudWatch Logs alarm that sends an Amazon SNS message when the alarm's state changes. An alarm watches a single metric over a time period that you specify, and performs one or more actions based on the value of the metric relative to a given threshold over a number of time periods. The action is a notification sent to an Amazon SNS topic or Auto Scaling policy.

Alarms invoke actions for sustained state changes only. CloudWatch alarms don't invoke actions because they are in a particular state; the state must have changed and been maintained for a specified number of periods.

The following procedures outline how to create alarms for an Amazon File Cache resource.

To set alarms using the CloudWatch console
  1. Sign in to the AWS Management Console and open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. Choose Create Alarm. Doing this launches the Create Alarm Wizard.

  3. Choose FSx Metrics and scroll through the Amazon File Cache metrics to locate the metric that you want to place an alarm on. To display only the Amazon File Cache metrics in this dialog box, search the cache ID of your cache. Choose the metric to create an alarm on, and choose Next.

  4. In the Conditions section, choose the conditions that you want for the alarm, then choose Next.

    Note

    Metrics may not be published during system maintenance. To prevent unnecessary and misleading alarm condition changes and to configure your alarms so that they are resilient to missing data points, see Configuring how CloudWatch alarms treat missing data in the Amazon CloudWatch User Guide.

  5. If you want CloudWatch to send you an email when the alarm state is reached, for Whenever this alarm, choose State is ALARM. For Send notification to, choose an existing SNS topic. If you choose Create topic, you can set the name and email addresses for a new email subscription list. This list is saved and appears in this box for future alarms.

    Note

    If you use Create topic to create a new Amazon SNS topic, verify the email addresses before sending them notifications. Emails are only sent when the alarm enters an alarm state. If this alarm state change happens before the email addresses are verified, they don't receive a notification.

  6. Preview the alarm you're about to create in the Alarm Preview area. If it appears as expected, choose Create Alarm.

To set an alarm using the AWS CLI
To set an alarm using the CloudWatch API
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。