Skip to main content
NetApp Knowledge Base

Does StorageGRID support the use of SNMP test traps?

Views:
711
Visibility:
Public
Votes:
1
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

NetApp StorageGRID 11.5 and below

Answer

No, StorageGRID does not support the use of SNMP test traps.

Additional Information

To test a SNMP connection use one of the following workarounds, both using the SNMPv2-MIB:coldStart trap:

  1. Use snmptrap to quickly test a SNMP connection. Example: snmptrap -v1 -c (community string) (Destination address) 1.3.6.1.6.3.1.1.5 "" 0 0 ""

If the SNMP management station receives the SNMP coldStart trap we can conclude that  the network and the SNMP management station are configured correctly.

Note: If SNMP trap is configured using UDP port, there is no acknowledgement given to the StorageGRID if the trap has been received by the SNMP station until the admin of SNMP station acknowledges.

In certain cases, to confirm that the snmptrap has sent UDP packets to the network successfully, snmptrap can be used with -D 'netsnmp_udp' option for verbose debug output for UDP protocol.

Example: 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. Restart the SNMP service using service snmpd restart if the current configured connection is working.

If step 2 works the SNMP configuration is a working one.

If problem persists, please check the SNMP Configuration and also consult this KB with known SNMP issues

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.