Ruijie的AC监控模板
zabbix_export:
version: ‘6.0’
date: ‘2021-11-21T21:22:30Z’
groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
-
uuid: 045968756727494a935ec6dcc4c2f764
name: 交换机
templates:
-
uuid: 692518ca28a944eeac69a9acc4d21455
template: ‘Device Ruijie AC’
name: ‘Ruijie AC’
description: |
## Overview
# Ruijie 无线控制器
### 功能
- CPU、内存使用率
- 序列号
- 流量
- 各种认证协议在先用户数量
- 在线AP数
- DHCP地址池发现,地址池满报警
- AP发现,AP在线时间监控,AP断线报警
- 一张聚合图形
### 宏
- {$SNMP\_COMMUNITY}: SNMP v2 团体字
- {$DHCP\_POOL\_H}: 地址池阈值
### 其他
- CPU、内存的硬件序号因设备型号而定,需要按照型号不同进行调整
fix:修正了链接模板后重复应用集无法导入的问题。
## Author
thuhak
groups:
-
name: Templates
-
name: 交换机
items:
-
uuid: 4948668bdcc24625ba213e2acb534b69
name: 在线AP数量
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.2011.10.2.75.1.1.2.1.0
key: ap.count
delay: '120'
history: 7d
tags:
-
tag: Application
value: AP
-
uuid: 04a4266dff534be09b1aa59f62405978
name: 上行流量
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.2011.10.2.75.1.1.2.10.0
key: Bps_in
delay: '60'
history: 7d
units: Bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
tags:
-
tag: Application
value: Network
-
uuid: 9ee422ed2c2e40f0bbe5b55382735b32
name: 下行流量
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.2011.10.2.75.1.1.2.11.0
key: Bps_out
delay: '60'
history: 7d
units: Bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
tags:
-
tag: Application
value: Network
-
uuid: 20ac861b8c6b48e3801bdabde028ca2b
name: 内存使用率
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.2011.10.2.6.1.1.1.1.8.97
key: cpu.mem_usage
delay: '60'
history: 7d
units: '%'
tags:
-
tag: Application
value: Mem
-
uuid: f888c506cfd847b8ac2d020ec50bc55d
name: 'CPU 使用率'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.2011.10.2.6.1.1.1.1.6.97
key: cpu.usage
delay: '60'
history: 7d
units: '%'
tags:
-
tag: Application
value: CPU
-
uuid: 5ae80ac9f822447f8328bfa76b651cbf
name: 每秒DHCP请求数
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.2011.10.2.101.1.2.0
key: dhcp.requests
delay: '60'
history: 7d
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
tags:
-
tag: Application
value: DHCP
-
uuid: 55b10a56b6644b79be6e2073fc9d4875
name: 'AP $1 在线时间'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.2011.10.2.75.2.1.10.1.1.{#SNMPINDEX}'
key: 'ap.onlinetime[{#APNAME}]'
delay: '120'
history: 7d
value_type: FLOAT
units: s
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
tags:
-
tag: Application
value: AP
trigger_prototypes:
-
uuid: acb8ecf3fd7f4a42b1a267241886ce4e
expression: 'max(/Device H3C AC/ap.onlinetime[{#APNAME}],1d)=0'
name: 'AP {#APNAME} 一天不在线'
priority: AVERAGE
-
uuid: 88f135722f084705a2bfc7820afba1b3
name: 'AP $1 portal认证在线用户数'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.2011.10.2.75.2.2.29.1.1.{#SNMPINDEX}'
key: 'ap.portal[{#APNAME}]'
delay: '120'
history: 7d
status: DISABLED
tags:
-
tag: Application
value: AP
-
uuid: e4df55e6cd0b4b01ad2fc15f3e427ca1
name: 'DHCP Server Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#DHCPPOOL}, 1.3.6.1.4.1.2011.10.2.101.2.2.1.1]'
key: dhcpserver
delay: '1200'
lifetime: 7d
item_prototypes:
-
uuid: c333a2a7d5be4bf682366b2c6fe98b65
name: 'DHCP 地址池 $1 利用率'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.2011.10.2.101.2.6.1.1.{#SNMPINDEX}'
key: 'dhcp.pool[{#DHCPPOOL}]'
delay: '120'
history: 7d
trends: '0'
units: '%'
tags:
-
tag: Application
value: DHCP
trigger_prototypes:
-
uuid: cc819be3a3a34a79a3e981251ffad361
expression: 'last(/Device H3C AC/dhcp.pool[{#DHCPPOOL}])>{$DHCP_POOL_H}'
name: 'AC 地址池 {#DHCPPOOL} 快满'
priority: HIGH
description: '地址池 {#DHCPPOOL} 使用率超过{$DHCP_POOL_H}%'
macros:
-
macro: '{$DHCP_POOL_H}'
value: '95'
dashboards:
-
uuid: 19bdebbc30004b58b1d5e6d3ec575b4a
name: 'H3C AC'
pages:
-
widgets:
-
type: GRAPH_CLASSIC
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 'CPU 使用率'
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
x: '12'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 内存使用率
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
'y': '5'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 流量
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
x: '12'
'y': '5'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 在线AP数量
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
'y': '10'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 在线用户
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
x: '12'
'y': '10'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 每秒用户掉线
host: 'Device H3C AC'
-
type: GRAPH_CLASSIC
'y': '15'
width: '24'
height: '5'
fields:
-
type: INTEGER
name: source_type
value: '0'
-
type: GRAPH
name: graphid
value:
name: 每秒DHCP请求
host: 'Device H3C AC'
graphs:
-
uuid: f4c0ccdb3be44fb0a56cf7bdb0959cec
name: ‘CPU 使用率’
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
color: 1A7C11
item:
host: ‘Device Ruijie AC’
key: cpu.usage
-
uuid: 504aceaaaa5544e4ad225b35c9591f71
name: 内存使用率
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
color: 1A7C11
item:
host: ‘Device Ruijie AC’
key: cpu.mem_usage
-
uuid: d21eb1d4988243349105ab86ca28712e
name: 在线AP数量
graph_items:
-
color: 1A7C11
item:
host: ‘Device Ruijie AC’
key: ap.count
-
uuid: 73219c76593f4e438a2599e311e9f7c0
name: 在线用户
graph_items:
-
color: 1A7C11
item:
host: ‘Device Ruijie AC’
key: user.mac
-
sortorder: ‘1’
color: F63100
item:
host: ‘Device Ruijie AC’
key: user.portal
-
sortorder: ‘2’
color: 2774A4
item:
host: ‘Device Ruijie AC’
key: user.free
-
sortorder: ‘3’
color: A54F10
item:
host: ‘Device Ruijie AC’
key: user.asso
-
uuid: 818f36dd57264b4fb194ab61d9d87333
name: 每秒DHCP请求
graph_items:
-
color: 1A7C11
item:
host: ‘Device H3C AC’
key: dhcp.requests
-
uuid: 394ce23c8b7f425693835f3f578c06e0
name: 每秒用户掉线
graph_items:
-
color: 1A7C11
item:
host: ‘Device H3C AC’
key: user.mac_lostcon
-
sortorder: ‘1’
color: F63100
item:
host: ‘Device H3C AC’
key: user.portal_lostcon
-
sortorder: ‘2’
color: 2774A4
item:
host: ‘Device H3C AC’
key: user.free_lostcon
-
sortorder: ‘3’
color: A54F10
item:
host: ‘Device H3C AC’
key: user.asso_lostcon
-
uuid: f5ae3c89605f49b38c49e981a431e2c9
name: 流量
graph_items:
-
color: 1A7C11
item:
host: ‘Device H3C AC’
key: Bps_in
-
sortorder: ‘1’
color: F63100
item:
host: ‘Device H3C AC’
key: Bps_out