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

GetSnmpState

Contributors netapp-pcarriga

You can use the GetSnmpState method to get the current state of the SNMP feature.

Parameters

This method has no input parameters.

Return values

This method has the following return values:

Name Description Type

enabled

Possible values:

  • true

  • false

Default value is false. Returns true if the nodes in the cluster are configured for SNMP.

boolean

snmpV3Enabled

Possible values:

  • true

  • false

Default value is false. Returns true if the nodes in the cluster are configured for SNMP v3.

boolean

Request example

Requests for this method are similar to the following example:

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

Response example

This method returns a response similar to the following example:

{
  "id" : 1,
  "result" : {
   "enabled": true,
   "snmpV3Enabled": false
   }
}

New since version

9.6

Find more information