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
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
280
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
5k
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.2k
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.2k
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
570
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
160
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
760
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
430
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
730
mrbgem 三角測量 開発
ogom
0
140
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
710
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
From π to Pie charts
rasagy
1
380
Building the Perfect Custom Keyboard
takai
2
890
Balancing Empowerment & Direction
lara
6
1.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
240
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
560
Deep Space Network (abreviated)
tonyrice
0
340
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
まとめ