1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
-1
You can make use of CloudWatch search expression syntax to create a single CloudWatch alarm that tracks CPU Utilization across all EC2 instances. For example, you can create a search expression that displays the AWS/EC2 CPUUtilization metric for all instances in the Region. If you later launch a new instance, the CPUUtilization of the new instance is automatically added to the graph. See reference document.
SEARCH('{AWS/EC2,InstanceId} MetricName="CPUUtilization"', 'Average')
répondu il y a 10 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 5 ans
I don't know if this used to work but it doesn't as of March 2024. An error message is displayed "You cannot create an alarm on a math expression containing the SEARCH function"