Create A New SNMP Trap Destination

post

/management/weblogic/{version}/edit/SNMPAgent/SNMPTrapDestinations

Add a new SNMP trap destination to this collection.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain a populated SNMP trap destination model.

Root Schema : SNMP Trap Destination
Type: object
Show Source
  • Read Only: true
    Default Value: false

    Return whether the MBean was created dynamically or is persisted to config.xml

  • Default Value: localhost

    The DNS name or IP address of the computer on which the SNMP manager is running.

    The WebLogic SNMP agent sends trap notifications to the host and port that you specify.

    Constraints

    • doc only secure default : "127.0.0.1 or ::1"
  • Read Only: true

    Return the unique id of this MBean instance

  • Read Only: true

    The user-specified name of this MBean instance.

    This name is included as one of the key properties in the MBean's javax.management.ObjectName

    Name=user-specified-name

    Constraints

    • legal null
  • Optional information that you can include to describe this configuration.

    WebLogic Server saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity <. Carriage returns/line feeds are preserved.

    Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.

  • Minimum Value: 1
    Maximum Value: 65535
    Default Value: 162

    The UDP port on which the SNMP manager is listening.

  • Default Value: authNoPriv
    Allowed Values: [ "noAuthNoPriv", "authNoPriv", "authPriv" ]

    Specifies the security protocols that the SNMP agent uses when sending SNMPv3 responses or notifications to the SNMP manager that this trap destination represents. Requires you to specify a security name for this trap destination.

    Constraints

    • legal null
  • Specifies the user name that the WebLogic Server SNMP agent encodes into SNMPv3 responses or notifications. Requires you to create a credential map for this user name in the WebLogic Server security realm.

    The credential map contains an authentication password and an optional privacy password for this user.

    The user name and passwords must match the credentials required by the SNMP manager that this trap destination represents.

  • Items
    Title: Items

    Return all tags on this Configuration MBean

  • Read Only: true

    Returns the type of the MBean.

    Constraints

    • unharvestable
Nested Schema : Items
Type: array
Title: Items

Return all tags on this Configuration MBean

Show Source
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

201 Response

Back to Top