Managing JMX MBeans

All Monitors using JMX (Java Management Extensions) to extract data, have a feature that allows you to 'Manage' them. You can control all the JMX MBeans with Write permission, for each of these monitors.

To Manage JMX MBeans, do the following:

1. Click the button labelled 'Manage' against the monitor name whose settings has to be updated.

Note: JMX MBeans with onlyRead or readWrite permission are available as attributes while creating a new monitor.

You will see a tree-structure listing all the MBeans with Write permission available for modifications. The MBeans are grouped according to categories. Clicking on each Category name will expand the node to show the MBeans.

When you click the MBean name, a new window (Attributes Management) opens with the following sections: (Note: All sections will not be available for all MBeans as options differ for different MBeans)

Canonical Name:

This section shows the canonical name of the MBean.


This section lists the various operations that can be performed on the MBean. You can select the operation from the drop-down list.


This section lists the parameters which have to be passed for the selected operation.


This section lists the attributes that can be changed.

Parameters and Attributes can have two types of values:

1. Primitive DataType: The primitive Datatypes that can be set directly include int, long, float, double and boolean. All objects of these data types and the String data type can also be set by directly entering values in the text field.

2. Object: To change 'Object' values, you can click the currently set object name. This will take you to a new window called "Create Object Instance". Here, provide the Java Class name and Class path. The classname will be the class which the user has created to implement com.appperfect.monitor.mbean.ICreateInstance interface and the user has to return the Object that he wants to send as a parameter to an operation or as a value to be set for the concerned attribute. The classpath should consist of the classpath for the class which is implementing com.appperfect.monitor.mbean.ICreateInstance and the classpath of the Object that the class will be returning also needs to be specified.

If you want to set the value for this object to NULL, click Set Null. If you don't want to change the existing value, click Cancel. Click OK to set the new value.


Set Attribute: Click this button to set the attribute values.

Invoke Operation: Click this button to perform the operation that you have selected from the drop-down list in the Operations section. When the operation is invoked, if the operation has a 'return type' then the user can see the value returned. If an Object is returned, the user can click the same and a new window will open up where the user can see all the members of the returned Object in a tree structure.

Ok: Click this button to go back to the Manage page.