2.5 Discovering AppManager for JAVA Resources

Use the Discovery_JAVA Knowledge Script to discover Java resources installed on local or remote UNIX, Linux, and Windows servers. This Knowledge Script returns information about successful, failed, and partial discoveries, and it raises events to notify you of errors.

Run the Discovery_JAVA script on AppManager UNIX agents.

By default, this script is scheduled to run once for each computer.

Set the following parameters as needed:

Parameter

How to Set It

JVM host settings

Jolokia URL address

Specify the Jolokia agent URL address from where you want to discover Java resources. The default is a null string.

NOTE:

  • AM JAVA UNIX only supports the HTTP protocol for the Jolokia URL

  • URL redirection is not supported

  • The URL address cannot exceed 113 characters in length

Timeout for AppManager to fetch metrics from JVM

Set the number of seconds, from 5 to 1000, that AppManager will wait for metrics to return from a Java virtual machine. The default is 600.

NOTE:The other AM JAVA UNIX Knowledge Scripts use this timeout value to determine how long to wait when getting metrics.

Event Settings

Event severity when module error or job fails

Specify the event severity, from 1 to 40, to indicate the importance of an event in which this module experiences an error or the job fails. The default is 5.

Raise event when discovery succeeds?

Set to Yes to raise an event when Java resource discovery succeeds. The default is no.

Event severity

Specify the event severity, from 1 to 40, to indicate the importance of an event in which Java resource discovery succeeds. The default is 25.

Raise event when discovery partially succeeds?

Set to Yes to raise an event when Java resource discovery partially succeeds. The default is yes.

Event severity

Specify the event severity, from 1 to 40, to indicate the importance of an event in which Java resource discovery partially succeeds. The default is 15.

Discovery Settings

Discover managed beans?

Set to Yes to discover managed Java beans. The default is yes.

Discover counters?

Set to Yes to discover Java bean counters. The default is no.

NOTE:Discovery supports composite data types for complex counters. Other complex counter types, for example tabular and string array, are not supported.

CAUTION:Enabling this option can cause a console performance issue as there may be a large number of objects to process and display.

Regular expression to include managed bean domain names

Specify a comma-separated list of managed bean domain names to include in discovery. You can use regular expressions in the names. The default is a null string.

NOTE:The include filter takes precedence when both an include and exclude filter are specified.

Regular expression to exclude managed bean domain names

Specify a comma-separated list of managed bean domain names to exclude from discovery. You can use regular expressions in the names. The default is jolokia|jmx4perl.