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
sensuとその周辺のはなし
Search
Nobutoshi Ogata
June 12, 2014
Technology
0
130
sensuとその周辺のはなし
Nobutoshi Ogata
June 12, 2014
Tweet
Share
More Decks by Nobutoshi Ogata
See All by Nobutoshi Ogata
Datadogセミナー 2025/3/13 Datadog On-Callの活用事例のご紹介
nobu666
0
410
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
280
Why Slack?
nobu666
0
310
A Complete Work of SmartNews's SRE
nobu666
2
3.2k
SRE at SmartNews
nobu666
0
8k
SmartNews の最近の取り組みについて
nobu666
4
3.6k
Introducing in-hourse PaaS
nobu666
1
310
Monitoring of SmartNews
nobu666
0
180
Other Decks in Technology
See All in Technology
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
1.2k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
[Neurogica] 採用ポジション/ Recruitment Position
neurogica
1
140
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
310
Snowflake Industry Days 2025 Nowcast
takumimukaiyama
0
150
[PR] はじめてのデジタルアイデンティティという本を書きました
ritou
0
670
Strands AgentsのEvaluatorをLangfuseにぶち込んでみた
andoooooo_bb
0
110
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
14
4.8k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
12k
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
2k
ESXi のAIOps だ!2025冬
unnowataru
0
450
202512_AIoT.pdf
iotcomjpadmin
0
180
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
0
320
A Soul's Torment
seathinner
1
2.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
270
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
120
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
27
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Speed Design
sergeychernyshev
33
1.5k
The SEO identity crisis: Don't let AI make you average
varn
0
43
Navigating Weather and Climate Data
rabernat
0
60
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
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͔ΒΕΔΑ͏ʹ͍ͨ͠
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠