zabbix monitor Huawei switches

1, switch configuration snmp service

snmp-agent /开启snmp服务
snmp-agent community complexity-check disable  /关闭团体名密码复杂度检查功能
snmp-agent community read lwczabbix /团体名设置为lwczabbix
snmp-agent sys-info version all /允许所有版本
display snmp-agent community
<s5700-52x-a1-a02>display snmp-agent community 
Community name:%^%#6coT!kI6/,RqS-ElrBbN|}_@0a6c<5obw&EbE%qF*`{{=@mGE'g|":,E++KD;iI13+E5XKzZ@,TF/m]J%^%# 
Group name:%^%#6coT!kI6/,RqS-ElrBbN|}_@0a6c<5obw&EbE%qF*`{{=@mGE'g|":,E++KD;iI13+E5XKzZ@,TF/m]J%^%# 
Storage-type: nonVolatile
<s5700-52x-a1-a02>

This switch configuration, by the test access zabbix-server
snmpwalk -v 2c -c lwczabbix 192.168.55.105

2, the monitoring zabbix adding switches
open Configuration-Hosts-Create host
zabbix monitor Huawei switches

Host tab, fill out the basic host names, group, ip address and port
zabbix monitor Huawei switches

Custom community name lwczabbix set on the Macros tab for the switch

zabbix monitor Huawei switches

Templates tab, set the connection template
zabbix monitor Huawei switches

Save it

Guess you like

Origin blog.51cto.com/7585527/2416632