---
title: "GET /v1/storages/{storage_id}/snmp-config"
method: GET
path: "/v1/storages/{storage_id}/snmp-config"
tags: ["SnmpConfig"]
---

# GET /v1/storages/{storage_id}/snmp-config

`GET /v1/storages/{storage_id}/snmp-config`

## Request

- The document declares no server URL.
- Auth: none declared

Get details snmp alert source information configured on behalf of backend devices

## Path parameters

- `storage_id` string, required

## Response `200`

OK

- SnmpConfigRespSpec: Response for snmp alert source configuration.
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `version` 'SNMPV2C' | 'SNMPV3': SNMP version. Should be mandatorily set by user
  - `community_string` string: Community string. This should be filled ig version is V2C
  - `username` string: SNMP V3 usm username. This should be filled ig version is V3
  - `engine_id` string: Engind ID of the device which will be sending the traps
  - `security_level` 'noAuthnoPriv' | 'authNoPriv' | 'authPriv': Security level for the user
  - `auth_protocol` 'MD5' | 'SHA': Authentication protocol to be selected. This should be filled if authNoPriv or authPriv is set as security_level
  - `auth_key` string: Authentication key. This should be filled if authNoPriv or authPriv is set
  - `privacy_protocol` '3DES' | 'DES' | 'AES': Privacy or encryption protocol to be selected. This should be filled if authPriv is set as security_level
  - `privacy_key` string: Privacy or encryption password. This should be filled if authPriv is set as security_level
  - `host` string: All alert source ips of the device
  - `context_name` string: Context name of the alert source
  - `retry_num` integer: Maximum number of retries while connecting to alert source By default, set to 1
  - `expiration` integer: Expiration time (in sec) for one alert source connect request By default, set to 2
  - `port` integer: Port for connecting to alert source By default, set to 161

## Other responses

- `400`: BadRequest
- `401`: NotAuthorized
- `403`: Forbidden
- `404`: The resource does not exist
- `500`: An unexpected error occured.

## Changes

- **2021-06-22** `5532e1656e4e`: 1 info
  - endpoint added
- **2020-06-22** `0fdcb8a77d6a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/storages/:storage_id/snmp-config/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/revisions/b2017613d719?raw)
