前提条件:

  1. Zabbix版本为4.0
  2. 可以正常使用Server

1. 添加H3C网络交换机的CPU和内存模板,并配置自动发现。

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

Zabbix——设置模板 随笔 第1张

Zabbix——设置模板 随笔 第2张

注意,需要添加完成后,重新进行搜索后再此进入才有下列选项。

Zabbix——设置模板 随笔 第3张

 Zabbix——设置模板 随笔 第4张

添加CPU的自动发现:

名称:CPU Discovery
键值:cpu.discovery
SNMP OID:discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.2.6.1.1.1.1.6]
SNMP community:{$SNMP_COMMUNITY}
描述:
If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable ,
indexed with cpmCPUTotalIndex .
This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
like different CPU chips, group of CPUs, or CPUs in different modules/cards.
In case of a single CPU, cpmCPUTotalTable has only one entry.

Zabbix——设置模板 随笔 第5张

添加内存自动发现:

名称:Memory Discovery
键值:memory.discovery
SNMP OID:discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.2.6.1.1.1.1.8]
SNMP community:{$SNMP_COMMUNITY}
描述
If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable ,
indexed with cpmCPUTotalIndex .
This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
like different CPU chips, group of CPUs, or CPUs in different modules/cards.
In case of a single CPU, cpmCPUTotalTable has only one entry.

Zabbix——设置模板 随笔 第6张

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄