You can use the GetSnmpACL method to get the current SNMP access permissions on the cluster nodes.
This method has no input parameters.
This method has the following return values:
Name | Description | Type |
---|---|---|
networks | List of networks and what type of access they have to the SNMP servers running on the cluster nodes. This value is present if SNMP v3 is disabled. | network array |
usmUsers | List of users and the type of access they have to the SNMP servers running on the cluster nodes. This value is present if SNMP v3 is enabled. | usmUser array |
Requests for this method are similar to the following example:
{ "method": "GetSnmpACL", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id" : 1, "result" : { "usmUsers" : [ { "name": "jdoe", "access": "rouser", "secLevel": "priv", "password": "mypassword", "passphrase": "mypassphrase", } ] } }
9.6