Get SNMP alerts
Get details about SNMP trap configuration.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/alerts/snmp
Return codes
Code | Data | Description |
200 | snmpAlerts | SNMP alert 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/alerts/snmp
Response example
HTTP/1.1 200 OK { "snmpAlerts": { "notificationFrequencyInfo": "NEVER", "notificationFrequencySevere": "IMMEDIATELY", "notificationFrequencyWarning": "NEVER", "port": 162, "recipients": [ { "community": "public", "host": "10.1.2.3" } ] } }