SlideShare ist ein Scribd-Unternehmen logo
1 von 16
ZABBIX APIでダッシュボードを作ってみた
TECH-CIRCLE #13 LIGHTNING TALKS
2016/3/16
Takayuki Ushida
自己紹介
 牛田 隆之(Ushida Takayuki)
 株式会社 インテック
 業務内容
インフラ構築・運用、監視設計・構築
※業務としてアプリケーション開発を行ったことはありません。
(Excel・Access VBA、Perl位)
 今まで使用したことのある商用監視ソフトウェア
 HP OpenView
NetworkNodeManager(NNM)、 Operations(OVO)
 EMC Patrol
 日立 JP1
Integrated Management(IM)、NetworkNodeManager i (NNMi)、
SNMP System Observer(SSO)
 NRI Senju/OC
ZabbixのUIについて
商用ソフトは、ベンダーのインストールサポートや講習なしに使おうとすると非常
に学習コストは高いと思います。
また商用ソフトの多くは機能別にプロダクトが分かれてしまっていて、UIや設定
がバラバラで統一感がない。。。
 ZabbixのUIについて、「難しい」「めんどう」「使いづらい」といった
ことを、時々聞きますが・・・
個人的には商用ソフトと比べても、
ずっと洗練されていると思っています。
Zabbix UIの区分け
 設定系
 ディスカバリ機能やAPIを使って大部分が自動化可能
 一度作りこんで安定すれば、殆ど手動で変更する必要がなくなる。
 モニタリング系
 アラート発生の度、閲覧
 障害の原因究明、相関関係把握、リソース需要予測
 イベント発生内容分析
ver3.0リリース
全体の変更点から比べると、モニタリングに関わる変更は少
なめ
運用に入ったら圧倒的に
触る頻度が高い
Zabbix UI に求めること
イベント画面
 多角的に、リアルタイムに集計・フィルタリング・グラフ化し
たい
Csvでエクスポートして、Excelのピボットテーブルで集計することもあるが、手
間が掛かる。
同時多発的に繰り返しイベントが発生すると、今のイベントの画面は状況を
把握しずらい。リアルタイムに集計、視覚的に分かりやすく表示したい。
Zabbix UI に求めること
スクリーン画面 【Twitterで検索 「Zabbix」+「スクリーン」】
 Zabbix スクリーン職人してる
 ポチポチゲー(ZABBIXのスクリーンにグラフ登録)してる
 うーん、Zabbix でグラフを一覧表示しようとしたらスクリーンとかいうのを作るしか無いの? 超めんどい
 Zabbixのスクリーン設定で挫折
 スクリーンはXMLを切り貼りするという悲しい作業を行っております。うまく頑張れば自動化できなくないですが、おそらく増減はつ
らいですのう #Zabbix
 zabbixでホスト追加したら勝手にscreenにリソース使用状況追加する方法ないんかな
 やはり、運用者の悩みは無数に増えるホストの自動スクリーン化ですね。
 Zabbixのスクリーンにグラフ追加していく作業、数が多いと大変なんだけど、みんな手でやってるのかな?
 zabbixスクリーン設定中。これもっと簡単につくれるようにならないかな。便利なんだけどなー
 zabbixのスクリーンでグラフの重複あるんだけど、後続を1つずつずらすのは強い精神力が求められる…。
 ホスト追加作業のうち一番面倒なのがzabbixのスクリーンに追加する作業なのでこれ何とかしたい
スクリーン画面に対しては、みんな不満がいっぱい
 グラフ見てたらなんか変だなーというのはすぐ気づけるのに、大量にあるのでなかなか全部見ていられなくて気づけないの何とかし
たい。なにしろzabbixのスクリーンが200枚
 zabbixのスクリーンの設定がめんどうだなぁ。「すべてのサーバの同一項目グラフを並べる」とか、「指定サーバのすべてのグラフを
並べる」とか一発でやりたい。まあスクリプトで出来るんだろうけど。
 Zabbixで可視化といえば、ホストとグラフで掛け算でスクリーン作れるようになって欲しい。まあAPI出頑張れば良いんだろうけど
……
 Zabbixのローレベルディスカバリでアイテムを自動追加できるようにしたけど、1つのグラフに複数アイテムを描画させるようにする
ことは出来ないのか。スクリーンで対応するしかないのかな…
 開して並べてくれるスクリーン拡張(要はMuninスクリーン)と、グラ縦一列のスクリーンを定義しておくと、指定したホストグループ
内のホストを横方向に展フ凡例のタイムスタンプに改行挟んでグラフサイズを小さくする二つを要望として出した。
 Zabbixで、ホストグループ内の全ホストの、特定のグラフだけを横に並べて見るには自分でスクリーン作らないと無理かな。作る
の超めんどくせえし、ホストが増減するたびにメンテとかしたくないなあ
 zabbixのスクリーンに、条件に当てはまる項目をとりあえず並べるっ、て機能が欲しい。EC2で勝手に上げ下げしてるサーバも
一覧で監視したい。
 Zabbixのスクリーン設定でセルに貼るグラフの幅は「画面に合わせて」ってできないのかなー
 Zabbixのスクリーン作る時にhsizeとvsize指定しないといけないのどうにかしてほしい
あいまいにグループorアイテムを串刺し検索して、ざっくりと全体を俯瞰
したい
位置や大きさは適当に並べてほしい。
Zabbix UI に求めること
スクリーン画面 【Twitterで検索 「Zabbix」+「スクリーン」】
まとめる
と...
Zabbix UI に求めること
 よくあるスクリーン画面作り方
ホスト
アイテム
Or
カスタムグラフ
サーバ同士のメトリクスを並べるのは比較し、
相関性、または他と外れた傾向を見つけ出した
いから。
ホストの数が多いと比較不可能!
Zabbix UI に求めること
 ホストが多い環境では同じ役割(=ロール)のホストの同じアイテムを一グラフ内に集約
しかしカスタムグラフで作るのは滅茶苦茶大
変!
Ver2.4以降ならアドホックグラフがある
アドホックグラフは保存しておけない。
スクリーンの1セルとして登録できない
⇒他のアイテム・ロール間で比較できない
同じ軸で比較することで
他と挙動の異なるホスト
が一目で分かる!
ZabiRepoの紹介(実演)
-ダッシュボード
※スマートフォンでの表示
※画面は開発中のものです
チャートはクリッ
カブルになってお
り、他のグラフ、
リストと連動
直感的に、スピー
ディーに絞り込め
る
レスポンシブデザインに
対応し、スマートフォン
でも破綻のない表示が可
能
ZabiRepoの紹介(実演)
-イベント
※画面は開発中のものです
ブラウザ上でピボット
テーブルライクな操作が
可能。
ZabiRepoの紹介(実演)
-グラフ
※画面は開発中のものです
設定はグループとアイテムの選択のみ
アイテムはアスタリスクによる曖昧検索
が可能。グループorアイテムを軸として
自動的に串刺し検索し、アドホックグラ
フを一括表示。
今後やりたいこと
 ネットワークトポロジーの自動生成
L2、L3、L5レイヤー。アラート状態の重畳表示
 JSライブラリを使ったグラフの自前描画
グラフ表示画面での柔軟なフィルタ、マウスオーバー時のインタラクティブな情報
表示
 Analysis機能
トレンド系チャート(単純・加重移動平均、移動平均乖離率、ボックスチャー
ト、母標準偏差 etc…)
異常アイテムに対して正の相関、負の相関関係にあるアイテムの相関係数ラ
ンキング&グラフ比較表示への誘導
まとめ
 ダッシュボードでは、アラート発生サマリーをグラフで比率表示し、影響箇所及
び影響度合いを視覚的に伝達
 イベント情報は、ユーザがブラウザ上でさまざまな角度で直接集計、グラフ化可
能
 グラフでは、グループ(=ロール)またはアイテムを軸として串刺し検索し、アド
ホックグラフを一括表示
動的に検索するため、グループ内でホストが増減しても変更必要なし。
 全体としてレスポンシブデザインを取り入れスマホでの表示に対応。
その他
 作成期間
1.5ヶ月(サンデープログラミング)
Javascriptプログラミング暦: 1.5ヶ月
 アーキテクチャー
HTML+Javascript (サーバサイドな
し)
使用ライブラリ AdminLTE2
Bootstrap
c3.js
crossfilter
d3.js
dc.js
Font-Awesome
ionicons
jQuery
jquery.blockUI
jquery.multi-select.js
jQueryUI
jqzabbix.js
pathseg
pivot.js
zoom.js
ご清聴ありがとうございました

Weitere ähnliche Inhalte

Kürzlich hochgeladen

モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...博三 太田
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)Hiroshi Tomioka
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NTT DATA Technology & Innovation
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfFumieNakayama
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfFumieNakayama
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineerYuki Kikuchi
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?akihisamiyanaga1
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)UEHARA, Tetsutaro
 

Kürzlich hochgeladen (8)

モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Tech-Circle#13 Zabbix APIでダッシュボードを作ってみた

Hinweis der Redaktion

  1. 開講にあたっての詳細情報、クラス/プロジェクトに必要な教科書/教材
  2. 任意の期間/目標設定用のスケジュール構成
  3. 任意の期間/目標設定用のスケジュール構成
  4. 講座、講義などのまとめ
  5. 講座、講義などのまとめ
  6. 講座、講義などのまとめ
  7. 講座、講義などのまとめ