当前位置:   article > 正文

Zabbix通过SNMP协议监控H3C交换机_snmpv1 and snmpv2c are insecure because they trans

snmpv1 and snmpv2c are insecure because they transmit the community string a

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地址
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

2. Zabbix添加主机

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

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

在这里插入图片描述
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/156600
推荐阅读
相关标签
  

闽ICP备14008679号