Skip to content

add NLB#11

Open
yukitsugu-tsukamoto wants to merge 2 commits intoatsushi-ishibashi:masterfrom
yukitsugu-tsukamoto:master
Open

add NLB#11
yukitsugu-tsukamoto wants to merge 2 commits intoatsushi-ishibashi:masterfrom
yukitsugu-tsukamoto:master

Conversation

@yukitsugu-tsukamoto
Copy link
Copy Markdown

add nlb metrics

Comment thread nlb/README.md
```
sh nlb.sh <profile> arn:aws:sns:ap-northeast-1:123456789:alarm-sns-basic app/hoge/123456789
```
- `-r`: (Option) Threshold for `TargetResponseTime`
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使ってなくないですか?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-r オプションですよね。つかってないっす。消しときます。

Comment thread nlb/nlb.sh
--period 60 \
--evaluation-periods 1 \
--statistic Sum \
--threshold 3.0 \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは3はなにか理由あります?

Comment thread nlb/nlb.sh
aws cloudwatch put-metric-alarm \
--alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-ClientTLSNegotiationErrorCount" \
--metric-name ClientTLSNegotiationErrorCount \
--namespace AWS/ApplicationELB \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--namespace AWS/ApplicationELB \
--namespace AWS/NetworkELB \

Comment thread nlb/targetgroup.sh
aws cloudwatch put-metric-alarm \
--alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-UnHealthyHostCount" \
--metric-name UnHealthyHostCount \
--namespace AWS/ApplicationELB \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上と同じく

Comment thread nlb/targetgroup.sh
aws cloudwatch put-metric-alarm \
--alarm-name "awsnetworkelb-$VAL1-$VAL2-$VAL3-TargetTLSNegotiationErrorCount" \
--metric-name TargetTLSNegotiationErrorCount \
--namespace AWS/ApplicationELB \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同じく

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants