Using the environment checker utility
Use the following information to work with the checker utility:
Before you begin
- Ensure that the PATROL_HOME environment variable is defined
Ensure that the JAVA_HOME environment variable is defined and set to JRE 1.8 and later versions
- Open a command prompt window or shell.
- Run the script <<Patrol home>>\Patrol3\<<KM directory>>\envChecker.bat (Use .sh script file for UNIX)
- Provide the inputs to connect to the Tomcat or Generic Java Server system
To check the connection status with an Apache Tomcat environment
After you open a command prompt window or shell:
- Port: Enter the host name or the IP address of a local or remote host. The IP addresses can be in the IPv4 or IPv6 format.
- Tomcat Username: Enter the user name for the monitored JVM.
- Tomcat password: Enter the password for the monitored JVM.
- SSL key type: Enter one of the following options for the SSL key type used to connect to the Tomcat or Generic Java Server environment:
- 0–There is no SSL key used for the connection.
- 1–A one-way SSL key is used for the connection.
- 2–A two-way SSL key is used for the connection.
If you enter the option for one-way or two-way SSL key types, you need to enter the truststore file path and password, and a keystore file for two-way SSL key connections.
The envchecker utility starts checking the connection between the KM and the monitored environment.
If the connection is working, the utility displays the available data from the monitored environment.
If the connection is not working, the utility displays ERR_M_TCT_CONNECTION_ERROR. Contact your system administrator if there is a connection error.
To check the connection status with a Generic Java Server environment
After you open a command prompt window or shell:
- Port: Enter the host name or the IP address of a local or remote host. The IP addresses can be in the IPv4 or IPv6 format.
- Generic JVM server Username: Enter the user name for the monitored JVM.
- Generic JVM server password: Enter the password for the monitored JVM.
- Connection type: Enter the server type used to monitor the environment.
- jmxrmi (default)
- ARServer (Remedy server)
- SSL key type: Enter one of the following options for the SSL key type used to connect to the Tomcat or Generic Java Server environment:
- 0–There is no SSL key used for the connection.
- 1–A one-way SSL key is used for the connection.
- 2–A two-way SSL key is used for the connection.
If you enter the option for one-way or two-way SSL key types, you need to enter the truststore file path and password, and a keystore file for two-way SSL key connections.
The envchecker utility starts checking the connection between the KM and the monitored environment.
If the connection is working, the utility displays the available data from the monitored environment.
If the connection is not working, the utility displays ERR_M_GJS_CONNECTION_ERROR. Contact your system administrator if there is a connection error.