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 JDK1.5 JVM and above, 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 : Port number "1099" can be replaced with the actual port number of the JMX agent. Support is available for JRE1.5 and above.

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. Go to 'Admin -> Servers & Applications' and click on New Monitor link.

  2. From the Add Monitor of type drop down menu, select Java Runtime.

  3. Enter the IP Address or Hostname of the host, in which the Monitor is running.

  4. Enter the SubNetMask of the network.

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

  6. Enter the Polling interval time, in minutes.

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

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

  9. Choose the Business Service Group from the combo box, with which you want to associate the Java Runtime Monitor;

  10. 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 © 2012, ZOHO Corp. All Rights Reserved.