zabbix_export:
version: '6.0'
templates:
-
uuid: a7e5e31b514644ea990eb5527163aabb
template: 'LW_Template SNMP Network Topology x64'
name: 网络端口通用模板64位_V2
groups:
-
name: Templates/Network devices
items:
-
uuid: 68ac22e019cd49a19cb10675273f749c
name: 端口数量
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifNumber.0'
key: ifNumber
delay: '3600'
history: 7d
description: 'The number of network interfaces (regardless of their current state) present on this system.'
tags:
-
tag: Application
value: 端口信息
discovery_rules:
-
uuid: 07a3be5410f8431a9db7cdfcf1e83069
name: '端口表 UP'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},IF-MIB::ifName,{#SNMPOPEN},IF-MIB::ifOperStatus]'
key: ifDescr
delay: '3600'
filter:
evaltype: AND
conditions:
-
macro: '{#SNMPVALUE}'
value: '@Network interfaces for discovery'
formulaid: B
-
macro: '{#SNMPOPEN}'
value: (1|3)
formulaid: A
lifetime: 3d
description: 端口表
item_prototypes:
-
uuid: 4ec940b171e947e48c9476219d57cbc6
name: '{#SNMPVALUE}(端口启用管理状态)'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifAdminStatus.{#SNMPINDEX}'
key: 'ifAdminStatus[{#SNMPVALUE}]'
delay: 2m
history: 7d
valuemap:
name: 'SNMP 接口状态 (ifAdminStatus)'
tags:
-
tag: Application
value: 端口状态
-
uuid: 7d9849c4177d4b5b939b645f01cabf39
name: '{#SNMPVALUE}(端口描述)'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifAlias.{#SNMPINDEX}'
key: 'ifAlias[{#SNMPVALUE}]'
delay: 1d
history: 7d
trends: '0'
value_type: CHAR
description: 端口描述
tags:
-
tag: Application
value: 端口信息
-
uuid: 5b82edea1ab6476eaaee13c810fb2482
name: '{#SNMPVALUE}(端口每秒接收速率)'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifHCInOctets.{#SNMPINDEX}'
key: 'ifHCInOctetsPersecond[{#SNMPVALUE}]'
delay: 2m
history: 7d
units: bps
description: 端口每秒接收速率
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '8'
tags:
-
tag: Application
value: 端口速率
-
uuid: a75b74cf201f4b4b919889fd6c3ffbac
name: '{#SNMPVALUE}(端口接收总流量)(5分钟)'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifHCInOctets.{#SNMPINDEX}'
key: 'ifHCInOctets[{#SNMPVALUE}]'
delay: 5m
history: 7d
status: DISABLED
discover: NO_DISCOVER
units: B
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: Application
value: 端口速率
-
uuid: a8850a46ec77413bbd708ebeece730dc
name: '{#SNMPVALUE}(端口每秒发送速率)'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifHCOutOctets.{#SNMPINDEX}'
key: 'ifHCOutOctetsPersecond[{#SNMPVALUE}]'
delay: 2m
history: 7d
units: bps
description: |
端口每秒发送速率
.
zabbix监控交换机通用模板
最新推荐文章于 2025-04-21 13:55:30 发布