Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.04 KB

alb

Per AppELB Metrics

alb.sh

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 for TargetResponseTime
  • $1: Use a specific profile from your credential file.
  • $2: Action ARN
  • $3: LoadBalancer value of dimensions. Used for Alarm Name.

Per AppELB, per TG Metrics

targetgroup.sh

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 for TargetResponseTime
  • $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.