zabbix_export:
version: '6.0'
templates:
-
uuid: 8638ddead0a0416297455d72ecdcd076
template: 'Template of Snmp RuiJie General'
name: 'Ruijie硬件监控'
groups:
-
name: Templates/Network devices
items:
-
uuid: 063d2bb3edd64113a95d0215fdceaf0c
name: CPU使用率(1min内)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.2.0
key: 'CPUUsage[last1min]'
units: '%'
tags:
-
tag: Application
value: 性能
-
uuid: 700666feb3ef43feb68523ca55640fbb
name: CPU使用率(5min内)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.3.0
key: CPUUsage_last5min
units: '%'
tags:
-
tag: Application
value: 性能
-
uuid: 341e2cb7372d4cf49b2afd5a045739cb
name: CPU使用率(5s内)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.1.0
key: CPUUsage_last5sec
units: '%'
tags:
-
tag: Application
value: 性能
-
uuid: 236a8292058745269e3b166c0c7b696b
name: 序列号
type: SNMP_AGENT
snmp_oid: enterprises.4881.1.1.10.2.1.1.24.0
key: dev.serial
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 常规
-
uuid: 2e07dbe2cbb349a3b1ac3d4bb6b0ebb3
name: 软件版本
type: SNMP_AGENT
snmp_oid: enterprises.4881.1.1.10.2.1.1.2.0
key: dev.software.version
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 常规
-
uuid: f4309682963647a39f32fc2b7a3a8aca
name: 固件版本
type: SNMP_AGENT
snmp_oid: enterprises.4881.1.1.10.2.1.1.3.0
key: dev.version
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 常规
-
uuid: 635e552e732e41ffaa803f1a8757f5c0
name: 空闲内存(KB/B)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.8.1
key: MemoryFree
units: B
description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
tags:
-
tag: Application
value: 性能
-
uuid: ed93bc3565aa4b56b3a07828feea8c8e
name: 内存大小(KB/B)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.6.1
key: MemorySize
units: B
description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
tags:
-
tag: Application
value: 性能
-
uuid: 5a03424f10484a058cb8ddf3535027c0
name: 内存使用率
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.3.1
key: MemoryUsage
units: '%'
tags:
-
tag: Application
value: 性能
-
uuid: d22fa0e0d02b4619957f25410854f9b5
name: 已用内存(KB/B)
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.7.1
key: MemoryUsed
units: B
description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
tags:
-
tag: Application
value: 性能
discovery_rules:
-
uuid: 8dd330fed0fb4b6da2d3977aa18bd6f7
name: 设备信息
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.25.1.1]'
key: dev.info
delay: 1h
lifetime: 10d
description: 索引号
item_prototypes:
-
uuid: 3c6fdbdf0c7949a3b5a54335e28d4f97
name: '设备 {#SNMPVALUE} 描述'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.2.{#SNMPINDEX}'
key: 'dev.descr[{#SNMPVALUE}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 设备信息
-
uuid: b79ca4c03653448b8451ced5259b65d1
name: '设备 {#SNMPVALUE} 固件版本'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.3.{#SNMPINDEX}'
key: 'dev.firmware[{#SNMPVALUE}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 设备信息
-
uuid: 7032ad545a494d0999c7d96957528e09
name: '设备 {#SNMPVALUE} 序列号'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.7.{#SNMPINDEX}'
key: 'dev.serial[{#SNMPVALUE}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 设备信息
-
uuid: fc460bc7750849f8bd3618e84afee954
name: '设备 {#SNMPVALUE}系统版本'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.5.{#SNMPINDEX}'
key: 'dev.version[{#SNMPVALUE}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: 设备信息
-
uuid: 149595da01db4a5a8fa64c0be30ed2c8
name: 风扇
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.21.1.3]'
key: fan
delay: 1h
lifetime: 10d
item_prototypes:
-
uuid: 490b3576efee4bcea4d8ad7d37da7919
name: '风扇{#SNMPVALUE} 状态'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.21.1.2.{#SNMPINDEX}'
key: 'fan.status[FAN{#SNMPVALUE}]'
delay: 60s
history: 7d
valuemap:
name: '设备状态'
tags:
-
tag: Application
value: 风扇
trigger_prototypes:
-
uuid: 9d445c1b997f429aa207d7c9d0951c06
expression: 'last(/Template of Snmp RuiJie General/fan.status[FAN{#SNMPVALUE}])=1'
name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
priority: HIGH
description: |
4 - 正常
1 - 缺失
manual_close: 'YES'
-
uuid: 18f97fdf24d74c1d89ed59622329eadf
name: 电源
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.18.1.3]'
key: power
delay: 1h
lifetime: 10d
item_prototypes:
-
uuid: 1497baabf4434998a385dbce6e93afda
name: '电源 {#SNMPVALUE} 状态'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.18.1.2.{#SNMPINDEX}'
key: 'power.status[{#SNMPVALUE}]'
delay: 60s
history: 7d
valuemap:
name: '设备状态'
tags:
-
tag: Application
value: 电源
trigger_prototypes:
-
uuid: 6c1aa6fe933942f78404740f9d9cd0fc
expression: 'last(/Template of Snmp RuiJie General/power.status[{#SNMPVALUE}])=1'
name: '设备 {HOST.NAME} 电源 {#SNMPINDEX} 状态不正常'
priority: HIGH
description: |
4 - 正常
1 - 缺失
manual_close: 'YES'
-
uuid: 99540e0902ec4f8cbf8a0e8080e68da0
name: 风扇模块
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.42.1.1.1]'
key: switch1.fan
delay: 1h
lifetime: 1d
description: 模块名称
item_prototypes:
-
uuid: 3b76d284ef7a464caa588c0771605895
name: '风扇 {#SNMPINDEX} 序列号'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.9.1.{#SNMPINDEX}'
key: 'switch1.fan.serial[{#SNMPINDEX}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: '交换机1 风扇模块'
-
uuid: e4a657565f69494b959adfb1ecfdcd22
name: '风扇 {#SNMPINDEX} 当前转速'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.43.1.5.1.{#SNMPINDEX}.1'
key: 'switch1.fan.speed[{#SNMPINDEX}]'
delay: 60s
history: 7d
tags:
-
tag: Application
value: '交换机1 风扇模块'
-
uuid: e92c07f09df74be09df755e54a872ecb
name: '风扇 {#SNMPINDEX} 状态'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.3.1.{#SNMPINDEX}'
key: 'switch1.fan.status[{#SNMPINDEX}]'
delay: 60s
history: 7d
valuemap:
name: '设备状态'
tags:
-
tag: Application
value: '交换机1 风扇模块'
trigger_prototypes:
-
uuid: 60b6169cea874578ac5d08e85b800a53
expression: 'last(/Template of Snmp RuiJie General/switch1.fan.status[{#SNMPINDEX}])=1'
name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
priority: HIGH
description: |
4 - 正常
1 - 缺失
manual_close: 'YES'
-
uuid: 9833551865284d498a9e7ef35b43a582
name: '风扇 {#SNMPINDEX} 转速上限'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.43.1.6.1.{#SNMPINDEX}.1'
key: 'swith1.fan.upper[{#SNMPINDEX}]'
delay: 1d
history: 7d
value_type: FLOAT
tags:
-
tag: Application
value: '交换机1 风扇模块'
-
uuid: 13fb8a5bc3f74663b6219911732b6a15
name: '风扇 {#SNMPINDEX} 版本'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.8.1.{#SNMPINDEX}'
key: 'swithc1.fan.version[{#SNMPINDEX}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: '交换机1 风扇模块'
-
uuid: ebc3b1034caf4bc296ee7cf0c8e2148f
name: 电源适配器模块
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.41.1.1.1]'
key: switch1.module
delay: 1h
lifetime: 1d
description: 模板名称
item_prototypes:
-
uuid: abc04c479e12499187b08eda01d1a219
name: '电源模块 {#SNMPVALUE} 额定电流'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.13.1.{#SNMPINDEX}'
key: 'switch1.power.amp[{#SNMPINDEX}]'
delay: 1d
history: 7d
units: A
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: 925a248f536642abb784ea7f05a294e4
name: '电源模块 {#SNMPVALUE} 序列号'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.8.1.{#SNMPINDEX}'
key: 'switch1.power.serial[{#SNMPINDEX}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: c323de25d40b4deea20027d6c64ed455
name: '电源模块 {#SNMPVALUE} 状态'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.3.1.{#SNMPINDEX}'
key: 'switch1.power.status[{#SNMPINDEX}]'
delay: 60s
history: 7d
valuemap:
name: '设备状态'
tags:
-
tag: Application
value: '交换机1 电源模块'
trigger_prototypes:
-
uuid: 680873cd89e748c08ce74c397a3a2996
expression: 'last(/Template of Snmp RuiJie General/switch1.power.status[{#SNMPINDEX}])=1'
name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
priority: HIGH
manual_close: 'YES'
-
uuid: 00bf5f1b113a4583bb435184cadd5527
name: '电源模块 {#SNMPVALUE} 额定功率'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.10.1.{#SNMPINDEX}'
key: 'switch1.power.upper[{#SNMPINDEX}]'
delay: 1d
history: 7d
units: W
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: 1c7dbc0b7b744cf094cb097158a7fc65
name: '电源模块 {#SNMPVALUE} 当前功率'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.11.1.{#SNMPINDEX}'
key: 'switch1.power.value[{#SNMPINDEX}]'
delay: 60s
history: 7d
units: W
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: c32d85f4cedb4c9d95e41cebbb63a0fb
name: '电源模块 {#SNMPVALUE} 版本'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.7.1.{#SNMPINDEX}'
key: 'switch1.power.version[{#SNMPINDEX}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: 2421ccd9dfa9406ea400323513ecbef9
name: '电源模块 {#SNMPVALUE} 当前电压'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.16.1.{#SNMPINDEX}'
key: 'switch1.power.voltage[{#SNMPINDEX}]'
delay: 60s
history: 7d
value_type: FLOAT
units: V
tags:
-
tag: Application
value: '交换机1 电源模块'
-
uuid: 452526d75ef64bd6b057051ae1f315e0
name: 其他模块
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.44.1.4.1.0]'
key: switch1.other
delay: 1h
lifetime: 1d
description: 模块名称
item_prototypes:
-
uuid: 2c195795d44946a98c96446afe60beee
name: '模块 {#SNMPVALUE} 温度上限值'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.7.1.0.{#SNMPINDEX}'
key: 'switch1.temp.upper[{#SNMPVALUE}]'
delay: 1d
history: 7d
units: ℃
tags:
-
tag: Application
value: '交换机1 其他模块'
-
uuid: 7d02885a606d42fb88da3ec2ca1cd2fe
name: '模块 {#SNMPVALUE} 当前温度'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.6.1.0.{#SNMPINDEX}'
key: 'switch1.temp.value[{#SNMPVALUE}]'
delay: 60s
history: 7d
units: ℃
tags:
-
tag: Application
value: '交换机1 其他模块'
trigger_prototypes:
-
uuid: 3d1208a765c641749e80c97e160a1e66
expression: 'sum(/Template of Snmp RuiJie General/switch1.temp.value[{#SNMPVALUE}],300s)>80'
name: '设备 {HOST.NAME} 模块 {#SNMPVALUE} 温度持续5分钟大于80℃'
priority: HIGH
manual_close: 'YES'
-
uuid: 865318980c7d4fed9aa20a913b6b151b
name: '模块 {#SNMPVALUE} 当前电压'
type: SNMP_AGENT
snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.5.1.0.{#SNMPINDEX}'
key: 'switch1.voltage[{#SNMPVALUE}]'
delay: 60s
history: 7d
units: V
tags:
-
tag: Application
value: '交换机1 其他模块'
valuemaps:
-
uuid: 2851250bd54e4c98b0bda1c53c55fefa
name: '设备状态'
mappings:
-
value: '1'
newvalue: 缺失
-
value: '4'
newvalue: 正常
zabbix硬件监控通用模版
于 2024-04-23 10:53:33 首次发布