|
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:
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%
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%
Follow the steps given below to create a Java Runtime Monitor;
Go to 'Admin -> Servers & Applications' and click on New Monitor link.
From the Add Monitor of type drop down menu, select Java Runtime.
Enter the IP Address or Hostname of the host, in which the Monitor is running.
Enter the SubNetMask of the network.
Provide the Port number, in which JDK is running (default: 1099). You can also provide multiple ports, separated by commas.
Enter the Polling interval time, in minutes.
Enter the JNDI name, e.g. '/jmxrmi'.
If you check the Authentication is enabled checkbox, enter the Username and Password.
Choose the Business Service Group from the combo box, with which you want to associate the Java Runtime Monitor;
In the case of Professional Edition, it is Business Service [optional].
In the case of Enterprise Edition - Probe, it is Business Service [optional].
In the case of MSP Edition - Probe, it is Customer and Site [mandatory].
See Also:
Monitor Information - Java Runtime Monitor | Create Other New Monitors
|