|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SNMPTrapDestinationMBean
This MBean describes a destination to which an SNMP agent sends SNMP TRAP and INFORM notifications.
Field Summary | |
---|---|
static String |
AUTH_NOPRIV Constant for authNoPriv security level |
static String |
AUTH_PRIV Constant for authPriv security level |
static String |
NOAUTH_NOPRIV Constant for noAuthNoPriv security level |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String |
getCommunity() The password (community name) that a WebLogic Server SNMP agent sends to the SNMP manager when the agent generates SNMPv1 or SNMPv2 notifications. |
abstract String |
getHost() The DNS name or IP address of the computer on which the SNMP manager is running. |
abstract int |
getPort() The UDP port on which the SNMP manager is listening. |
abstract String |
getSecurityLevel() Specifies the security protocols that the SNMP agent uses when sending SNMPv3 responses or notifications to the SNMP manager that this trap destination represents. |
abstract String |
getSecurityName() Specifies the user name that the WebLogic Server SNMP agent encodes into SNMPv3 responses or notifications. |
abstract void |
setCommunity(String community) Sets the value of the Community attribute. |
abstract void |
setHost(String name) Sets the value of the Host attribute. |
abstract void |
setPort(int port) Sets the value of the Port attribute. |
abstract void |
setSecurityLevel(String level) |
abstract void |
setSecurityName(String securityName) |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Field Detail |
---|
static final String NOAUTH_NOPRIV
static final String AUTH_NOPRIV
static final String AUTH_PRIV
Method Detail |
---|
String getHost()
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.
void setHost(String name) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Host attribute.
name
- The new host valueInvalidAttributeValueException
ConfigurationException
SNMPTrapDestinationMBean.getHost()
int getPort()
The UDP port on which the SNMP manager is listening.
void setPort(int port) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Port attribute.
port
- The new port valueInvalidAttributeValueException
ConfigurationException
SNMPTrapDestinationMBean.getPort()
String getCommunity()
The password (community name) that a WebLogic Server SNMP agent sends to the SNMP manager when the agent generates SNMPv1 or SNMPv2 notifications.
The community name that you enter in this trap destination must match the name that the SNMP manager defines.
void setCommunity(String community) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Community attribute.
community
- The new community valueInvalidAttributeValueException
ConfigurationException
SNMPTrapDestinationMBean.getCommunity()
String getSecurityName()
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.
void setSecurityName(String securityName)
String getSecurityLevel()
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.
SNMPTrapDestinationMBean.getSecurityName()
void setSecurityLevel(String level)
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |