public interface SNMPConnectionHandlerCfgClient extends ConnectionHandlerCfgClient
The SNMP Connection Handler can be used to process SNMP requests to retrieve monitoring information described by the MIB 2605. Supported protocol are SNMP V1, V2c and V3.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends SNMPConnectionHandlerCfgClient,? extends SNMPConnectionHandlerCfg> |
definition()
Get the configuration definition associated with this SNMP Connection Handler.
|
SortedSet<String> |
getAllowedManager()
Gets the "allowed-manager" property.
|
SortedSet<String> |
getAllowedUser()
Gets the "allowed-user" property.
|
String |
getCommunity()
Gets the "community" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<InetAddress> |
getListenAddress()
Gets the "listen-address" property.
|
Integer |
getListenPort()
Gets the "listen-port" property.
|
String |
getOpendmkJarfile()
Gets the "opendmk-jarfile" property.
|
String |
getSecurityAgentFile()
Gets the "security-agent-file" property.
|
SNMPConnectionHandlerCfgDefn.SecurityLevel |
getSecurityLevel()
Gets the "security-level" property.
|
Integer |
getTrapPort()
Gets the "trap-port" property.
|
String |
getTrapsCommunity()
Gets the "traps-community" property.
|
SortedSet<String> |
getTrapsDestination()
Gets the "traps-destination" property.
|
boolean |
isRegisteredMbean()
Gets the "registered-mbean" property.
|
void |
setAllowedManager(Collection<String> values)
Sets the "allowed-manager" property.
|
void |
setAllowedUser(Collection<String> values)
Sets the "allowed-user" property.
|
void |
setCommunity(String value)
Sets the "community" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setListenAddress(Collection<InetAddress> values)
Sets the "listen-address" property.
|
void |
setListenPort(int value)
Sets the "listen-port" property.
|
void |
setOpendmkJarfile(String value)
Sets the "opendmk-jarfile" property.
|
void |
setRegisteredMbean(Boolean value)
Sets the "registered-mbean" property.
|
void |
setSecurityAgentFile(String value)
Sets the "security-agent-file" property.
|
void |
setSecurityLevel(SNMPConnectionHandlerCfgDefn.SecurityLevel value)
Sets the "security-level" property.
|
void |
setTrapPort(int value)
Sets the "trap-port" property.
|
void |
setTrapsCommunity(String value)
Sets the "traps-community" property.
|
void |
setTrapsDestination(Collection<String> values)
Sets the "traps-destination" property.
|
getAllowedClient, getDeniedClient, isEnabled, setAllowedClient, setDeniedClient, setEnabled
commit, properties
ManagedObjectDefinition<? extends SNMPConnectionHandlerCfgClient,? extends SNMPConnectionHandlerCfg> definition()
definition
in interface ConfigurationClient
definition
in interface ConnectionHandlerCfgClient
SortedSet<String> getAllowedManager()
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.
void setAllowedManager(Collection<String> values) throws PropertyException
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.
values
- The values of the "allowed-manager" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getAllowedUser()
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.
void setAllowedUser(Collection<String> values) throws PropertyException
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.
values
- The values of the "allowed-user" property.PropertyException
- If one or more of the new values are invalid.String getCommunity()
Specifies 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.
void setCommunity(String value) throws PropertyException
Specifies 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.
value
- The value of the "community" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the SNMP Connection Handler implementation.
getJavaClass
in interface ConnectionHandlerCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the SNMP Connection Handler implementation.
setJavaClass
in interface ConnectionHandlerCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.SortedSet<InetAddress> getListenAddress()
Specifies the address or set of addresses on which this SNMP Connection Handler should listen for connections from SNMP clients.
Multiple addresses may be provided as separate values for this attribute. If no values are provided, then the SNMP Connection Handler listens on all interfaces.
void setListenAddress(Collection<InetAddress> values) throws PropertyException, PropertyException
Specifies the address or set of addresses on which this SNMP Connection Handler should listen for connections from SNMP clients.
Multiple addresses may be provided as separate values for this attribute. If no values are provided, then the SNMP Connection Handler listens on all interfaces.
This property is read-only and can only be modified during creation of a SNMP Connection Handler.
values
- The values of the "listen-address" property.PropertyException
- If one or more of the new values are invalid.PropertyException
- If this SNMP Connection Handler is not being initialized.Integer getListenPort()
Specifies the port number on which the SNMP Connection Handler will listen for connections from clients.
Only a single port number may be provided.
void setListenPort(int value) throws PropertyException
Specifies the port number on which the SNMP Connection Handler will listen for connections from clients.
Only a single port number may be provided.
value
- The value of the "listen-port" property.PropertyException
- If the new value is invalid.String getOpendmkJarfile()
Indicates the OpenDMK runtime jar file location
void setOpendmkJarfile(String value) throws PropertyException
Indicates the OpenDMK runtime jar file location
value
- The value of the "opendmk-jarfile" property.PropertyException
- If the new value is invalid.boolean isRegisteredMbean()
Indicates 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.
void setRegisteredMbean(Boolean value) throws PropertyException
Indicates 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.
value
- The value of the "registered-mbean" property.PropertyException
- If the new value is invalid.String getSecurityAgentFile()
Specifies the USM security configuration to receive authenticated only SNMP requests.
void setSecurityAgentFile(String value) throws PropertyException
Specifies the USM security configuration to receive authenticated only SNMP requests.
value
- The value of the "security-agent-file" property.PropertyException
- If the new value is invalid.SNMPConnectionHandlerCfgDefn.SecurityLevel getSecurityLevel()
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.
void setSecurityLevel(SNMPConnectionHandlerCfgDefn.SecurityLevel value) throws PropertyException
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.
value
- The value of the "security-level" property.PropertyException
- If the new value is invalid.Integer getTrapPort()
Specifies the port to use to send SNMP Traps.
void setTrapPort(int value) throws PropertyException
Specifies the port to use to send SNMP Traps.
value
- The value of the "trap-port" property.PropertyException
- If the new value is invalid.String getTrapsCommunity()
Specifies 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.
void setTrapsCommunity(String value) throws PropertyException
Specifies 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.
value
- The value of the "traps-community" property.PropertyException
- If the new value is invalid.SortedSet<String> getTrapsDestination()
Specifies the hosts to which V1 traps will be sent. V1 Traps are sent to every host listed.
If this list is empty, V1 traps are sent to "localhost". Each host in the list must be identifed by its name or complete IP Addess.
void setTrapsDestination(Collection<String> values) throws PropertyException
Specifies the hosts to which V1 traps will be sent. V1 Traps are sent to every host listed.
If this list is empty, V1 traps are sent to "localhost". Each host in the list must be identifed by its name or complete IP Addess.
values
- The values of the "traps-destination" property.PropertyException
- If one or more of the new values are invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.