Skip to main content
Element Software
A newer release of this product is available.

GetSnmpTrapInfo

Contributors netapp-pcarriga netapp-dbagwell

You can use the GetSnmpTrapInfo method to get current SNMP trap configuration information.

Parameters

This method has no input parameters.

Return values

This method has the following return values:

Name Description Type

trapRecipients

List of hosts that are to receive the traps generated by the cluster.

clusterFaultTrapsEnabled

The value true indicates that a solidFireClusterFaultNotification is configured to be sent to the list of trap recipients when a cluster fault is logged.

boolean

clusterFaultResolvedTrapsEnabled

The value true indicates that a solidFireClusterFaultResolvedNotification is configured to be sent to the list of trap recipients when a cluster fault is resolved.

boolean

clusterEventTrapsEnabled

The value true indicates that a solidFireClusterEventNotification is configured to be sent to the list of trap recipients when a cluster event is logged.

boolean

Request example

Requests for this method are similar to the following example:

{
   "method":"GetSnmpTrapInfo"
   "params":{},
   "id":1
}

Response example

This method returns a response similar to the following example:

{
  "id": 1,
  "result": {
    "clusterEventTrapsEnabled": true,
    "clusterFaultResolvedTrapsEnabled": true,
    "clusterFaultTrapsEnabled": true,
    "trapRecipients": [
     {
      "community": "public",
      "host": "192.168.151.60",
      "port": 162
     },
     {
      "community": "solidfireAlerts",
      "host": "NetworkMonitor",
      "port": 162
     },
     {
      "community": "wakeup",
      "host": "PhoneHomeAlerter",
      "port": 1008
     }
   ]
 }
}

New since version

9.6