Adding javaruntime application monitor – H3C Technologies H3C Intelligent Management Center User Manual

Page 532

Advertising
background image

518

For Tomcat with JRE

{

In Windows operating system: <Tomcat installation path>\bin\catalina.bat

{

In Linux/Unix operating system: <Tomcat installation path>/bin/catalina.sh

For IMC with JRE

{

In Windows operating system: <IMC installation path>\Client\bin\startup.bat.

{

In Linux/Unix operating system: <IMC installation path>/Client/bin/startup.sh.

2.

Add the following text to the script:
set 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
Parameter description:

{

Dcom.sun.management.jmxremote.port=1099—1099 is the listening port. It can be another
port, but cannot conflict with other services.

{

Dcom.sun.management.jmxremote.ssl=false—false indicates that no SSL connection is needed
for remote RMI access.

{

Dcom.sun.management.jmxremote.authenticate=false—false indicates that no authentication
is needed for remote RMI access. For information about enabling authentication, see the Java

document.

{

No carriage returns can be included.

{

For IMC, this text should be in front of the part "%IMC_HOME%\bin\bootstrap.jar" start.

3.

Save the script and restart the JRE application.

Adding JavaRuntime application monitor

When you add application monitors for JavaRuntime, follow these guidelines:

The target hosts must be added to the IMC platform so that the connections between the devices
and access devices can be obtained. For information about adding devices to the IMC platform,

see H3C IMC Base Platform Administrator Guide.

If authentication is required for remote RMI access (the value for

Dcom.sun.management.jmxremote.authenticate is true), get the username and password in
advance.

To view traffic statistics in the monitor report of the JavaRuntime application, make sure at least one
probe is configured in APM. After a JavaRuntime application monitor is added, APM sends the IP

address and port number of the monitored JavaRuntime application to the probes for traffic

collection.

To add a JavaRuntime application monitor:

1.

Click the Resource tab.

2.

Enter the Add Application page in one of the following ways:

{

Select Application Manager > Add Application from the navigation tree.
The page displays all application types that can be monitored by APM.

{

Select Application Manager > Application Monitor from the navigation tree, and then click Add
on the application monitor list page.

3.

Click JavaRuntime of the Service Monitor class.

Advertising