Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
sensuとその周辺のはなし
Search
Nobutoshi Ogata
June 12, 2014
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
sensuとその周辺のはなし
Nobutoshi Ogata
June 12, 2014
More Decks by Nobutoshi Ogata
See All by Nobutoshi Ogata
Datadogセミナー 2025/3/13 Datadog On-Callの活用事例のご紹介
nobu666
0
500
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
330
Why Slack?
nobu666
0
350
A Complete Work of SmartNews's SRE
nobu666
2
3.4k
SRE at SmartNews
nobu666
0
8.3k
SmartNews の最近の取り組みについて
nobu666
4
3.6k
Introducing in-hourse PaaS
nobu666
1
350
Monitoring of SmartNews
nobu666
0
200
Other Decks in Technology
See All in Technology
Code4Lib JAPANカンファレンス2026 開会挨拶 / Code4Lib JAPAN Conference 2026: Opening Remarks
ykiyota
0
330
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
190
作品が生態系になった ─ Mini Tokyo 3D から世界へ
nagix
0
150
Driving AI Adoption Using In-House GPUs to Serve Qwen
po3rin
2
480
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
110
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
260
20260912_スクフェス三河
kgnkhkr
0
280
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
350
あるけみー式LTスライド作成術
alchemy1115
1
170
omasushiというライブラリを作った
polidog
PRO
0
200
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
160
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
4
390
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Visualization
eitanlees
152
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
How to make the Groovebox
asonas
2
2.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
Git: the NoSQL Database
bkeepers
PRO
432
67k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
Transcript
sensuͱͦͷपลͷͳ͠ Monitoring Casual #6 2014.6.12 ϋονגࣜձࣾ Nobutoshi Ogata
ࣗݾհ • ඌܗெढ़ a.k.a @nobu666 • ɹɹɹˠ ϋονגࣜձࣾ • talentio
ͱ͍͏αʔϏεΛ࡞͍ͬͯ·͢ • ਓࡐ࠾༻ͱٻ৬׆ಈͷͨΊͷαʔϏεͰ͢ • ΠϯϑϥΤϯδχΞɺͱ͍ͭͭL4͔Β্
talentioͷαʔόߏ֓ཁ %JSFDU$POOFDU ౿Έ DB memchached DC AWS ELB WWW batch
sensu
ೖ͙ࣾͯ͢͠ͷঢ়ଶ • ϝʔϧඈͳ͍ঢ়ଶͷZabbix • ઃఆΛࢼΈΔ͕UIͷμϝ͞ʹ৺͕ંΕΔ • all-in-oneͳͷ͍͍Μ͚ͩͲͳʔ • ͳΔ͘গͳ͍ઃఆͰࢮ׆ࢹೖΕ͍ͨ •
͔֦ͭுੑ͕͋Δͱͳ͓Α͍
None
sensuͷ͍͍ͱ͜Ζ • clientͷొΛ͠ͳ͍Ͱ͍͍ • client.jsonʹదʹattributesΛՃͯ͠ɺ sensu-serverͰҰׅཧͰ͖Δ • nagios pluginΛύΫΕΔ
sensuͷͭΒΈ (1) • No keep-alive… ͕ফ͑ͯ͘Εͳ͍ • Ͳͳ͔ͨղܾํ๏Λ͝ଘͰͨ͠Βڭ͑ͯ Լ͍͞…
sensuͷͭΒΈ (2) • Πϥͬͱ͢Δ • ͷͰ͜͏͠·ͨ͠… $ cat /etc/init.d/sensu #!/bin/bash
/etc/init.d/sensu-server $1 /etc/init.d/sensu-api $1
sensuͰͬͯΔ͜ͱ • Health check • process(http/mysql/batch) • response(http) • replication
status(mysql/solr) • disk usage, load ave. • Notification • mail • slack
ଟগखΛೖΕͯΔ • backup༻ʹ͍͔ͭ͘ͷmysqlΛmysqld_multiͰू ͯ͠Δ • check-mysql-alive.jsonʹ͍͍͚ͪͪ͢ͷ͕Ί ΜͲ͍ͷͰɺmysqld_multi reportͱmy.cnf͔Β ࢹରΛউखʹܾΊΔΑ͏ʹ •
slack௨࣌ ```hogehoge``` ͱ͔ͨͬͨ͠ͷͰࢦఆͷ จࣈྻͰғΊΔΑ͏ʹpull requestத
sensuͰͬͯͳ͍͜ͱ • metricsͷऩू • why? • graphiteΊΜͲ͍ʢ୯ʹΑ͘Θ͔ͬͯͳ͍ʣ • es+kibanaେ͛͞ͳؾ͕͢Δ •
͍·NewRelicͬͯΔ • agentͷinstallͱpluginͷinstall͕ͪΐͬͱΊΜͲ͍ • ΊΜͲ͍ͬͭʔ͔ͨ·ʹsyntax errorͱ͔Ͱͯಈ͔ͳ͍ • mackerelͪΐͬͱ͓ࢼ͠த
͜Ε͔ΒΓ͍ͨ͜ͱ • ansible࿈ܞ • reloadͩͷrestartͩͷͷλΠϛϯάͰalert͕ඈΜͰ͠·͏ͷͰΒ͍ͤͨ • sensu-cliͰͰ͖Δͷ͔ͳ • twilio +
slack࿈ܞ • ਂͩͱϝʔϧ͚ͩͰؾ͔ͮͳ͍ͷͰి໐Β͍ͨ͠ • ిʹग़ͯ͠·͏ͱ͔͔ۚΔͷͰɺslack͔ΒిͱΊΔ • hubot + slack࿈ܞ • sensu-adminͷը໘͔ΒͰ͖Δ͜ͱslack͔ΒΕΔΑ͏ʹ͍ͨ͠
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠