Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2014-06-20 JAWS-UG Tokyo
Search
y13i
June 20, 2014
Technology
0
630
2014-06-20 JAWS-UG Tokyo
y13i
June 20, 2014
Tweet
Share
More Decks by y13i
See All by y13i
Alexa と Polly と私
y13i
0
510
Alpine Linux ノススメ
y13i
1
6.7k
AWS Advanced Users Meetup vol.2
y13i
0
230
JAWS-UG Nagano Kickoff Meeting
y13i
6
3.9k
Other Decks in Technology
See All in Technology
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
130
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
140
Terraform Stacks入門 #HashiTalks
msato
0
350
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1k
SSMRunbook作成の勘所_20241120
koichiotomo
2
140
複雑なState管理からの脱却
sansantech
PRO
1
140
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
310
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
120
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Optimizing for Happiness
mojombo
376
70k
Code Reviewing Like a Champion
maltzj
520
39k
Navigating Team Friction
lara
183
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
For a Future-Friendly Web
brad_frost
175
9.4k
Ruby is Unlike a Banana
tanoku
97
11k
Transcript
ͪΐͬͱ͍͍SensuͷʢԾʣ by
[email protected]
ࢁޱ ༩ྗ (Yamaguchi Yoriki) Support Engineer at cloudpack ZJDPN ABOUT
ME
© KOJIMA PRODUCTION
– sensuapp.org “An open source monitoring framework.”
TABLE OF CONTENTS 1. ࠷ۙ࡞ͬͨSensu Pluginհ 2. ࡶײ
1 INTRODUCING MY SENSU PLUGIN
check-rds.rb
check-rds.rb • RDSΠϯελϯεͷঢ়ଶΛνΣοΫ͢Δ • CPU • --cpu-critical-over 90 • ϝϞϦ
• ετϨʔδ • ύʔηϯτࢦఆ͕Մೳ • Availability Zone
check-rds.rb • ͷऔಘํ๏ΛࢦఆՄೳ • Average/Maximum/Minimum • --statistics maximum • औಘ͢ΔͷظؒΛࢦఆՄೳ
• --period 3600
check-elb-latency.rb
check-elb-latency.rb • ELBͷϨΠςϯγʔΛνΣοΫ͢Δ • ෳELBΛνΣοΫՄೳ • ͷऔಘํ๏ΛࢦఆՄೳ • औಘ͢ΔͷظؒΛࢦఆՄೳ
check-elb-sum-requests.rb
check-elb-sum-requests.rb • ELBͷ૯ϦΫΤετΛνΣοΫ͢Δ • ෳELBΛνΣοΫՄೳ • औಘ͢ΔͷظؒΛࢦఆՄೳ
check-dynamodb-capacity.rb
check-dynamodb-capacity.rb • DynamoDBͷϓϩϏδϣϯ͞Εͨεϧʔϓο τͷ༻ঢ়گΛνΣοΫ͢Δ • ςʔϒϧ໊ΛࢦఆՄೳ • ͠ͳ͍߹શςʔϒϧ • ύʔηϯτࢦఆ͕Մೳ
into Community Plugins
͝ར༻͍ͩ͘͞ git clone
[email protected]
:sensu/sensu-community-plugins.git
2 ZAKKAN
ࡶײ • CloudWatchͷAPIΫη͕ڧ͍ • ΞΫηε͕ͳ͍࣌ˠ0Ͱͳ͘σʔλϙΠϯτ ࣗମ͕ଘࡏ͠ͳ͍ঢ়ଶʹ • ϝϞϦ͕Bytes୯ҐͰ͔͠औಘͰ͖ͳ͍ • ϓϥάΠϯͰ͍͍ײ͡ʹϥοϓ͍ͯ͠қ͘
͋Γ͕ͱ͏͍͟͝·ͨ͠