Modify This SNMP Trap Destination
/management/weblogic/{version}/edit/SNMPAgentDeployments/{name}/SNMPTrapDestinations/{name}
Modify this SNMP trap destination.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
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'.
Must contain the modified SNMP trap destination model.
object
-
dynamicallyCreated(optional):
boolean
Read Only:
true
Default Value:false
Return whether the MBean was created dynamically or is persisted to config.xml
-
host(optional):
string
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"
-
id(optional):
integer(int64)
Read Only:
true
Return the unique id of this MBean instance
-
name(optional):
string
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
-
notes(optional):
string
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.
-
port(optional):
integer(int32)
Minimum Value:
1
Maximum Value:65535
Default Value:162
The UDP port on which the SNMP manager is listening.
-
securityLevel(optional):
string
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
-
securityName(optional):
string
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.
-
tags(optional):
array Items
Title:
Items
Return all tags on this Configuration MBean
-
type(optional):
string
Read Only:
true
Returns the type of the MBean.
Constraints
- unharvestable
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.