天天看點

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

自學Zabbix3.8.2-可視化Visualisation-maps網絡地圖

在Zabbix螢幕上,您可以将來自不同來源的資訊分組,以快速浏覽單個螢幕。建構螢幕非常簡單直覺。

screens就是将多個圖表graph放置在一起。

本質上,螢幕是一個表。您可以選擇每個表中有多少個單元格,以及在單元格中顯示哪些元素。以下元素可以顯示:

  • simple graphs
  • simple graph prototypes
  • user-defined custom graphs
  • custom graph prototypes
  • maps   顯示一個map
  • other screens
  • plain text information
  • server information (overview)
  • host information (overview)
  • trigger information (overview)  顯示某些triggers的資料 / 某些application的triggers的資料
  • host/hostgroup issues (status of triggers)    一個host或host group 中的所有triggers的狀态
  • system status    顯示每一個host group的trigger資料
  • data overview        顯示一組host group 的某些application的item的值
  • clock         顯示目前時間,是一個拟物的時鐘
  • history of events      最近zabbix發生的事件
  • history of recent actions   最近zabbix執行的action曆史記錄
  • URL

1. 建立screen

點選monitoring--screen--create screen,輸入如下資訊:

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
  • Name: screen名稱,可以用中文
  • Columns:列個數
  • Rows:行個數
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

2. screen元素添加

點選configuration--screen--"測試"

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

說明:

  • change:可添加元素,例如圖表、map、text等等元素
  • 加号:相應增加行或者列
  • 減号:響應删除行或者列

3. change參數說明

 參數  說明
 Resource

simple graphs

user-defined custom graphs

maps

other screens

plain text information

server information (overview)

hosts information (overview)

trigger information (overview)

host/hostgroup issues (status of triggers)

system status

data overview

clock

history of events

history of actions

URL (data taken from another location)

Horizontalalign

水準對齊方式:

Center(居中)

Left(左對齊)

Right(右對齊)

 Vertical align

垂直對齊方式:

Middle(中間)

Top(頂部)

Bottom(底部)

Column span 列跨度,目前元素占用幾個列
Row span 行跨度,目前元素占用幾個行
Dynamic item

動态元素,有點不好了解。如果這個screen有一個元素選中了Dynamic elements,在monitoring->screen,screen下拉清單選擇這個screen,會出現hosts下拉表,選中一個hosts,如果目前元素不屬于這個主機,那麼不會顯示,如果屬于這個主機便會顯示。

隻有當resource選擇為graph、simple graph、plain graph時在生效。

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

4. Dynamic elements

4.1 普通的screen

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

4.2 dynamic elements

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

dynamic elements

  • 可以選擇主機host
  • 可以選擇組group,不屬于任何hosts,是以不管你選哪一個host,他都能正常顯示
  • 動态元素支援的類型:Graphs (custom graphs)、Simple graphs、Plain text
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦

5.screen 執行個體:完成兩台裝置CPU監控screen

自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦
自學Zabbix3.8.3-可視化Visualisation-Screens點選傳回:自學zabbix集錦