Update Target
PUT /vdc/snmp/config/target/{targetId}
Update specified SNMP target.
Required Roles
Request Payload
<snmp_target>
<server></server>
<port></port>
<version></version>
<community></community>
<user_security_model>
<username></username>
<authentication>
<protocol></protocol>
<passphrase></passphrase>
</authentication>
<privacy>
<protocol></protocol>
<passphrase></passphrase>
</privacy>
</user_security_model>
</snmp_target>
{
"server": "",
"port": "",
"version": "",
"community": "",
"user_security_model": {
"username": "",
"authentication": {
"protocol": "",
"passphrase": ""
},
"privacy": {
"protocol": "",
"passphrase": ""
}
}
}
All parameters are required unless otherwise stated.
Field |
Description |
Type |
Notes |
snmp_target |
|
|
|
server |
|
String |
|
port |
SNMP port |
Integer |
|
version |
Version - SNMP version V2 or V3 |
String |
|
community |
Community name |
String |
|
user_security_model |
|
|
|
username |
|
String |
|
authentication |
|
|
|
protocol |
|
String |
|
passphrase |
|
String |
|
privacy |
|
|
|
protocol |
|
String |
|
passphrase |
|
String |
|
Response Body
Response indicating Success or Failure to update SNMP Server.