Monitoring a Java Virtual Machine

To monitor a Java Virtual Machine, you must add the Java Virtual Machine source to the project in HCL OneTest Server and select the counters that are used to capture the monitoring metrics.

Before you begin

You must have completed the following tasks:

About this task

The Java Virtual Machine source is added to the list of resource monitoring sources when the agent is installed.

Procedure

  1. Click Infrastructure > Resource Monitoring.
    The resource monitoring page opens.
  2. In the resource monitoring page, click Add a Source and select add a Java Virtual Machine.
  3. Fill in the following connection settings in the New server dialog:
    Note: For hosts that are already connected to HCL OneTest Server through an agent, you have only the Access target from field enabled. Move directly to step 4.
    1. In Target host, enter the IP address or host name and port number of the host where the server to monitor is installed.
    2. In Server edition, select the appropriate server from the drop-down list.
    3. In Path to the status page of the server, enter the name of the page to view the status of the server.
    4. In Security, select the following options:
      Secured with TLS/SSL
      If the application server is secured with TLS/SSL.
      Trust self-signed certificate
      To accept the server certificate.
      Do not verify host name
      To ignore verification of the host name in the certificate.
      Require credentials
      If the server requires log-in credentials, enter a User name and Password.
  4. Click Add.
  5. Select and save the statistics counters to monitor the source. You can select them from the list where they follow the server logical organization.
    For a faster selection, select the counters from the built-in sets drop-down list where they are organized by theme and save your selection.

    When the selected counters are saved, two tables are displayed in the resource monitoring main page. They contain the total number of sources you have added and the number of sources ordered by type.

    Tables of available sources

What to do next

You can click the links in the tables to view the performance metrics and usage data in a graph for the monitored Java Virtual Machine.