Configuring SAP HANA direct connection setup
To configure the monitor type
In the Add Monitoring Configuration panel, select the following parameters for the SAP HANA KM:
Parameter | Selection |
---|---|
Monitoring Solution | SAP HANA |
Monitor Profile | SAP HANA |
Monitor Type | SAP HANA Direct connection setup |
You see the option to configure environment configuration and global monitoring setting. In the Global monitoring setting, you can select the Logging check box to enable logging for all of the configured PATROL Agent environments to confirm that all of the PATROL for SAP HANA environments are correctly configured.
To add an environment configuration
Click Add and enter the Environment Configuration details.
Field | Description |
---|---|
Environment name | Enter a unique environment name for monitoring the SAP HANA database. A container is created with this environment name that holds all the TrueSight instances. |
The remaining environment details are in the following sections:
- Direct instance connection details
Custom SQL Query details- SAP HANA connection details
- Monitoring categories details
- Environment settings details
Direct instance connection details
Click Add and enter the direct instance connection details.
Field | Description |
---|---|
Host | Enter the host name or IP address of the monitored SAP HANA database. The value must not contain any of the following characters: '#|~@%^;`(){}?\\"[]+=\&><*/ |
Connection method | Specify the connection method:
|
Instance number or port | Enter the SAP HANA database instance number or SQL port to monitor. |
Custom SQL Query details
Click Add and enter the custom SQL query details
Custom SQL Query | |
---|---|
Query name | Enter a SQL query name. |
SQL query | Enter the SQL query. Do not end the query with a semi-colon (;). |
Collection time (min) | Specify the collection time interval in minutes. Default value is 10 minutes. |
Enable number of records annotation | Select this check box to display the query result as an annotation on the number of records metric. |
SAP HANA connection details
Field | Description |
---|---|
JDBC driver location | Enter the path of the JDBC driver file. For more details about installing the JDBC driver, see Connect to SAP HANA via JDBC. For example: /home/ptest/JDBC_Driver/ngdbc.jar |
Credentials | |
User name | Enter the user name to access the SAP HANA database. |
Password | Enter the password to connect to the SAP HANA database. |
Secure communication details | |
Connect using SSL | Select the check box to connect to SAP HANA database by using SSL. |
Validate SSL certificate | Select the check box to validate the SSL certificate. If you want to validate the SSL certificate, enter values in the Values required for certificate validation section. |
Values required for certificate validation | |
Host name | Enter the host name of the SAP HANA database server to be validated in the certificate. To not validate the host name in the certificate, retain the default value (*) in the field or leave it blank. |
TrustStore file path | Enter the path of the TrustStore file. The file format must be JKS as supported by SAP HANA database. |
TrustStore password | Enter the password to connect to the TrustStore file. |
KeyStore file path | Enter the path of the KeyStore file. |
KeyStore file format | Select the format of the KeyStore file. |
KeyStore password | Enter the password to connect to the KeyStore file. |
Monitoring categories details
Select the SAP HANA Database activity categories that you want to monitor.
Monitoring Categories | Description |
---|---|
Files | Select the check box to monitor performance and availability of files usage. For more details, see the Files-SHM_FILES monitoring category. |
Services | Select the check box to monitor performance and availability of services. For more details, see the Services-SHM_SERVICES monitoring category. |
Health | |
Health | Select the check box to monitor performance and availability of health indicators like CPU utilization and disk usage. For more details, see the Health-SHM_HEALTH monitoring category. |
Minimum alerts severity for monitoring | Select the severity level at which you want the KM to generate alerts. |
Environment settings details
Field | Description |
---|---|
Logging | Select the check box to enable debugging operations for all SAP HANA instances configured on this environment. The log files are created in the following PATROL_HOME directories:
|
Device mapping | By default, device mapping is enabled and all the SAP HANA database instances are discovered under the SAP HANA host device. If the check box is clear, all the SAP HANA database instances are discovered under the PATROL Agent host device. |
Java collector settings | |
Java path | Enter the path to the JRE directory on the PATROL Agent host. The Java version must be 8 or later.
Alternatively, you can also use the $JAVA_HOME environment variable in this field. If you use the $JAVA_HOME variable, the Java location depends on the following:
|
JVM arguments | Enter the Java Virtual Machine (JVM) arguments for the Java collector. |
User name | Enter the local user name to start the Java process. |
Password Confirm password | Enter the user password to start the Java process. |
Collection settings | |
Availability collection interval (min) | Enter the time interval to check for the environment's availability for collecting data. The default interval is one minute. |
Data collection interval (min) | Enter the time interval for data collection from the environment. The default interval is five minutes. Note: Entering a data collection time that is less than 5 minutes results in a performance issue for the KM. |
Long running data collection queries (min) | Enter the time interval to determine when a running query is blocked. The query is blocked because its execution duration is equal to or greater than this interval's threshold. The default interval is 30 minutes. |