Zabbix通过SNMP协议监控H3C交换机

1. H3C交换机开启SNMP协议

[H3C]snmp-agent 
[H3C]snmp-agent sys-info version v2
SNMPv1 and SNMPv2c are insecure because they transmit the community string and data in plaintext form.
[H3C]snmp-agent community read public
[H3C]snmp-agent sys-info version v2c v3
SNMPv1 and SNMPv2c are insecure because they transmit the community string and data in plaintext form.
[H3C]snmp-agent trap enable 
[H3C]snmp-agent target-host trap address udp-domain 192.168.2.111 udp-port 161 params securityname public v2c
#192.168.2.111为zabbix的IP地址

2. Zabbix添加主机

SNMP接口为H3C交换机IP地址,默认端口161

{$SNMP_COMMUNITY}键值为H3C交换机配置时的securityname

Zabbix通过SNMP协议监控H3C交换机_第1张图片
Zabbix通过SNMP协议监控H3C交换机_第2张图片

你可能感兴趣的:(笔记,网络,linux,snmp,zabbix,h3c)