Agent configuration variables
Note
This topic is relevant to PATROL for IBM DB2 9.6.10 and 9.6.10.01 only. For later versions, see Configure using PATROL Configuration Manager.
The following table lists and describes variables that are set in the PATROL Agent for PATROL for IBM DB2. Use the agent configuration utility to view these variables. Some variables are created for internal use only. These variables are used by PATROL for IBM DB2 and alteration of these variables harms the operation of PATROL for IBM DB2.
Warning
Do not change variables that are designated For internal use only; do not modify or delete. Modification or deletion of these variables harms the operation of PATROL for IBM DB2.
When changing variables, follow these guidelines:
- Ensure that you are aware of the implications before changing a variable.
- Create a record of the original setting for a variable before you change it.
- If you use the PATROL Configuration Manager to change variables, make sure that the Backup Agents Before Apply option remains selected.
For more information, see Using PATROL Configuration Manager to modify and migrate configuration and the PATROL Configuration Manager User Guide.
Directory path and variable | Description | Values | Default |
---|---|---|---|
/PSO/Default/logLevel | Set the level of detail required in the DB2 logs. | Valid values:
| |
/PSO/Default/shutdownKMFilePath | (Optional) Every 30 seconds, the KM checks if the file registered in this pconfig variable exists or not.
Note: The shutdown file must be located on the PATROL Agent machine. | - | NA |
/PSO/Default//DB2EnvList | Lists the DB2 environment names added for monitoring. | Names separated by newline character (\n). | NA |
/PSO/DB2/<<environment name>>/healthMonitoring | Describes the selected type of monitoring. | Valid values are:
| NA |
/PSO/DB2/<<environment name>>/runtimeList | Lists the monitored DB2 group numbers. | Comma separated list. Example: If you insert number 1, 2, then DB2 group number 1 and 2 will be monitored. Each group exists in its respective directory at | NA |
/PSO/DB2/<<environment name>>/jvmArgs | (Optional) JVM args for Java collector. | Any valid argument | NA |
/PSO/DB2/<<environment name>>/enableQRT | (Optional) Set this value to true to enable monitoring of SQL Queries response time. | True, False | NA |
/PSO/DB2/<<environment name>>/disableInstance | (Optional) Disables the creation of the instance on the PATROL tree view. | True, False | False |
/PSO/DB2/<<environment name>>/BPPMI2D | (Optional) Disables the creation of the instance on the PATROL tree view. | True, False | False |
/PSO/DB2/<<environment name>>/diagReport | (Optional) Generates diagnostic report. | 0 = Do not generate the report 1 = Generates report | 1 |
/PSO/DB2/<<environment name>>/javaDebugLevel | (Optional) Log level for the DB2 Java collector. | Valid values are:
| 3 |
/PSO/DB2/<<environment name>>/monitoringType | Describes the monitoring type of DB2 environment. | Valid values are:
| NA |
/PSO/DB2/<<environment name>>/db2InstallationHome | (Optional) Path to the monitored db2 installation home directory. | Valid values are:
If the DB2PATH is not defined as an environment variable in your DB2 system or if this field is left blank, the KM will monitor the default DB2 installation home if it exists in the XML file and your DB2 system, | NA |
/PSO/DB2/<<environment name>>/db2InstancesMonitoringList | (Optional) Lists the monitored DB2 instances. | Comma separated list. Regular expressions are not supported. If this field is left blank, the KM will monitor all the DB2 instances in the environment. | NA |
/PSO/DB2/<<environment name>>/db2User | Stores theuser namethat will be used to monitor the DB2 instances using JDBC connection. | In local monitoring the user name will be the user that runs the DB2 In remote monitoring, if this field is left blank, the KM will use the remoteHostUser details. | NA |
/SecureStore/DB2_MAIN/<<environment name>>_db2Password_Pass | Stores the DB2 user password used to monitor the DB2 instances. | The value must be entered in the following format: DB2_MAIN;DB2_ENVIRONMENT;DB2_SETUPWIN;DB2_SETUPUNIX;DB2_SETUPLOCAL;DB2_SETUPJDBC/<<The db2 user password that will be used to monitor the db2 instances>> | NA |
/PSO/DB2/<<environment name>>/isDB2PasswordChange | Indicates the change in the DB2 password. | Valid values are:
| NA |
/PSO/DB2/<<environment name>>/remoteHostUser | Stores the user name that is used to connect to the remote host. | NA | NA |
/SecureStore/DB2_MAIN/<<environment name>>_remoteHostPassword_Pass | Stores the password of the user name that is used to connect to the remote host. | The value must be entered in the following format: DB2_MAIN;DB2_ENVIRONMENT;DB2_SETUPWIN;DB2_SETUPUNIX;DB2_SETUPLOCAL;DB2_SETUPJDBC/<<The remote host user's password that will be used to connect to remote host>> | NA |
/PSO/DB2/<<environment name>>/isRemoteHostPasswordChange | Indicates the change in the remote DB2 host password. | Valid values are:
| NA |
/PSO/DB2/<<environment name>>/remoteHost | Stores the remote host name of the monitored DB2 environment. This field must be used only in remote UNIX or remote Windows monitoring. | - | NA |
/PSO/DB2/<<environment name>>/remoteHostPort | The remote host port number of the monitored DB2 environment. This field must be used only in remote UNIX or remote Windows monitoring. | Example: In UNIX environment with SSH client, this field can be SSH port 22. | NA |
/PSO/DB2/<<environment name>>/remoteHostAuthentication | Stores the remote host authentication details for power shell windows connection. This field must be used only in remote Windows monitoring. | Valid values:
| NA |
/PSO/DB2/<<environment name>>/remoteHostIsHttps | Stores the remote host connection details. This field must be used only in remote windows monitoring. | Valid values: 1 = False 2 = True | NA |
/PSO/DB2/<<environment name>>/diagLog/db2DiagLogFilterList | Stores the DB2 diag log filter list of a DB2 environment. | For PATROL for IBM DB2 9.6.10 and earlier, separate names by using the newline character (\n). For PATROL for IBM DB2 9.6.10.01 and later, separate names by using <BMC_SEP>. Valid format: [<state: Either of these values (PRUNE,INFORMATION,WARN,ALARM])> <filter: Can contain anything the IBM db2diag tool support>] Example: WARN -lastlines 100 -l Warning On applying this filter the specific state is displayed in the | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/diagLog/db2DiagLogFilterList | Stores the DB2 diag log filter list of a DB2 instance. | For PATROL for IBM DB2 9.6.10 and earlier, separate names by using the newline character (\n). For PATROL for IBM DB2 9.6.10.01 and later, separate names by using <BMC_SEP>. Valid format: [<state: Either of these values (PRUNE,INFORMATION,WARN,ALARM])> <filter: Can contain anything the IBM db2diag tool support>] Example: WARN -lastlines 100 -l Warning On applying this filter the specific state will be displayed in the | NA |
/PSO/DB2/<<environment name>>/collectors/<<Collector Name>>/Cycle | Stores DB2 collector cycle, for each collector existing in <<Patrol installation home>>/Patrol3/pso/conf/xml/collectors.xml. | - | NA |
/PSO/DB2/<<environment name>>/collectors/isCollectorsCachingEnable | (Optional) Set this value to true to add the collector output to the cache thread. If this variable is false, the collector will send the output directly to PATROL Agent without caching the data. This variable is defined in the Note: BMC recommends that you do not modify this variable without assistance from BMC customer support. | Valid values:
| True |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/tableSpaces/stateWarnList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in warn state if its value exists in the list defined in this pconfig variable. Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateWarnList is '2,0x8,0xc'. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/tableSpaces/stateAlertList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in alarm state if its value exists in the list defined in this pconfig variable.Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateAlertList is '2,0x8,0xc'. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 database name>> /parameters/ConnToDBOK/warnList | It defines SQL code list and sets the ConnToDBOK parameter to warning state. | Comma separated list. If failed to connect to the database, the KM will check for the error code that is equal to the SQL code defined in the list. If the error code matches any of the SQL code, the value of the parameter will be set to warn state. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/<<DB2 database name>>/parameters/ConnToDBOK/warnList | Sets the ConnToDBOK parameter to warning state for a specific instance and database. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/parameters/ConnToDBOK/warnList | Sets the ConnToDBOK parameter to warning state for a specific instance level, it is applicable for all the databases under this instance. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/parameters/ConnToDBOK/warnList | Sets the ConnToDBOK parameter to warning state for environment level, it is applicable for all the databases under all instances of this environment. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 database name>>/parameters/ConnToDBOK/excludeAlarmList | It defines SQL code list and the ConnToDBOK parameter will not be set to an alarm state. | Comma separated list. Example: SQL1116N,SQL1035N,SQL1032N If failed to connect to the database, the KM will check for the error code that is equal to SQL code defined in this list, If the error code matches any of the SQL code, the value of the parameter is set to a value that will not generate an alarm. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/<<DB2 database name>>/parameters/ConnToDBOK/excludeAlarmList | The ConnToDBOK parameter will not be set to an alarm state for a specific instance and database. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/parameters/ConnToDBOK/excludeAlarmList | The ConnToDBOK parameter will not be set to an alarm state for a specific instance level, it is applicable for all the databases under this instance. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/parameters/ConnToDBOK/excludeAlarmList | The ConnToDBOK parameter will not be set to an alarm state for environment level, it is applicable for all databases under all instances of this environment. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/<<DB2 database name>>/tableSpaces/stateWarnList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in alarm state if its value exists in the list defined in this pconfig variable.Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateAlertList is '2,0x8,0xc'. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/<<DB2 database name>>/tableSpaces/stateAlertList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in alarm state if its value exists in the list defined in this pconfig variable.Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateAlertList is '2,0x8,0xc'. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 database name>>/tableSpaces/stateWarnList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in alarm state if its value exists in the list defined in this pconfig variable.Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateAlertList is '2,0x8,0xc'. Note Applicable only for JDBC monitoring. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 database name>>/tableSpaces/stateAlertList | Stores the list of tablespace state values in hexadecimal. Note: The TblspState parameter of any tablespace related to the specific instance will be in alarm state if its value exists in the list defined in this pconfig variable.Hex values are integer values. You can add the prefix '0x' to any value. Example for the stateAlertList is '2,0x8,0xc'. Note Applicable only for JDBC monitoring. | Comma separated list. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/includedDatabases | Stores list of the databases that are included in the data collection. | Comma separated list. Supports regular expressions. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/excludedDatabases | Stores list of the databases that are excluded from data collection. Note: If the pconfig variable includedDatabases is defined then this pconfig variable is not relevant. | Comma separated list. Supports regular expressions. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/includedPartitions | Stores the list of the partition numbers that will be collected for instance and databases. | Comma separated list. Supports regular expressions. | NA |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/excludedPartitions | Stores the list of partitions numbers that will not be collected. Note: If the pconfig variable includedPartitions of the instance is defined then this pconfig variable is not relevant. | Comma separated list. Supports regular expressions. | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/id | Stores the id name of the custom SQL query. | - | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/instanceName | Stores the instance name of the DB2 server that you want to configure for custom SQL queries. | - | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/dbName | Stores the database name of the DB2 server that you want to configure for custom SQL queries. | - | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/queryName | Stores the custom SQL query that will be used for execution. | - | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/cycle | Stores the collection cycle time in minutes of the DB2 SQL query. | - | NA |
/PSO/DB2/<<environment name>>/CustomSQL/<<id>>/update | Updates the custom query. | Valid value: 1 = when creating a new custom sql query from PCM. | NA |
/PSO/DB2/<<environment name>>/i18n/lang | Stores the locale of DB2 environment in the format, <language>_<country>. Example: For EN_US, if you do not insert this pconfig variable, then the current locale of the Java collector will be used. If the current locale from java is not retrieved, then the default locale EN_US will be used. | NA | |
/PSO/DB2/<<environment name>>/javaHome | Stores the Java home path that will be used to run the Java collector. JAVA_HOME environment variable is supported. | - | NA |
/PSO/DB2/<<environment name>>/localUser | Stores the localuser namedetails. These details will be used to run the Java collector. | - | NA |
/SecureStore/DB2_MAIN/<<environment name>>_localPassword_Pass | Stores the local user password details. These details will be used to run the Java collector. | The value must be entered in the following format: DB2_MAIN;DB2_ENVIRONMENT;DB2_SETUPWIN;DB2_SETUPUNIX;DB2_SETUPLOCAL;DB2_SETUPJDBC/<<The local user's password that will be used to run the java collector>> | NA |
/PSO/DB2/<<environment name>>/isLocalPasswordChange | Indicates if the DB2 local password has been changed. | Valid values
| NA |
/PSO/DB2/<<environment name>>/<<instance name>>/shutdownInstanceFilePath | Every 1 minute, the KM checks if the file registered in this pconfig variable exists or not. If the file exist,
Note: The shutdown file must be located on the DB2 machine. | - | NA |
/PSO/DB2/<<environment name>>/securityMechanism | (Optional) The securityMechanism used to connect to database. | Mention any value supported by com.ibm.db2.jcc.DB2BaseDataSource. For example:
| |
/PSO/DB2/<<environment name>>/<<DB2 instance name>>/securityMechanism | (Optional) The securityMechanism used to connect for a specific instance. | ||
/PSO/DB2/<<environment name>>/disableRemoteDBMonitoring | (Optional) Set this variable to 1 or true if you do not want to discover remote databases. | Valid values:
| NA |
/PSO/DB2/<<environment name>>/disableRemoteHadrDBMonitoring | (Optional) Set this variable to 1 or true if you do not want to discover remote HADR databases. | Valid values:
| NA |
/PSO/DB2/<<environment name>>/isPConfigDestroyTree | (Optional) Set this variable to 1 or true if you want to destroy the DB2 environment and rebuild it from the beginning Note: Use this variable when you want to delete pconfigvariable like filters, shutdownpath and other variables. | Valid values:
| NA |
/PSO/Default/readFromChannelTimeOut | (Optional) Set the timeout needed to read from the channels in seconds. Note: Restart the PATROL Agent to apply these changes. | Any integer | 120 seconds |
Comments
Log in or register to comment.