API Guide
NOTE: By default, you can configure up to four destinations for syslog/SNMP and the responses are sent to each
destination. If there is no information in the response,
PortNumber
is displayed as 0.
api/AlertService/AlertDestinations/Actions/
AlertDestinations.ApplySNMPConfig
POST method for AlertDestinations.ApplySNMPConfig
This method configures SNMP.
Description Configures SNMP.
Privilege MONITORING_SETUP
HTTP response
codes
200
Example
Input:
[
{
"Enabled": true,
"DestinationAddress": "100.97.1.185",
"PortNumber": "162",
"Version": "SNMPV2",
"SnmpV1V2Credential": {
"Community": "public"
}
},
{
"Enabled": true,
"DestinationAddress": "100.97.1.185",
"PortNumber": "162",
"Version": "SNMPV2",
"SnmpV1V2Credential": {
"Community": "public"
}
},
{
"Enabled": false,
"DestinationAddress": "100.97.1.185",
"PortNumber": "162",
"Version": "SNMPV2",
"SnmpV1V2Credential": {
"Community": "public"
}
},
{
"Enabled": true,
"DestinationAddress": "100.97.1.185",
"PortNumber": "162",
"Version": "SNMPV2",
"SnmpV1V2Credential": {
"Community": "public"
}
}
]
Output:
[
{
"Id": 1,
"Enabled": true,
"DestinationAddress": "100.97.1.185",
"PortNumber": 162,
"Version": "SNMPV2",
"SnmpV1V2Credential": {
"Community": "public"
66
Application settings