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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
maebashi
June 12, 2014
Technology
560
1
Share
monitoring-tool-gri
Monitoring Casual Talks #6
maebashi
June 12, 2014
More Decks by maebashi
See All by maebashi
docker-metrics-grafana
maebashi
2
840k
glusterfs-pmux
maebashi
2
610
glusterfs-pmux-en
maebashi
0
95
pmux
maebashi
0
99
Other Decks in Technology
See All in Technology
QAエンジニアはどうやって プロダクト議論の場に入れるのか?
moritamasami
2
410
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
3
440
Agent の「自由」と「安全」〜未来に向けて今できること〜
katayan
0
340
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
0
130
色を視る
yuzneri
0
320
GitHub Copilot CLI と VS Code Agent Mode の使い分け
tomokusaba
0
140
古今東西SRE
okaru
1
140
雑談は、センサーだった
bitkey
PRO
2
210
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
4
1.2k
Google Cloud Next '26 の裏でこっそりリリースされたCloud Number Registry & Cloud Hub コスト分析 を試してみた
hikaru1001
0
170
freeeで運用しているAIQAについて
qatonchan
0
340
Building Production-Ready Agents Microsoft Agent Framework
_mertmetin
0
160
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The agentic SEO stack - context over prompts
schlessera
0
770
Mobile First: as difficult as doing things right
swwweet
225
10k
Code Reviewing Like a Champion
maltzj
528
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
130
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
230
Are puppies a ranking factor?
jonoalderson
1
3.4k
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.