Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get SNMP access config

Get SMNP management access configuration.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/management-access/snmp
Return codes
Code Data Description
200 snmpConfigSNMP access config successfully retrieved.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/management-access/snmp
Response example
HTTP/1.1 200 OK
{
  "snmpConfig": {
    "allowSnmpV1": true,
    "allowSnmpV2": true,
    "allowSnmpV3": false,
    "allowedCommunities": [
      "public"
    ],
    "allowedHosts": [],
    "isEnabled": true,
    "port": 161,
    "restrictHosts": false,
    "sendAuthFailureTraps": false
  }
}

 

  • Was this article helpful?