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
ZABBIXの運用において、 自分で自分の労働力と時間を節約する為の工夫事例紹介 #zabbi...
Search
kenjiskywalker
April 12, 2014
Technology
3
2.1k
ZABBIXの運用において、 自分で自分の労働力と時間を節約する為の工夫事例紹介 #zabbix_jp
第6回 ZABBIX-JP勉強会 資料
kenjiskywalker
April 12, 2014
Tweet
Share
More Decks by kenjiskywalker
See All by kenjiskywalker
VP of Engineering Meetup by CA #3
kenjiskywalker
2
3k
Management 3.0 meetup 2018/0228
kenjiskywalker
0
120
EdTech Engineer Meetup
kenjiskywalker
0
7.6k
スキルシートをなぜやるか・こんごについて
kenjiskywalker
0
160
why-1on1
kenjiskywalker
1
270
yapcasia2015
kenjiskywalker
20
17k
Sensu Casual Talks
kenjiskywalker
0
1.4k
yapcasia2014
kenjiskywalker
0
7k
large td-agent.conf with Chef
kenjiskywalker
2
4k
Other Decks in Technology
See All in Technology
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
フルカイテン株式会社 採用資料
fullkaiten
0
40k
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
190
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
130
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
複雑なState管理からの脱却
sansantech
PRO
1
140
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
750
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
300
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
RailsConf 2023
tenderlove
29
900
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
What's in a price? How to price your products and services
michaelherold
243
12k
Designing for humans not robots
tammielis
250
25k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
For a Future-Friendly Web
brad_frost
175
9.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Designing the Hi-DPI Web
ddemaree
280
34k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Building an army of robots
kneath
302
43k
Transcript
ZABBIXͷӡ༻ʹ͓͍ͯɺ ࣗͰࣗͷ࿑ಇྗͱ࣌ؒΛઅ͢ Δҝͷࣄྫհ @kenjiskywalker
@fujiwara thanks ZABBIXͷࢣ
! ೖࣾͯ͠·ͳ͘ ZABBIXͷࢣɺfujiwara͞Μͷݩ ZABBIXͰαʔόΛཧ͍ͯͨ͠ ʑ͕ଓ͍ͨ
ZABBIXʹͰ͖ͳ͍͜ͱͳͲԿͳ͍ ͷͰͳ͍͔ͱײͨ͡
ϝτϦΫεͷऔಘ + औಘͨ͠Λར༻ͨ͠ ॊೈͳάϥϑදࣔ + ϝτϦΫεͷΛར༻ͨ͠ ॊೈͳΞϥʔτઃఆ
Α͋͘ΔΞϥʔτͷઃఆ σΟεΫ༻ 90%Ҏ্ͰΞϥʔτ
ஹީʹؾ͚ͳ͔ͬͨͷ͔ʁ ! ؾ͚ͨΒ৭ʑͳରԠํ๏͕ ͋ͬͨͷͰͳ͍͔ʁ
ZABBIXͰϝτϦΫεࢹͷ http://www.slideshare.net/kenjiskywalkerslide/zabbix-13345536
ZabbixͰϝτϦΫεࢹ͢Δ http://kenjiskywalker.hatenablog.com/entry/20120510/1336623133
ࢹ͍ͯ͠ΔΛ σʔλετΞʹੵ͢Δ͜ͱʹΑͬͯ ࣌ܥྻͷൺֱΛߦ͏͜ͱ͕Ͱ͖Δ ! ΑΓΠϯςϦδΣϯεͳࢹ͕ՄೳʹͳΔ
ZABBIX = ᘳͳγεςϜ
ZABBIX = ੯͍͠γεςϜ
Կ͕੯͍͠ͷ͔
σϞ͠·͢
Ͳ͏ը໘͕͔͍ͭͮΒ͍
ΣϒΠϯλϑΣʔε͕͍ͮΒ͍ ͳΒAPIΛ͍͍͑͡Όͳ͍ʁ
None
! ݸਓతΦεεϝRuby ZABBIX API WRAPPER https://github.com/express42/zabbixapi ! ! ! !
! ɾ։ൃ͕׆ൃ ɾ2.0ʹରԠ͍ͯ͠Δ ɾ·ͱʹಈ͘
ԿඦΛຖϓϧμϯͰ ΖΖݟΔͷͭΒ͍ εΫϦʔϯΛઃఆ͍ͯͨ͠ͱͯ͠ ͭΒ͍
ࣗͰͲ͏ʹ͔Ͱ͖ͳ͍͔
ͭͬͯ͘Έͨ
͍ͬͯΔ͜ͱ ! ! - σʔλϕʔε͔Βରͷάϥϑ໊Λ࣋ͬͨάϥϑIDҰཡΛऔಘ ! - औಘͨ͠άϥϑIDҰཡΛར༻͠URLΞΫηε͠άϥϑΛදࣔͤ͞Δ ! -
දࣔͤͨ͞άϥϑΛϩʔΧϧʹμϯϩʔυ͢Δ ! - μϯϩʔυͨ͠άϥϑΛҰׅදࣔ͢Δ੩తϖʔδΛੜ
ઃఆ༰
σϞ
σϞ άϥϑ͕ଟ͚Ε͜Μͳײ͡ʹͳΔ
Zabbix:SenriganΛͭ͘Δ͜ͱͰ ຖि̍ճඞͣશϝτϦΫεΛ ֬ೝ͢ΔΑ͏ʹͳͬͨ ! before: 30min after: 5min
͜͜·Ͱͷͷ͕Ͱ͖Δͷ͕࣌ؒ ڐ͞Ε͍͔ͯͨΒ ! ʮʑόϦϡʔΛग़͞ͳ͚Εࢮʯ Έ͍ͨͳ༨༟ͷͳ͍৬Ͱݫ͍͠ ͔͠Εͳ͍
https://github.com/kenjiskywalker/make-zabbix-screen ! εΫϦʔϯͷXMLΛͭ͘Δͷ͕໘ͯ͘͘͞ ͭͬͨ͘πʔϧɻ͙Β͍ͰͰ͖ͨɻ ଟগָʹͳͬͨɻ
ʑ܁Γฦ͠ߦ͏࡞ۀͰ ຖճ໘͍͘͞ͳʔͱ͔ ຖճݏͩͳʔͱ͍͏͜ͱΛͳͯ͘͠ ͍͜͏ͱ͍͏ҙࢤ͕͋Ε ݁ՌతʹԿ͔Ͱ͖ͨΓ͢Δ
ZABBIX࠷ߴ ! Γͳ͍ͷࣗͰͭ͘Δ ! ͦ͏͢Ε ࠷ߴͷϞχλϦϯάڥ͕ ͏ͷͰͳ͍Ͱ͠ΐ͏͔
͠ΐʔͳ͍ϋοΫͰ Πϯλʔωοτʹެ։ͨ͠Β ੈքͷͲ͔͜ͷ୭͔ͷʹཱͬͨΓ͢Δ ͔͠Ε·ͤΜɻ ! ͦ͏ͳͬͨΒͱͯૉఢͳ͜ͱͰ͢ΑͶɻ
※ه ! ࠷ߴͷΞοϓσʔτใ ! ɾϗετάϧʔϓͷಉҰΞΠςϜͷࣗಈάϥϑԽ ɾLDDʹΑΔεΫϦʔϯͷ࡞ ! ͬͨͶʂࣉౡ͞Μ͋Γ͕ͱ͏͍͟͝·͢ʂ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠