Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

POST method for AlertDestinations.ApplySNMPConfig

This method configures SNMP server for alerts.

Description
Configures the SNMP server for alerts.
Privilege
MONITORING_SETUP
HTTP response codes
200
Example response body
[
    {
        "Id": 1,
        "Enabled": true,
        "DestinationAddress": "100.69.124.121",
        "PortNumber": 162,
        "Version": "SNMPV1",
        "SnmpV1V2Credential": {
            "Community": "public"
        },
        
    {
        "Id": 2,
        "Enabled": false,
        "DestinationAddress": null,
        "PortNumber": 0,
        "Version": null,
        "SnmpV1V2Credential": null,
        "SnmpV3Credential": null
    },

            "SnmpV3Credential": {
            "SecurityName": "testsnmp",
            "AuthenticationProtocol": "SHA",
            "AuthenticationPassphrase": "Testi*997",
            "AuthenticationPassphraseSet": false,
            "PrivacyProtocol": "DES",
            "PrivacyPassphrase": "Testi@965",
            "PrivacyPassphraseSet": false
        }
    },
    {
        "Id": 3,
        "Enabled": false,
        "DestinationAddress": null,
        "PortNumber": 0,
        "Version": null,
        "SnmpV1V2Credential": null,
        "SnmpV3Credential": null
    },
    {
        "Id": 4,
        "Enabled": false,
        "DestinationAddress": null,
        "PortNumber": 0,
        "Version": null,
        "SnmpV1V2Credential": null,
        "SnmpV3Credential": null
    }
]
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute name Description
Id ID of the SNMP configuration.
Enabled Indicates if the SNMP send trap is enabled or disabled.
DestinationAddress SNMP destination address.
PortNumber SNMP port number.
Version SNMP version.
Community SNMP community.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\