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
140
0
Share
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
450
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
300
Why Slack?
nobu666
0
320
A Complete Work of SmartNews's SRE
nobu666
2
3.2k
SRE at SmartNews
nobu666
0
8.1k
SmartNews の最近の取り組みについて
nobu666
4
3.6k
Introducing in-hourse PaaS
nobu666
1
330
Monitoring of SmartNews
nobu666
0
190
Other Decks in Technology
See All in Technology
ThetaOS - A Mythical Machine comes Alive
aslander
0
230
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
590
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2.1k
Oracle Cloud Infrastructure:2026年3月度サービス・アップデート
oracle4engineer
PRO
0
300
MIX AUDIO EN BROADCAST
ralpherick
0
140
Babylon.js Japan Activities (2026/4)
limes2018
0
130
JSTQB Expert Levelシラバス「テストマネジメント」日本語版のご紹介
ymty
0
110
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
190
FlutterでPiP再生を実装した話
s9a17
0
240
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
210
JAWS DAYS 2026でAIの「もやっと」感が解消された話
smt7174
1
120
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
Raft: Consensus for Rubyists
vanstee
141
7.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
Skip the Path - Find Your Career Trail
mkilby
1
93
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
450
GitHub's CSS Performance
jonrohan
1032
470k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
860
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Producing Creativity
orderedlist
PRO
348
40k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
150
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͔ΒΕΔΑ͏ʹ͍ͨ͠
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠