自学Zabbix3.8.3-可视化Visualisation-Screens

点击返回:自学Zabbix之路

点击返回:自学Zabbix4.0之路

点击返回:自学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 (data taken from another location)

1. 创建screen

点击monitoring--screen--create screen,输入如下信息:

  • Name: screen名称,可以用中文
  • Columns:列个数
  • Rows:行个数

2. screen元素添加

点击configuration--screen--"测试"

说明:

  • 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时在生效。

4. Dynamic elements

4.1 普通的screen

4.2 dynamic elements   可以看到仅有screens一个下拉列表

dynamic elements

  • 可以选择主机host
  • 可以选择组group,不属于任何hosts,所以不管你选哪一个host,他都能正常显示
  • 动态元素支持的类型:Graphs (custom graphs)、Simple graphs、Plain text

5.screen 实例:完成两台设备CPU监控screen

posted on 2017-12-23 09:52  CARLOS_KONG  阅读(319)  评论(0编辑  收藏  举报

导航