1. 程式人生 > >Zabbix——設置模板

Zabbix——設置模板

stat allow 自動發現 comm tis 需要 png 描述 技術

前提條件:

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

1. 添加H3C網絡交換機的CPU和內存模板,並配置自動發現。

技術分享圖片

技術分享圖片

註意,需要添加完成後,重新進行搜索後再此進入才有下列選項。

技術分享圖片

技術分享圖片

添加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.

技術分享圖片

添加內存自動發現:

名稱: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——設置模板