Set ClientTLSNegotiationErrorCount
,HTTPCode_ELB_5XX_Count
,RejectedConnectionCount
,TargetResponseTime
for AWS/ApplicationELB
sh alb.sh -r 0.5 <profile> arn:aws:sns:ap-northeast-1:123456789:alarm-sns-basic app/hoge/123456789
-r
: (Option) Threshold forTargetResponseTime
$1
: Use a specific profile from your credential file.$2
: Action ARN$3
:LoadBalancer
value of dimensions. Used for Alarm Name.
Set UnHealthyHostCount
,TargetResponseTime
,HTTPCode_Target_5XX_Count
,TargetTLSNegotiationErrorCount
for AWS/ApplicationELB
sh targetgroup.sh -r 0.5 <profile> arn:aws:sns:ap-northeast-1:123456789:alarm-sns-basic targetgroup/hoge/123456789 app/hoge/123456789
-r
: (Option) Threshold forTargetResponseTime
$1
: Use a specific profile from your credential file.$2
: Action ARN$3
:TargetGroup
value of dimensions. Used for Alarm Name.$4
:LoadBalancer
value of dimensions.