SNMPAgentMBean


Overview  |   Child MBeans  |   Attributes  |   Operations

Overview

The MBean representing the SNMP Agent Configuration. The SNMP Agent MBean is a singleton for the SNMP Agent Configuration and does not belong to any configuration.

Fully Qualified Interface Name

If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.configuration.SNMPAgentMBean

Factory Methods

No factory methods. Instances of this MBean are created automatically.

Access Points

You can access this MBean from the following MBean attributes:


    Child MBeans

    This section describes attributes that contain child MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.


    SNMPAttributeChanges

    The SNMPAttributeChangeMBeans which describe the MBean type and Attribute name for which attribute change trap should be sent when an attribute change is observed.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPAttributeChange (java.lang.String name)

    destroySNMPAttributeChange (SNMPAttributeChangeMBean SNMPAttributeChange)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPAttributeChange(String name)

    Returns a javax.management.ObjectName for the instance of SNMPAttributeChangeMBean named name.

    Privileges Read/Write
    TypeSNMPAttributeChangeMBean[]

    SNMPCounterMonitors

    The SNMPCounterMonitorMBeans which describe the criteria for generating trap based on JMX CounterMonitor.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPCounterMonitor (java.lang.String name)

    destroySNMPCounterMonitor (SNMPCounterMonitorMBean SNMPCounterMonitor)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPCounterMonitor(String name)

    Returns a javax.management.ObjectName for the instance of SNMPCounterMonitorMBean named name.

    Privileges Read/Write
    TypeSNMPCounterMonitorMBean[]

    SNMPGaugeMonitors

    The SNMPGaugeMonitorMBeans which describe the criteria for generating traps based on JMX GaugeMonitor.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPGaugeMonitor (java.lang.String name)

    destroySNMPGaugeMonitor (SNMPGaugeMonitorMBean SNMPGaugeMonitor)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPGaugeMonitor(String name)

    Returns a javax.management.ObjectName for the instance of SNMPGaugeMonitorMBean named name.

    Privileges Read/Write
    TypeSNMPGaugeMonitorMBean[]

    SNMPLogFilters

    The SNMPLogFilterMBeans which describe filters for generating traps based on server log messages.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPLogFilter (java.lang.String name)

    destroySNMPLogFilter (SNMPLogFilterMBean SNMPLogFilter)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPLogFilter(String name)

    Returns a javax.management.ObjectName for the instance of SNMPLogFilterMBean named name.

    Privileges Read/Write
    TypeSNMPLogFilterMBean[]

    SNMPProxies

    The SNMP Agents which are proxied by this Master SNMP Agent. SNMPProxyMBeans describe settings for SNMP agents to be proxied by this Master agent.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPProxy (java.lang.String name)

    destroySNMPProxy (SNMPProxyMBean SNMPProxy)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPProxy(String name)

    Returns a javax.management.ObjectName for the instance of SNMPProxyMBean named name.

    Privileges Read/Write
    TypeSNMPProxyMBean[]

    SNMPStringMonitors

    The SNMPStringMonitorMBeans which describe the criteria for generating traps based on JMX StringMonitor.

    Deprecated. 9.0.0.0

    For more information, see:

               
    Factory MethodscreateSNMPStringMonitor (java.lang.String name)

    destroySNMPStringMonitor (SNMPStringMonitorMBean SNMPStringMonitor)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPStringMonitor(String name)

    Returns a javax.management.ObjectName for the instance of SNMPStringMonitorMBean named name.

    Privileges Read/Write
    TypeSNMPStringMonitorMBean[]

    SNMPTrapDestinations

    WebLogic Server uses a trap destination to specify the SNMP management station and the community name used by the SNMP agent to send trap notifications. Select which trap destination(s) should be used in this WebLogic Server domain from the list of available trap destinations.

               
    Factory MethodscreateSNMPTrapDestination (java.lang.String name)

    destroySNMPTrapDestination (SNMPTrapDestinationMBean SNMPTrapDestination)

    Factory methods do not return objects.

    See Using factory methods.

    Lookup OperationlookupSNMPTrapDestination(String name)

    Returns a javax.management.ObjectName for the instance of SNMPTrapDestinationMBean named name.

    Privileges Read only
    TypeSNMPTrapDestinationMBean[]

    TargetedTrapDestinations

    WebLogic Server uses a trap destination to specify the SNMP management station and the community name used by the SNMP agent to send trap notifications. Select which trap destination(s) should be used in this WebLogic Server domain from the list of available trap destinations.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupSNMPTrapDestination(String name)

    Returns a javax.management.ObjectName for the instance of SNMPTrapDestinationMBean named name.

    Privileges Read/Write
    TypeSNMPTrapDestinationMBean[]


    Attributes

    This section describes the following attributes:


    CommunityPrefix

    The password (community name) that you want the WebLogic SNMP agent to use to secure communication with SNMP managers.

    Note that there are two community names that are needed when the WebLogic SNMP agent and SNMP managers interact:

    In addition to using the community prefix as a password, the WebLogic SNMP agent uses the prefix to qualify requests from SNMP managers. Because a WebLogic Server domain can have multiple server instances concurrently active, a request that specifies only an attribute name is potentially ambiguous. For example, the attribute serverUptime exists for each WebLogic Server instance in a domain. To clarify requests, use the community prefix as follows:

    To secure access to the values of the WebLogic attributes, it is recommended that you set community prefix to a value other than public.

           
    Privileges Read/Write
    Typejava.lang.String
    Default Valuepublic
    Secure valuenot public
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    DebugLevel

    The minimum severity of debug messages that the SNMP agent generates.

    The SNMP agent writes all debug messages to standard out; they are not written to the WebLogic Server log files. Debug messages provide a detailed description of the SNMP agent's actions. For example, the agent outputs a noncritical message each time it generates a trap.

    Valid values are:

           
    Privileges Read/Write
    Typeint
    Default Value0
    Legal Values
    • 0
    • 1
    • 2
    • 3
    Secure value0
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    Enabled

    Specifies whether the Administration Server in the current WebLogic Server domain uses the SNMP service.

           
    Privileges Read/Write
    Typeboolean
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    MibDataRefreshInterval

    The minimum number of seconds that the WebLogic SNMP agent caches OIDs before checking if new ones have been added to the Management Information Base (MIB).

    A MIB is a database of all objects that can be managed through SNMP. When you create a new WebLogic Server resource, the SNMP agent assigns a unique OID to the resource and adds it to the MIB. For example, when you create a new server, the SNMP agent adds an OID to the MIB.

           
    Privileges Read/Write
    Typeint
    Default Value120
    Minimum value30
    Maximum value65535
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    Name

    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

           
    Privileges Read/Write
    Typejava.lang.String
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    Notes

    Optional information that you can include to describe this configuration.

    WebLogic Sever saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the XML entity &lt;. 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.

           
    Privileges Read/Write
    Typejava.lang.String

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    SendAutomaticTrapsEnabled

    Specifies whether the WebLogic SNMP agent sends automatically generated traps to SNMP managers.

    The WebLogic SNMP agent generates automatic traps when any of the following events occur:

           
    Privileges Read/Write
    Typeboolean
    Default Valuetrue
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    ServerStatusCheckIntervalFactor

    The multiplier used to calculate the interval at which the WebLogic SNMP agent checks for newly started or shut down Managed Servers.

    The SNMP agent can automatically generate traps when Managed Servers start or shut down.

    This status check value is multiplied by the MIB Data Refresh Interval to determine the interval:
    interval = n * MibDataRefreshInterval

    For the most frequent interval, specify 1 as the multiplier value.

           
    Privileges Read/Write
    Typeint
    Default Value1
    Minimum value1
    Maximum value65535
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    SNMPPort

    The port number on which you want the WebLogic SNMP agent to listen for incoming requests from SNMP managers.

    SNMP managers can this port to ping the WebLogic Server SNMP agent and request the status of specific attributes.

           
    Privileges Read/Write
    Typeint
    Default Value161
    Minimum value1
    Maximum value65535
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    SNMPTrapVersion

    The SNMP trap version that this WebLogic Server domain generates.

    Valid values are:

    Choose the protocol that your SNMP managers support.

           
    Privileges Read/Write
    Typeint
    Default Value1
    Legal Values
    • 1
    • 2
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.


    Operations

    This section describes the following operations:


    addSNMPAttributeChange

    Adds a feature to the SNMPAttributeChange attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPAttributeChange"
    ParametersObject [] {  attrchange }

    where:

    • attrchange is an object of type weblogic.management.configuration.SNMPAttributeChangeMBean that specifies:

      The feature to be added to the SNMPAttributeChange attribute

    SignatureString [] { "weblogic.management.configuration.SNMPAttributeChangeMBean" }
    Returns boolean

    Exceptions

    addSNMPCounterMonitor

    Adds a feature to the SNMPCounterMonitor attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPCounterMonitor"
    ParametersObject [] {  countermonitor }

    where:

    • countermonitor is an object of type weblogic.management.configuration.SNMPCounterMonitorMBean that specifies:

      The feature to be added to the SNMPCounterMonitor attribute

    SignatureString [] { "weblogic.management.configuration.SNMPCounterMonitorMBean" }
    Returns boolean

    Exceptions

    addSNMPGaugeMonitor

    Adds a feature to the SNMPGaugeMonitor attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPGaugeMonitor"
    ParametersObject [] {  gaugemonitor }

    where:

    • gaugemonitor is an object of type weblogic.management.configuration.SNMPGaugeMonitorMBean that specifies:

      The feature to be added to the SNMPGaugeMonitor attribute

    SignatureString [] { "weblogic.management.configuration.SNMPGaugeMonitorMBean" }
    Returns boolean

    Exceptions

    addSNMPLogFilter

    Adds a feature to the SNMPLogFilter attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPLogFilter"
    ParametersObject [] {  logfilter }

    where:

    • logfilter is an object of type weblogic.management.configuration.SNMPLogFilterMBean that specifies:

      The feature to be added to the SNMPLogFilter attribute

    SignatureString [] { "weblogic.management.configuration.SNMPLogFilterMBean" }
    Returns boolean

    Exceptions

    addSNMPProxy

    Adds a feature to the SNMPProxy attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPProxy"
    ParametersObject [] {  snmpProxy }

    where:

    • snmpProxy is an object of type weblogic.management.configuration.SNMPProxyMBean that specifies:

      The feature to be added to the SNMPProxy attribute

    SignatureString [] { "weblogic.management.configuration.SNMPProxyMBean" }
    Returns boolean

    Exceptions

    addSNMPStringMonitor

    Adds a feature to the SNMPStringMonitor attribute of the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPStringMonitor"
    ParametersObject [] {  stringmonitor }

    where:

    • stringmonitor is an object of type weblogic.management.configuration.SNMPStringMonitorMBean that specifies:

      The feature to be added to the SNMPStringMonitor attribute

    SignatureString [] { "weblogic.management.configuration.SNMPStringMonitorMBean" }
    Returns boolean

    Exceptions

    addSNMPTrapDestination

    Adds an SNMPTrapDestination to the SNMPAgentMBean object

    Deprecated. 9.0.0.0

       
    Operation Name"addSNMPTrapDestination"
    ParametersObject [] {  trapdestination }

    where:

    • trapdestination is an object of type weblogic.management.configuration.SNMPTrapDestinationMBean that specifies:

      The feature to be added to the SNMPTrapDestination attribute

    SignatureString [] { "weblogic.management.configuration.SNMPTrapDestinationMBean" }
    Returns boolean

    Exceptions

    addTargetedTrapDestination

    Adds a feature to the TargetedTrapDestinations attribute of the SNMPAgentMBean object

       
    Operation Name"addTargetedTrapDestination"
    ParametersObject [] {  trapdestination }

    where:

    • trapdestination is an object of type weblogic.management.configuration.SNMPTrapDestinationMBean that specifies:

      The feature to be added to the TargetedTrapDestination attribute

    SignatureString [] { "weblogic.management.configuration.SNMPTrapDestinationMBean" }
    Returns boolean

    Exceptions

    freezeCurrentValue

    If the specified attribute has not been set explicitly, and if the attribute has a default value, this operation forces the MBean to persist the default value.

    Unless you use this operation, the default value is not saved and is subject to change if you update to a newer release of WebLogic Server. Invoking this operation isolates this MBean from the effects of such changes.

    Note:

    To insure that you are freezing the default value, invoke the restoreDefaultValue operation before you invoke this.

    This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute for which some other value has been set.

    Deprecated. 9.0.0.0

       
    Operation Name"freezeCurrentValue"
    ParametersObject [] {  attributeName }

    where:

    • attributeName is an object of type java.lang.String that specifies:

      attributeName

    SignatureString [] { "java.lang.String" }
    Returns void

    Exceptions

    isSet

    Returns true if the specified attribute has been set explicitly in this MBean instance.

       
    Operation Name"isSet"
    ParametersObject [] {  propertyName }

    where:

    • propertyName is an object of type java.lang.String that specifies:

      property to check

    SignatureString [] { "java.lang.String" }
    Returns boolean

    removeSNMPAttributeChange

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPAttributeChange"
    ParametersObject [] {  attrchange }

    where:

    • attrchange is an object of type weblogic.management.configuration.SNMPAttributeChangeMBean that specifies:

      attrchange

    SignatureString [] { "weblogic.management.configuration.SNMPAttributeChangeMBean" }
    Returns boolean

    Exceptions

    removeSNMPCounterMonitor

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPCounterMonitor"
    ParametersObject [] {  countermonitor }

    where:

    • countermonitor is an object of type weblogic.management.configuration.SNMPCounterMonitorMBean that specifies:

      countermonitor

    SignatureString [] { "weblogic.management.configuration.SNMPCounterMonitorMBean" }
    Returns boolean

    Exceptions

    removeSNMPGaugeMonitor

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPGaugeMonitor"
    ParametersObject [] {  gaugemonitor }

    where:

    • gaugemonitor is an object of type weblogic.management.configuration.SNMPGaugeMonitorMBean that specifies:

      gaugemonitor

    SignatureString [] { "weblogic.management.configuration.SNMPGaugeMonitorMBean" }
    Returns boolean

    Exceptions

    removeSNMPLogFilter

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPLogFilter"
    ParametersObject [] {  logfilter }

    where:

    • logfilter is an object of type weblogic.management.configuration.SNMPLogFilterMBean that specifies:

      logfilter

    SignatureString [] { "weblogic.management.configuration.SNMPLogFilterMBean" }
    Returns boolean

    Exceptions

    removeSNMPProxy

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPProxy"
    ParametersObject [] {  snmpProxy }

    where:

    • snmpProxy is an object of type weblogic.management.configuration.SNMPProxyMBean that specifies:

      snmpProxy

    SignatureString [] { "weblogic.management.configuration.SNMPProxyMBean" }
    Returns boolean

    Exceptions

    removeSNMPStringMonitor

    Deprecated. 9.0.0.0

       
    Operation Name"removeSNMPStringMonitor"
    ParametersObject [] {  stringmonitor }

    where:

    • stringmonitor is an object of type weblogic.management.configuration.SNMPStringMonitorMBean that specifies:

      stringmonitor

    SignatureString [] { "weblogic.management.configuration.SNMPStringMonitorMBean" }
    Returns boolean

    Exceptions

    removeTargetedTrapDestination

       
    Operation Name"removeTargetedTrapDestination"
    ParametersObject [] {  trapdestination }

    where:

    • trapdestination is an object of type weblogic.management.configuration.SNMPTrapDestinationMBean that specifies:

      trapdestination

    SignatureString [] { "weblogic.management.configuration.SNMPTrapDestinationMBean" }
    Returns boolean

    Exceptions

    restoreDefaultValue

    If the specified attribute has a default value, this operation removes any value that has been set explicitly and causes the attribute to use the default value.

    Default values are subject to change if you update to a newer release of WebLogic Server. To prevent the value from changing if you update to a newer release, invoke the freezeCurrentValue operation.

    This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute that is already using the default.

    Deprecated. 9.0.0.0

       
    Operation Name"restoreDefaultValue"
    ParametersObject [] {  attributeName }

    where:

    • attributeName is an object of type java.lang.String that specifies:

      attributeName

    SignatureString [] { "java.lang.String" }
    Returns void

    Exceptions

    unSet

    Restore the given property to its default value.

       
    Operation Name"unSet"
    ParametersObject [] {  propertyName }

    where:

    • propertyName is an object of type java.lang.String that specifies:

      property to restore

    SignatureString [] { "java.lang.String" }
    Returns void