Monitoring JMX MBeans


You can use BMC PATROL for Oracle WebLogic to perform the following actions to monitor Java MBeans used in a JMX-managed WebLogic Server:

  • Select which MBeans to monitor.
  • Define attributes that determine which MBeans are monitored, and can take automatic actions based on your monitoring criteria

In any WebLogic environment, thousands of MBeans exist, and any of them could be monitored by this product, but in most environments, only a small number of those MBeans are important for monitoring purposes. To effectively use this product, you must set up some configuration options and to identify those MBeans that you want monitored. PATROL calls this process of identifying and specifying MBeans for monitoring as defining a condition

After you define a condition, you can implement automatic recovery actions that will take place whenever a condition occurs. 

Activating Custom Mbean monitoring

This feature is visible in the PATROL console only after being enabled.

To enable Custom MBean monitoring for your environment

  1. Right-click the instance icon representing the server on which you want to enable JMX monitoring.
  2. From the KM Commands menu, choose Custom MBean  > Activate Custom MBean.

Defining conditions for MBeans

Perform the following steps to define conditions for monitoring JMX MBeans. 

When you define conditions, you

  • Establish the criteria for PATROL to monitor one or more MBeans
  • Create icons in the console

Note

The MBeans icon of the BEAWLS_JMX_SERVER will not be displayed in the console under each server unless Custom MBean Monitoring has been activated. See Activating Custom Mbean monitoring.

  1. Expand the BEAWLS_SERVER or BEAWLS_MANAGED icon under which the MBeans is registered.
  2. Right-click  MBean >  KM Command > Discover MBeans.

    The MBean Management dialog box is displayed.
  3. From the dialog box, select the MBeans that you want to monitor and click Select.

    A dialog box, which displays the information of the selected MBean is displayed.
    image2014-1-27 15:7:13.png
  4. From the dialog box, select the attributes for the selected MBeans and click Select.

    The Define condition dialog box is displayed, as shown in the following figure. The contents of this dialog box vary depending on the type of data contained in the object (string, Boolean, numeric).
    image2014-1-27 18:4:45.png
  5. Complete the condition definition:
    1. Type a name for the condition. This name is used as an instance name for icons created in the BMC PATROL console, and is used to refer to this condition if you need to perform future updates.
    2. Specify a  string value that will be used to filter the MBean list.
  6. Click OK.

    You can  modify or remove condition. For information about removing and modifying condition list  BEAWLS_JMX_CONDITION menu.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*