Creating Amazon CloudWatch alarms to monitor Amazon FSx - FSx for ONTAP
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating Amazon CloudWatch alarms to monitor Amazon FSx

You can create a CloudWatch alarm that sends an Amazon Simple Notification Service (Amazon SNS) message when the alarm changes state. An alarm watches a single metric over a time period that you specify. If needed, the alarm then 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 an Auto Scaling policy.

Alarms invoke actions for sustained state changes only. CloudWatch alarms don't invoke actions only because they are in a particular state; the state must have changed and been maintained for a specified number of periods. You can create an alarm from the Amazon FSx console or the Amazon CloudWatch console.

The following procedures describe how to create alarms using the Amazon FSx console, Amazon Command Line Interface (Amazon CLI), and API.

To set alarms using the Amazon FSx console
  1. Open the Amazon FSx console at

  2. In the left navigation pane, choose File systems, and then choose the file system that you want to create the alarm for.

  3. On the Summary page, choose Monitoring & performance from the second panel.

  4. Choose the CloudWatch alarms tab.

  5. Choose Create CloudWatch alarm. You are redirected to the CloudWatch console.

  6. Choose Select metric.

  7. In the Metrics section, choose FSx.

  8. Choose a metric category:

    • File System Metrics

    • Detailed File System Metrics

    • Volume Metrics

    • Detailed Volume Metrics

  9. Choose the metric you want to set the alarm for, and then choose Select metric.

  10. In the Conditions section, choose the conditions you want for the alarm, and then choose Next.


    Metrics might not be published during file 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.

  11. If you want CloudWatch to send you an email or Amazon SNS notification when the alarm state initiates the action, choose an alarm state for Alarm state trigger.

    For Send a notification to the following SNS topic, choose an option. 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 the field for future alarms. Choose Next.


    If you use Create topic to create a new Amazon SNS topic, the email addresses must be verified before they receive notifications. Emails are sent only 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.

  12. Fill in the Alarm name and Alarm description fields, and then choose Next.

  13. On the Preview and create page, review the alarm that you're about to create, and then choose Create alarm.

To set alarms using the CloudWatch console
  1. Open the CloudWatch console at

  2. Choose Create Alarm to start the Create Alarm Wizard.

  3. Follow the procedure in To set alarms using the Amazon FSx console, beginning with step 6.

To set an alarm using the Amazon CLI
To set an alarm using the CloudWatch API