Get SNMP Agent on Element (v2.0)
GET/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/snmpagents
List the configured SNMP agent on an element.
Request
Path Parameters
ID of the tenant.
ID of the site.
ID of the element.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
The actual count.
The ID.
The tenant ID.
items SNMPAgent[]
The description of the SNMP agent. Max characters = 256.
The ID of the SNMP agent.
A information field that can be added to identify the SNMP agent configuration.
v2_config SNMPV2Config
Indicates if SNMP v2 is enabled.
If V2 is enabled, community is configured. If community is not configured, then public will be set as the default community. White spaces not allowed in community name. Max characters = 32.
Enabled
v3_config SNMPV3Config
Indicates if SNMP v3 is enabled.
Enabled
users_access SNMPUserAccess[]
Users Access
The authentication phrase of 8 to 25 characters if auth type is selected.
Possible values: [NONE
, MD5
, SHA
]
The authentication type. Auth Type may be MD5, SHA, or None.
The encryption phrase of 8 to 25 characters if encryption type is selected.
Possible values: [NONE
, AES
, DES
]
The encrption type.
The SNMP configuration supported engine ID. Hexadecimal value should be in pairs (multiple of two) with minimum length 10 and maximum length 256.
Possible values: [NOAUTH
, AUTH
, PRIVATE
]
The security level of the SNMP configuration.
The user name to identify the device. User name length should be between 4 and 256.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"id": "string",
"tags": [
"string"
],
"v2_config": {
"community": "string",
"enabled": true
},
"v3_config": {
"enabled": true,
"users_access": [
{
"auth_phrase": "string",
"auth_type": "NONE",
"enc_phrase": "string",
"enc_type": "NONE",
"engine_id": "string",
"security_level": "NOAUTH",
"user_name": "string"
}
]
}
}
]
}