Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Mackerelとペパボとプラグインと / Mackerel & Pepabo & Plugins
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
buty4649
September 17, 2018
Programming
2.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mackerelとペパボとプラグインと / Mackerel & Pepabo & Plugins
Mackerel UG x IDCFクラウド UG Meetup #1での発表資料です。
https://mackerel-ug.connpass.com/event/99477/
buty4649
September 17, 2018
More Decks by buty4649
See All by buty4649
mrubyでワンバイナリーなテキストフィルタツールを作った / Building Text Filtering Tools with mruby #tokyorubykaigi
buty4649
0
170
mrubyで始める自作シェル / Handmade bash-like shell with mruby
buty4649
1
760
AWS DirectConnectを使ったハイブリットクラウドの構築と活用 / hybrid cloud with aws directconnect
buty4649
0
780
開発効率をあげるgitテクニック / Useful git
buty4649
1
1.1k
プライベートクラウドではじめるDevOps / Private Cloud and DevOps
buty4649
1
3.7k
ラズパイで始める電子工作 / Raspberry PI de Asobu
buty4649
0
1.2k
5分でわかるOpenStack Octavia / OpenStack Octavia in 5min
buty4649
0
1.3k
Mackerel User Groupの説明 / about mackerel user group
buty4649
0
3.1k
100行あったmod_rewirteを ngx_mrubyで書き換えた話
buty4649
5
9.4k
Other Decks in Programming
See All in Programming
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
130
App Intentsのビルドプロセスを支える技術
kntkymt
0
500
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
520
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.3k
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
190
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.3k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
170
Workers Cache を知る
syumai
0
320
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
170
APNsからLive Activityを開始する話
yumnumm
0
150
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
950
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Between Models and Reality
mayunak
4
480
YesSQL, Process and Tooling at Scale
rocio
174
15k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
Mind Mapping
helmedeiros
1
390
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
310
Transcript
Mackerelとペパボとプラグインと
高谷雄貴 @buty4649 GMOペパボ株式会社 シニアエンジニア 技術部 プラットフォームグループ
ブログ: https://mackerel-ug.hatenablog.com/ Slack: https://mackerel-ug-slackin.herokuapp.com/
None
https://mackerel.io/ja/customers/pepabo/
• 導入当初は100台 ◦ 今は1200台くらい • NagiosやMuninからの置き換え • 当時はインフラエンジニアのみ利用 ◦ 今はインフラエンジニア以外も積極的に利用
2015年4月よりMackerelを本格利用
• フルマネージド • API • 日本製 • オープンソース • 豊富なプラグイン
• 拡張性 • and more !! Mackerelの好きなところ
• フルマネージド • API • 日本製 • オープンソース • 豊富なプラグイン
• 拡張性 • and more !! Mackerelの好きなところ 簡単にプラグインが作れる!!
HWの監視したいなぁ
[plugin.checks.sensor_error] command = "/usr/bin/ipmitool sdr list | awk -F\\| '$3
!~ /ok|ns/{print $1;exit 2}'"
[plugin.checks.sensor_error] command = "/usr/bin/ipmitool sdr list | awk -F\\| '$3
!~ /ok|ns/{print $1;exit 2}'" とっても簡単!!
弊社のプラグイン紹介
• 弊社 @hfm が作成 • https://github.com/hfm/mackerel-plugin-proxysql • ProxySQL導入に際し作成 • 公式プラグインレジストリに登録済み!
mackerel-plugin-proxysql
• 弊社 @hfm が作成 • https://github.com/hfm/mackerel-plugin-mogilefs • MogileFSのメトリクスを取得 • 公式プラグインレジストリに登録済み!
mackerel-plugin-mogilefs
• 弊社 @yano3 が作成 • https://github.com/yano3/mackerel-plugin-http-status-counter • ngx_mrubyと連携してメトリクスを取る ◦ アクセス数
◦ ステータスコード ◦ レイテンシ • mackerel-plugin-accesslog と同等の機能 ◦ こちらはアクセスログをパースする ◦ https://mackerel.io/ja/blog/entry/advent-calendar2017/day9-mackerel-p lugin-accesslog mackerel-plugin-http-status-counter
mackerel-plugin-http-status-counter
• オートスケール時のインスタンスガチャを検知 ◦ 時々サービスできないインスタンスが生まれる • 起動されたインスタンス数とconsul memberの数を比較 • 差があるとMackerelから通知 異常なインスタンスの検出
インスタンス サービス インスタンスは起動している サービスにはアクセスできない
• plugin.metrics.ssd_life ◦ SSDの寿命を監視 • plugin.metrics.arp_entry ◦ ARPキャッシュのエントリ数を監視 • plugin.checks.sensor_error
◦ HWの故障を検知 • plugin.checks.zombie_vm ◦ ゾンビ化したVMを監視 弊社のプライベートクラウドを支えるプラグイン
(最新作!!) mackerel-plugin-unbound
mackerel-plugin-unbound
まとめ
• Mackerelはプラグインがすぐに作れて便利 • やりたいことがすぐに実現できる • 公式プラグインになくてもすぐに作れる • 汎用的なものはPublicにするとより良いと思う ◦ https://github.com/mackerelio/plugin-registry
まとめ