Adding JMX Assets for Discovery
In order to monitor JMX assets, before discovering the JMX assets you must configure the Filter File. The Filter File is an .xml file that contains domains and mbeans. After you specify a domain, you can use a wildcard (*) to retrieve all mbeans within the domain. The format of the Filter File is the following:
<?xml version="1.0"?>
<jmxfilter id ="testFilter">
<domain id="java.lang">
<mbeanType>Runtime</mbeanType>
<mbeanType>Memory</mbeanType>
<mbeanType>OperatingSystem</mbeanType>
</domain>
<domain id="Catalina">
<mbeanType>WebModule</mbeanType>
<mbeanType>BundleWebResourceRoot</mbeanType>
</domain>
<domain id="com.softwareag.events.routing">
<mbeanType>EventTypes</mbeanType>
</domain>
<domain id="com.sun.management">
<mbeanType>*</mbeanType>
</domain>
</jmxfilter>
To add
JMX assets for discovery
1. In My webMethods: Navigate > Applications > Administration > Analytics > Infrastructure Components > Discovery
2. Click Add Asset.
The Add Asset Discovery dialog is displayed.
3. Populate the fields (required fields are identified with *).
The following table describes the fields in the Add Asset Discovery dialog.
Field | Description |
*Asset Type | Select the type of asset (JMX) to discover. |
*Data Collector | Select the Infrastructure Data Collector to use for the discovery. |
*Host | Specify the host name or IP address for the discovery. The name must be unique. |
*Port | Specify the port number for the discovery. |
SSL | (Optional) Select the check box if an SSL connection is required. |
*Username | User ID needed to log in to the asset. |
*Password | Password needed to log in to the asset. |
*Filter File | Specify the path to the filter file. |
4. Click OK to add the specified asset, or click Cancel if you want to cancel the procedure without adding the discovery.