Modify a SNMP Connection Handler by DN
patch
/rest/v1/admin/{dn}
Modify a SNMP Connection Handler by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn(required): string
LDAP DN of the entry to be modified
SNMP Connection Handler that needs to be modified
Root Schema : PatchRequest
Type:
Show Source
object-
controls:
array controls
LDAP controls to be sent to server for LDAP modify operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequestThe REST message type -
operations(required):
array operations
Modifications (Patch operations) to be performed on the entry.
Nested Schema : controls
Type:
arrayLDAP controls to be sent to server for LDAP modify operation.
Show Source
Nested Schema : operations
Type:
arrayModifications (Patch operations) to be performed on the entry.
Show Source
Nested Schema : PatchOperation
Type:
Show Source
object-
attribute(required):
string
The entry attribute to be modified.
-
opType(required):
string
Allowed Values:
[ "add", "delete", "replace", "increment" ]The type of the Patch Operation. -
values:
array values
The attribute values to be updated.
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : SNMP Connection Handler PatchSuccessResponse
Type:
Show Source
object-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponseThe REST message type -
searchResultEntries(required):
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : searchResultEntries
Type:
arrayNumber of search result entries returned after the LDAP operation.
Show Source
Nested Schema : SNMP Connection Handler SearchResultEntry
Type:
Show Source
object-
attributes(required):
object SNMP Connection Handler Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : SNMP Connection Handler Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-allowed-client:
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-allowed-manager:
array ds-cfg-allowed-manager
Specifies the hosts of the managers to be granted the access rights. This property is required for SNMP v1 and v2 security configuration. An asterisk (*) opens access to all managers.
-
ds-cfg-allowed-user:
array ds-cfg-allowed-user
Specifies the users to be granted the access rights. This property is required for SNMP v3 security configuration. An asterisk (*) opens access to all users.
-
ds-cfg-community:
string
Default Value:
OUDSpecifies the v1,v2 community or the v3 context name allowed to access the MIB 2605 monitoring information or the USM MIB. The mapping between "community" and "context name" is set. -
ds-cfg-denied-client:
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-enabled(required):
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.snmp.SNMPConnectionHandlerSpecifies the fully-qualified name of the Java class that provides the SNMP Connection Handler implementation. -
ds-cfg-listen-address:
array ds-cfg-listen-address
Read Only:
trueSpecifies the address or set of addresses on which this SNMP Connection Handler should listen for connections from SNMP clients. -
ds-cfg-listen-port(required):
integer(int32)
Specifies the port number on which the SNMP Connection Handler will listen for connections from clients.
-
ds-cfg-registered-mbean:
boolean
Default Value:
falseIndicates whether the SNMP objects have to be registered in the Directory Server MBeanServer or not allowing to access SNMP Objects with RMI connector if enabled. -
ds-cfg-security-agent-file:
string
Default Value:
config/snmp/security/oud-snmp.securitySpecifies the USM security configuration to receive authenticated only SNMP requests. -
ds-cfg-security-level:
string
Default Value:
authnoprivAllowed Values:[ "authnopriv", "authpriv", "noauthnopriv" ]Specifies the type of security level : NoAuthNoPriv : No security mechanisms activated, AuthNoPriv : Authentication activated with no privacy, AuthPriv : Authentication with privacy activated. This property is required for SNMP V3 security configuration. -
ds-cfg-trap-port(required):
integer(int32)
Specifies the port to use to send SNMP Traps.
-
ds-cfg-traps-community:
string
Default Value:
OUDSpecifies the community string that must be included in the traps sent to define managers (trap-destinations). This property is used in the context of SNMP v1, v2 and v3. -
ds-cfg-traps-destination:
array ds-cfg-traps-destination
Specifies the hosts to which V1 traps will be sent. V1 Traps are sent to every host listed.
-
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-allowed-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-allowed-manager
Type:
arraySpecifies the hosts of the managers to be granted the access rights. This property is required for SNMP v1 and v2 security configuration. An asterisk (*) opens access to all managers.
Default Value:
Show Source
[
"*"
]Nested Schema : ds-cfg-allowed-user
Type:
arraySpecifies the users to be granted the access rights. This property is required for SNMP v3 security configuration. An asterisk (*) opens access to all users.
Default Value:
Show Source
[
"*"
]Nested Schema : ds-cfg-denied-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-listen-address
Type:
arrayRead Only:
trueSpecifies the address or set of addresses on which this SNMP Connection Handler should listen for connections from SNMP clients.
Default Value:
Show Source
[
"0.0.0.0"
]Nested Schema : ds-cfg-traps-destination
Type:
arraySpecifies the hosts to which V1 traps will be sent. V1 Traps are sent to every host listed.
Show Source
400 Response
ERROR
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode:
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message(required):
string
Error message returned returned for the operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type