View a markdown version of this page

Create alarms with Performance Monitor - Amazon CloudWatch

Create alarms with Performance Monitor

When you create a monitor, you can turn on a recommended CloudWatch alarm for High impact to get notified when network degradation occurs. You can also set a custom alarm threshold for High impact.

To alarm on specific paths, configure additional alarms in CloudWatch after you create the monitor. For example, you can alarm when ImpactScore for a critical path exceeds a threshold that you define.

To create an alarm for a network path
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Alarms, All alarms.

  3. Choose Create alarm.

  4. Choose Select metric, and then choose AWS/NetworkFlowMonitor.

  5. Choose LocalLocation, MonitorId, RemoteLocation.

  6. Select the metric that you want to alarm on, for example, ImpactScore.

  7. Configure the threshold, for example, greater than or equal to 65 for Medium impact, or greater than or equal to 95 for High impact.

  8. Configure the notification action, for example, to send a notification to an Amazon SNS topic.

  9. Choose Create alarm.

Create an alarm for any path in a monitor

To get notified when any network path in a monitor reaches an impact level, create an alarm on a CloudWatch Metrics Insights query. The following query returns the highest ImpactScore across all paths in a monitor:

SELECT MAX(ImpactScore) FROM SCHEMA("AWS/NetworkFlowMonitor", LocalLocation, MonitorId, RemoteLocation) WHERE MonitorId = 'monitor-id'

Set the alarm threshold to greater than or equal to 95 to alarm when any path reaches High impact. For more information, see Creating a Metrics Insights CloudWatch alarm.

Standard CloudWatch alarm charges apply. For more information about options when you create a CloudWatch alarm, see Create a CloudWatch alarm based on a static threshold.