You can configure WebLogic Server to monitor MBeans and generate traps when the MBean's attributes change in a way that you specify. The WebLogic Server SNMP agent can generate traps only for MBeans that have corresponding managed objects defined in the WebLogic Server MIB.
A managed bean (MBean) is a Java bean that provides a generic management interface based on Java Management Extensions (JMX). All WebLogic resources are instrumented as MBeans and the WebLogic SNMP agent uses their JMX interface to retrieve monitoring data. Each MBean is an instance of a type, and the MBean type defines the set of attributes that the MBean exposes.
To determine the MBean type and attribute name that corresponds to a managed object in the WebLogic Server MIB:
Within the MIB, objects that include the word Runtime in their names describe a server's runtime state. All other objects describe a server's configuration.
For example, the scalar object serverRuntimeState
resides in the tabular object serverRuntimeTable
.
For example, the serverRuntimeTable
corresponds to the ServerRuntime
MBean type.
For example,
the serverRuntimeState
object corresponds to the State
MBean attribute.