Java Runtime Monitor

Introduction

This section is common to all the editions of IT360 - Professional Edition, Enterprise Edition (Probes only) and MSP Edition (Probes only).

Java Runtime Monitor provides out-of-the-box remote monitoring and management on the Java platform, and of applications that run on it.

PreRequisite:

To monitor a Java Runtime Environment, the following java runtime options needs to be added to your application

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

Note: Replace 1099 with the actual port number of the agent.

Example:

  1. To enable Java Runtime Monitor in JBoss do the following;

Edit the 'run.sh/bat' under JBoss 'home/bin'. Append the following command to 'JAVA_OPTS';

JAVA_OPTS =-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false %JAVA_OPTS%

  1. To enable Java Runtime Monitor in Tomcat do the following;

Edit the 'run.sh/bat' under Tomcat 'home/bin'. Append the following command to 'JAVA_OPTS';

JAVA_OPTS =-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false %JAVA_OPTS%

Steps to add a Java Runtime Monitor

Follow the steps given below to create a Java Runtime Monitor:

  1. Login to IT360 console with the Username and Password of an Admin user.

  2. Click the Admin tab in the header pane and then the Add Monitors icon.

  3. Click Add/Discover tab at the left side panel.

  4. Choose the option Add from the Add / Discover type dropdown and select the Application radio button.

  5. In the Add New Monitor wizard displayed, click Java Runtime under Application Servers (see this screenshot). In the Add Monitor wizard displayed, do the following:

  6. Enter a Display Name for the server.

  7. Enter the 'Host Name / IP Address', of the host, in which the Monitor is running.

  8. Enter the SubNetMask of the network. (The subnet mask determines the maximum number of hosts on a subnetwork)

  9. Provide the Port number, in which JDK is running (default: 1099). You can also provide multiple ports, separated by commas.

  10. Enter the Polling interval time, in minutes. (The time interval to monitor the different parameters configured for a Monitor)

  11. Enter the JNDI name, e.g. '/jmxrmi'.

  12. If you check the Authentication is enabled checkbox, enter the Username and Password.

  13. Now, Associate the above Monitor Instances to a Business Service. i.e. choose the Business Service, to which you want to associate the Java Runtime Monitor. If no Business Service is found, Create one by clicking the Create New Business Service link.

  14. Click Add Monitor(s). This discovers the Monitors from the network and starts monitoring them.

Top

See Also:

Monitor Information - Java Runtime Monitor | Create Other New Monitors



Copyright © 2013, ZOHO Corp. All Rights Reserved.