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
monitoring-tool-gri
Search
maebashi
June 12, 2014
Technology
1
450
monitoring-tool-gri
Monitoring Casual Talks #6
maebashi
June 12, 2014
Tweet
Share
More Decks by maebashi
See All by maebashi
docker-metrics-grafana
maebashi
2
840k
glusterfs-pmux
maebashi
2
480
glusterfs-pmux-en
maebashi
0
39
pmux
maebashi
0
55
Other Decks in Technology
See All in Technology
APIテスト自動化の勘所
yokawasa
7
4.1k
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
4
4.1k
サイバーエージェントにおける生成AIのリスキリング施策の取り組み / cyber-ai-reskilling
cyberagentdevelopers
PRO
2
180
Shift-from-React-to-Vue
calm1205
1
1.2k
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
720
一休.comレストランにおけるRustの活用
kymmt90
3
570
Amazon FSx for NetApp ONTAPを利用するにあたっての要件整理と設計のポイント
non97
1
160
WINTICKETアプリで実現した高可用性と高速リリースを支えるエコシステム / winticket-eco-system
cyberagentdevelopers
PRO
1
190
ガバメントクラウド先行事業中間報告を読み解く
sugiim
1
790
Emacs x Nostr
hakkadaikon
1
150
[AWS JAPAN 生成AIハッカソン] Dialog の紹介
yoshimi0227
0
140
MAMを軸とした動画ハンドリングにおけるAI活用前提の整備と次世代ビジョン / abema-ai-mam
cyberagentdevelopers
PRO
1
110
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Writing Fast Ruby
sferik
626
61k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Designing the Hi-DPI Web
ddemaree
280
34k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
GitHub's CSS Performance
jonrohan
1030
460k
Visualization
eitanlees
144
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Become a Pro
speakerdeck
PRO
24
5k
Designing on Purpose - Digital PM Summit 2013
jponch
115
6.9k
Gamification - CAS2011
davidbonilla
80
5k
Transcript
©ɹ2014 Internet Initiative Japan Inc. RubyͰ࡞ͬͨϞχλϦϯάπʔϧ ʹ͍ͭͯ maebashi @ IIJ
©ɹ2014 Internet Initiative Japan Inc. ϞχλϦϯάπʔϧ GRI • (ओͱͯ͠)SNMPͰσʔλऩूͯ͠RRD ʹอଘ͢Δ
– ೖྗݩɾग़ྗઌͱ͍Ζ͍ΖมߋՄೳ • githubͰެ։த – https://github.com/iij/gri
©ɹ2014 Internet Initiative Japan Inc. ಛ • खܰʹ͍࢝ΊΒΕΔ – ؆୯ͳΠϯετʔϧ – ࠷খݶͷઃఆ
• εέʔϧ͢Δ • ϓϥάΠϯͰ֦ுՄ • 2001ॳ൛ϦϦʔε(ඇެ։)
©ɹ2014 Internet Initiative Japan Inc. εΫϦʔϯγϣοτ
©ɹ2014 Internet Initiative Japan Inc. ৭ʑͳάϥϑ
©ɹ2014 Internet Initiative Japan Inc. ઃఆ • શମઃఆgri.conf – ͳͯ͘ಈ͘ •
λʔήοτϗετͷϦετgritab – ػछʹԠͯ͡औಘ͢ΔσʔλΛࣗಈܾఆ $ cat /usr/local/gri/gritab host0.example.com ver=2c community=public rt0.example.com ver=2c community=public
©ɹ2014 Internet Initiative Japan Inc. ΞʔΩςΫνϟ
©ɹ2014 Internet Initiative Japan Inc. جຊܗ(basic mode)
©ɹ2014 Internet Initiative Japan Inc. ࢄ(distributed mode)
©ɹ2014 Internet Initiative Japan Inc. ෳΛଋͶΔ
©ɹ2014 Internet Initiative Japan Inc. ࣮ݧతػೳ
©ɹ2014 Internet Initiative Japan Inc. fluentd mode
©ɹ2014 Internet Initiative Japan Inc. gricast
©ɹ2014 Internet Initiative Japan Inc. gricast
©ɹ2014 Internet Initiative Japan Inc. InfluxDBͷग़ྗ
©ɹ2014 Internet Initiative Japan Inc. grispark
©ɹ2014 Internet Initiative Japan Inc. dockerίϯςφͷϞχλϦϯά
©ɹ2014 Internet Initiative Japan Inc. dockerίϯςφͷϝτϦΫεऩू IUUQCMPHEPDLFSDPNHBUIFSJOHMYDEPDLFSDPOUBJOFSTNFUSJDT
©ɹ2014 Internet Initiative Japan Inc. docker-metricsd • ֤dockerϗετʹৗற • dockerίϯςφͷใΛऩूͯ͠ฦ͢
– cgroup • memory, cpuacct – /proc/net/dev • ίϯςφͷnamespaceʹೖΓࠐΜͰऔಘ • githubͰެ։த – https://github.com/maebashi/docker-metricsd – GoݴޠͰهड़ɺdockerͷlibcontainerΛར༻
©ɹ2014 Internet Initiative Japan Inc. ߏ
©ɹ2014 Internet Initiative Japan Inc. docker-metricsd
©ɹ2014 Internet Initiative Japan Inc. ઃఆ • ऩूtypeΛsnmp,dockerʹͯ͠ɺ docker-metricsdͷport൪߸Λࢦఆ •
InfluxDB writerΛՃ (gritab) host.example.com ver=2c community=public \ type=snmp,docker docker-port=12375 (crontab) /5 * * * * admin /usr/bin/gri --add-writer influxdb
©ɹ2014 Internet Initiative Japan Inc. InfluxDBʹೖ
©ɹ2014 Internet Initiative Japan Inc.