跳转到主内容

StorageGRID 是否支持使用 SNMP 测试陷阱?

Views:
15
Visibility:
Internal
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用场景

NetApp StorageGRID 11.5 及更低版本

问题解答

不支持, StorageGRID 不支持使用 SNMP 测试陷阱。

追加信息

要测试SNMP连接、请使用以下解决方法之一、这两种方法都使用SNMPv2-MIB:coldstart陷阱:

  1. 用于 snmptrap 快速测试 SNMP 连接示例: snmptrap -v1 -c (community string) (Destination address) 1.3.6.1.6.3.1.1.5 "" 0 0 ""

如果 SNMP 管理工作站收到 SNMP coldstart 陷阱,我们可以断定网络和 SNMP 管理工作站配置正确。

注意: 如果使用UDP端口配置SNMP陷阱 、则在StorageGRID工作站的管理员确认之前、如果SNMP工作站已收到陷阱、则不会向SNMP提供确认。

在某些情况下、要确认 SNMP陷阱已成功向网络发送UDP数据包 snmptrap-D 'netsnmp_udp'  、可以使用选项为UDP协议提供详细调试输出。

示例: snmptrap -v1 -c (community string) -D 'netsnmp_udp' (Destination address) 1.3.6.1.6.3.1.1.5 "" 0 0 ""

registered debug token netsnmp_udp, 1
netsnmp_udpbase: open remote UDP: [x.x.x.x]:162->[0.0.0.0]:0
netsnmp_udpbase: client open UDP: [x.x.x.x]:162->[0.0.0.0]:0
netsnmp_udp: send 45 bytes from 0x55ecaa861743 to UDP: [x.x.x.x]:162->[0.0.0.0]:0 on fd 3

  1. service snmpd restart 如果当前配置的连接正常工作、请使用重新启动SNMP服务。

如果步骤 2 正常工作,则 SNMP 配置是一个正常工作的配置。

如果问题仍然存在,请检查 SNMP 配置,并就已知 SNMP 问题查阅知识库

 

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange