サポートと今すぐチャット
サポートとのチャット

Foglight for JMX 5.9.8 - User Guide

Foglight for JMX System Requirements Installing Foglight for JMX Managing JMX Agents Managing MBean Server Models Monitoring and Investigating JMX Data

Selecting MBean Attributes for Collection

After adding a Root Type and specifying the monitored instances, you can select and configure individual attributes for collection. You can reduce the amount of data collected by reducing the number of attributes selected for collection for each MBean type. The collection of available attributes depends on the instance availability (for example, All by root query).

1
On the Server Model Editor dashboard, click the value displayed in the Collected Attributes column (for example, 4/11) for the root type you want to configure.
2
In the Collected Attributes dialog box that opens, select the check boxes for the attributes you want to collect.
3
Optional — If necessary, you can edit the attribute to change its storage type. Click Edit in the row for the attribute that you want to edit. For more information, see Step 7 of the procedure Adding a Root Type to an MBean Server Model .
4

Exposing MBean Relationships

In addition to specifying the MBean attributes to collect, an MBean Server Model also gives structure to the MBeans you monitor. MBeans have implicit relationships to other MBeans, and the server model can be configured to make these relationships explicit. Exposing the relationship structure has two advantages: it defines a relationship structure that allows you to easily navigate between related MBeans in the dashboard, and it allows you to define parent/child relationships, where the health of a child affects the health of a parent.

An MBean relationship can be ignored, exposed as a reference relationship, or exposed as a containment relationship. References are usually made between objects that are siblings. Containing relationships are usually made between parent and child objects. Containment is useful when the health of the children impacts the health of the parent.

1
On the Server Model Editor dashboard, click the value in the Relationships column (for example, 0/1) for the root type you want to configure.
2
In the Exposed Relationships dialog box that opens, click the text in the Relationship column of the attribute for which you want to expose a relationship.
4

Changing the Display Name of an MBean Type

The default display name for an MBean type is equivalent to its ObjectName. You can change the display name of the MBean type using groovy scripts. A groovy script can reference any collected property or ObjectName property.

1
On the Server Model Editor dashboard, click the text Display Name column for a selected MBean type.
2
In the Display Name dialog box that opens, select the Use a groovy script to customize the display name as follows option.
To access a collected property with the name MyPropertyName, use the following: scope.get('_MyPropertyName', null).
To access an ObjectName property with the key ObjectNameKey, use the following: scope.get('ON_ObjectNameKey', null)
4
Optional — Click Property Reference List to display a list of available properties that can be referenced in the script.
5
Click OK.

Removing an MBean Type

By removing an MBean type, you are reducing the amount of data collected. When you remove an MBean Type, the following occurs:

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択