简体   繁体   English

用于自动缩放的 cloudwatch 警报

[英]cloudwatch alarm for Autoscaling

how to setup cloudwatch alarm for Autoscaling group when its scaling down Mincapacity Instances using cloudformation template.在使用 cloudformation 模板缩减最小容量实例时,如何为 Autoscaling 组设置 cloudwatch 警报。

I mean need alarm when all the Instances were "OutofService" basically this will happen when Instance failed ELB healthcheck.我的意思是当所有实例都“OutofService”时需要警报,这基本上会在实例失败 ELB 健康检查时发生。

Why don't you add an alarm based on the CloudTrail metric HealtlyHostCount ?为什么不添加基于 CloudTrail 指标HealtlyHostCount If you set a low threshold, you will get warned when there are no healthy instances.如果您设置的阈值较低,则在没有健康实例时会收到警告。 You can see the metrics documentation here您可以在此处查看指标文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cloudwatch警报,可根据条件自动缩放 - Cloudwatch alarm for Autoscaling with condition CloudWatch自定义EC2内存指标和具有AutoScaling策略的警报 - CloudWatch custom EC2 memory metric and alarm with AutoScaling policy 是否可以使用 Terraform 为 AutoScaling 组的同一 CloudWatch 警报创建多个条件? - It is possible to create multiple conditions for the same CloudWatch alarm for AutoScaling group with Terraform? AWS ECS - 使用 CloudWatch 警报的自动缩放无法按预期工作 - AWS ECS - autoscaling using CloudWatch alarm does not work as expected 向 EC2 自动扩展组添加容量的 AWS CloudWatch 警报一直处于警报状态 - AWS CloudWatch Alarm to add capacity to EC2 autoscaling group has been in alarm forever 我应该在AutoScaling中使用CloudWatch警报还是“ as-create-or-update-trigger” - Should I use CloudWatch alarm or “as-create-or-update-trigger” for my AutoScaling AWS Cloudwatch - 当我尝试为SQS创建警报时,自动调节组未显示 - AWS Cloudwatch - Autoscaling groups are not showing up when I try to create an alarm for SQS 具有SQS的AWS自动扩展和CloudWatch - AWS Autoscaling and CloudWatch with SQS 某个时间范围的 Cloudwatch 警报 - Cloudwatch alarm for a time range 奇怪的CloudWatch警报行为 - Strange CloudWatch alarm behaviour
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM