华为S5700开启SNMP协议+zabbix监控
測試環境ENPS------S3700交換機:192.168.205.33
zabbix服務器------centos 7 zabbix3.4:192.168.205.19
Switch配置
S2]undo info-center enable
[S2]inter Vlanif 1
[S2-Vlanif1]ip add 192.168.205.33 24? \\設置vlan 1 IPaddress
[S2-Vlanif1]q
[S2]
[S2]ping 192.168.205.19?
PING 192.168.205.19: 56 data bytes, press CTRL_C to break
Reply from 192.168.205.19: bytes=56 Sequence=1 ttl=64 time=30 ms
Reply from 192.168.205.19: bytes=56 Sequence=2 ttl=64 time=1 ms
[S2]
[S2]snmp-agent sys-info version v2?? \\設置交換機snmp協議版本
[S2]
[S2]snmp-agent community read cipher public?? \\
[S2]
[S2]snmp-agent trap enable
Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y
[S2]
[S2]snmp-agent target-host trap address udp-domain 192.168.205.33 udp-port 161 p
arams securityname public?? \\
[S2]snmp-agent target-host trap address udp-domain 192.168.205.19 params securit
yname public??? \\
<S2>save
<S2>display current-configuration? \\查看配置
zabbix服務器添加主機
添加完成后啟動
?
?
總結
以上是生活随笔為你收集整理的华为S5700开启SNMP协议+zabbix监控的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: echart地图合并,并取消边框
- 下一篇: Maya动画3:布料模拟小球落地