Add new SNMP Trap destination profile
Add a new SNMP destination profile. By Default, maximum of 4 SNMP Trap profiles can be configured. Only admin users can perform this action.
SNMP Trap destination profile
{
"nick_name": "AWS SNMP collector profile",
"target_ip": "10.11.11.102",
"target_port": 161,
"snmp_version": "string",
"snmp_v2c": {
"community_string": "public"
},
"snmp_v3": {
"username": "readonly",
"context_name": "default",
"authentication_type": "MD5",
"authentication_password": "VMware1!",
"privacy_type": "AES256",
"privacy_password": "VMware1!"
}
}
Descriptor or identifier for particular SNMP profile.
IP address of SNMP target destination
Receiving port number of SNMP target destination
snmp_version
snmp_v2c
snmp_v3
Success
"SnmpProfileResponse Object"
Entity Identifier for SNMP profile.
User defined descriptor or identifier for particular SNMP profile.
IP address of SNMP target destination
Receiving port number of SNMP target destination
snmp_version
snmp_v2c
snmp_v3
Bad Request
"ApiError Object"
code
message
details
Unauthorized
"ApiError Object"
code
message
details
Forbidden
"ApiError Object"
code
message
details
Internal Error
"ApiError Object"
code
message
details
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/settings/snmp/profiles