Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

2.3. Manually Importing a JVM Resource

As Section 2.1, “Required JVM Configuration for Discovery” describes, there are only two connection configurations that can be used for a Java process for it to be discovered automatically by the agent. Specifically, those two connection settings both use a Sun management API, for remoting or for attach.
Any Java process can be imported into the inventory manually, even if it does not use the expected configuration for autodiscovery, as long as it enables JMX remoting in a supported form, meaning Sun or IBM remoting.

Note

The JVM instance has to be running for the resource to be discovered and imported.
  1. Click the Inventory tab in the top menu.
  2. Select the platform resource.
  3. Click the Inventory tab of the platform.
  4. Click the Import button in the bottom of the Inventory tab, and select the JMX server resource type.
  5. Select the type of JVM, and set all of the connection properties correctly, depending on the type of JVM selected.
  6. Fill in the connection information for the JVM. This varies depending on the JVM type, but it includes options like a URL and port, directory paths for client libraries, directory paths for classes, and login credentials.
  7. Click the Finish to import the instance.