-
Notifications
You must be signed in to change notification settings - Fork 1
add NLB #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add NLB #11
Conversation
| ``` | ||
| sh nlb.sh <profile> arn:aws:sns:ap-northeast-1:123456789:alarm-sns-basic app/hoge/123456789 | ||
| ``` | ||
| - `-r`: (Option) Threshold for `TargetResponseTime` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使ってなくないですか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-r オプションですよね。つかってないっす。消しときます。
| --period 60 \ | ||
| --evaluation-periods 1 \ | ||
| --statistic Sum \ | ||
| --threshold 3.0 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここは3はなにか理由あります?
| aws cloudwatch put-metric-alarm \ | ||
| --alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-ClientTLSNegotiationErrorCount" \ | ||
| --metric-name ClientTLSNegotiationErrorCount \ | ||
| --namespace AWS/ApplicationELB \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| --namespace AWS/ApplicationELB \ | |
| --namespace AWS/NetworkELB \ |
| aws cloudwatch put-metric-alarm \ | ||
| --alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-UnHealthyHostCount" \ | ||
| --metric-name UnHealthyHostCount \ | ||
| --namespace AWS/ApplicationELB \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
上と同じく
| aws cloudwatch put-metric-alarm \ | ||
| --alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-TargetTLSNegotiationErrorCount" \ | ||
| --metric-name TargetTLSNegotiationErrorCount \ | ||
| --namespace AWS/ApplicationELB \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同じく
add nlb metrics