Agent configuration variables
The configuration variables described in this section are Microsoft SQL Server variables that are set in the PATROL Agent. For information about how to modify these variables, see Using-PATROL-Configuration-Manager-with-PATROL-for-Microsoft-SQL-Server.
For more detailed information, see the following BMC documentation products:
For summary information about wpconfig, see the PATROL Console for Microsoft Windows User Guide—Customizing PATROL, Volume 3.
For detailed information about how to use pconfig, see the PATROL Agent Online documentation.
For detailed information about how to use the PATROL Configuration Manager, see the PATROL Configuration Manager User Guide, version 1.4.01 or later.
This section also lists variables that were formerly used by PATROL for Microsoft SQL Server but are now obsolete.
This appendix provides information about the following variables:
- Agent configuration variables
- Obsolete variables
Agent configuration variables
Variable | Description |
|---|---|
/AgentSetup/ MSSQL_SERVER.AgentHostName. defaultAccount |
|
/AgentSetup/ MSSQL_SERVER.AgentHostName. OSdefaultAccount | If this variable is modified, you must restart the Agent. KM Commands > KM Admin > Setup/Configure KM > KM Commands > KM Admin > SQL Config Set up |
/AgentSetup/ MSSQL_SERVER.SQLServerInstanceName\\ IntegratedStandard | For use with PATROL Configuration Manager only. Values: I = Integrated S = Standard |
/AgentSetup/ MSSQL_SERVER.ADMIN. SQLServerInstanceName\\IntegratedStandard | For use with PATROL Configuration Manager only. Stores the type of SQL Server login account with system Values: I = Integrated S = Standard |
/AgentSetup/ MSSQL_SERVER.AgentHostName. OSdefaultAccountAppliesToCmds | If this variable is modified, you must restart the Agent. Flag indicating whether OSdefaultAccount is used to See the PATROL Agent Online documentation for more information. Create this variable using only one of the following menu commands:
|
/AgentSetup/ MSSQL_SERVER_ADMIN.AgentHostName. defaultAccount | If this variable is modified, you must restart the Agent. See the PATROL Agent Online documentation for more information. Create this variable using only one of the following menu commands:
|
/AgentSetup/ MSSQL_SERVER_ADMIN.AgentHostName. OSdefaultAccount | If this variable is modified, you must restart the Agent. See the PATROL Agent Online documentation for more information. Create this variable using only one of the following menu commands:
|
/AgentSetup/ MSSQL_SERVER_ADMIN.AgentHostName. OSdefaultAccountAppliesToCmds | If this variable is modified, you must restart the Agent. Flag indicating whether OSdefaultAccount is used to See the PATROL Agent Online documentation for more information. Create this variable using only one of the following menu commands:
|
Click /MSSQLServer to display the following variables: | |
/MSSQLServer/ DebugDir | Stores the location of the directory on PATROL Agent host where If the /MSSQLServer/SaveDebugInFile pconfig variable is set to If you create the /MSSQLServer/DebugDir pconfig variable To create or modify this variable, use the KM Commands > KM Admin > |
MSSQLServer/ DEBUG_DISC_STAT | Changes to this variable are detected by the ConfigUpdates parameter. 0 = DEBUG is turned off during discovery 1 = DEBUG is turned on during discovery To create or modify this variable, use the KM Commands > KM Admin > |
/MSSQLServer/ DEBUG_PRE_DISC_STAT | Changes to this variable are detected by the ConfigUpdates 0 = DEBUG is turned off during pre- discovery 1 = DEBUG is turned on during pre- discovery To create or modify this variable, use the KM Commands > KM Admin > |
/MSSQLServer/ SaveDebugInFile | Enables you save a debug in a file. To create or modify this variable, use the KM Commands > KM Admin > |
/MSSQLServer/ | Flag indicating whether special characters, such as parentheses 0 = special characters are not allowed in the OSQL path Create or modify this variable using the wpconfig utility. |
/MSSQLServer/ | Lists the SQL Servers excluded from discovery. Enter the pconfig variable followed by the names of the SQL Servers ABC\SQL8_TEST|MSSQLServer|MSSQL-SQL8DATA| This example excludes the following SQL Servers:
|
/MSSQLServer/VirtualServerName\\ | Enables you to set the Failover parameter to go into an alarm You should set this variable to 1 if you want the Failover parameter Create or modify this variable using the wpconfig utility. |
/MSSQLServer/SQLServerInstanceName/ | Use this variable when the SQL Server instance that you are monitoring List the SQL Server instance names that are configured as Publishers You must enter this variable manually. It does not appear otherwise. When you want to monitor Replication where Publishers are residing ABC\SQL8_TEST|MSSQLServer|MSSQL-SQL8DATA| The above example includes the SQL Server instance
|
/MSSQLServer/SQLServerInstanceName/ | Use this variable when the SQL Server instance that you are monitoring Publisher and Distributor are on different instances. Stores the credentials of the SQL Server account that has
You must enter this variable manually. It does not appear otherwise. When you want to monitor Replication where Publishers are residing pconfig variable as in the following example:
where,
|
/MSSQLServer/SQLServerInstanceName/ | This variable is used to set the sleep value that helps |
/MSSQLServer/SQLServerInstanceName/ | This variable is used to set the threshold value (in minutes) Default value: 10 minutes |
/MSSQLServer/SQLServerInstanceName/ ConfiguredWithGroup | Flag indicating whether the SQL Server instance is configured A value 1 indicates that the SQL Server instance is configured To create or modify this variable, use the |
/MSSQLServer/SQLServerInstanceName/ ConfiguredGroupName | Stores the configured Windows group name. To create or modify this variable, use the |
/MSSQLServer/SQLServerInstanceName/ ExcludedDbs | Stores the list of databases excluded from monitoring when To create or modify this variable, use the |
/MSSQLServer/SQLServerInstanceName/SQL EXCLUDED_ERRORLOG_STRINGS | Stores the list of strings to be excluded from monitoring. To create or modify this variable, use the |
/MSSQLServer/SQLServerInstanceName/ ExcludedLogins | Stores the list of SQLServer logins SQLAgent jobs owned by these To create or modify this variable, use the |
/MSSQLServer/SQLServerInstanceName/ PubInst | Use this variable when the SQL Server that you are You must enter this variable manually. Set the value to Publisher instance name. |
/MSSQLServer/SQLServerInstanceName/ PubInst.defaultAccount | Use this variable when the SQL Server that you You must enter this variable manually. Set the value to Publisher instance sa user name This name will be used while connecting to the |
MSSQLServer/SQLServerInstanceName/ ResetJobFailureAlarm | Enables you to clear the SQLAgentJobFailures If you set the value to 1, at the start of each |
/MSSQLServer/A_DBSPMB_ENABLED | This variable is not present by default. If it is set to 1, the Calculation instead of sp_spaceused. |
/MSSQLServer/ SQLServerInstanceName/ UserExListBlocked | Contains the list of Users excluded from monitoring |
/MSSQLServer/ SQLServerInstanceName/ UserExListIdle | Contains the list of Users excluded from monitoring |
/MSSQLServer/ SQLServerInstanceName/ blocked_waittime | The processes having waittime greater than this variable are |
/MSSQLServer/SQLServerInstanceName/ JobStepFailFlag | Checks a job step failure if the value of this variable is set to 1. However, PATROL for Microsoft SQL Server ignores a job step The default value is 0, meaning PATROL for Microsoft SQL Server |
/MSSQLServer/SQLServerInstanceName/ ExcludedJobCategories | Stores the list of SQLServer Agent job categories that are To create or modify this variable, use the KM Commands > |
/MSSQLServer/SQLServerInstanceName/ ExcludedSQLServerJobNames | Stores the list of SQLServer Agent job names that are excluded To create or modify this variable, use the KM Commands > |
/MSSQLServer/SQLServerInstanceName/ GENUSERFLAG | Determines whether Product Short is configured for general The value of GENUSERFLAG must be one character long.
To create or modify this variable, use the KM Commands > KM Admin > |
/AgentSetup/ VirtualServerName | Stores the virtual server name. This variable is required for Veritas cluster discovery. When running SQL Server on a Veritas cluster, set the virtual /AgentSetup/VirtualServerName should be the same as the PATROL_VIRTUALNAME_port. This name is case sensitive. |
/AgentSetup/ Veritas_sql_server_group | Stores the SQL Server group name. This variable is required for Veritas cluster discovery. When running SQL Server on a Veritas cluster, set the SQL |
/AgentSetup/ | Stores SQL Server service name if the cluster is a Veritas cluster. |
/AgentSetup/ | Stores information about the Veritas cluster This variable is required for Veritas cluster discovery. When running SQL Server on a Veritas cluster, the value |
Click /MSSQL_SERVER/AgentHostName to display the following variables: | |
/MSSQL_SERVER/AgentHostName/ BlockAutoLaunch | Changes to this variable are detected by the Flag indicating whether or not a user instance is created for
To create or modify this variable, use the KM Commands > KM Admin > application. For more information, see Monitoring-users-and-processes. |
/MSSQL_SERVER/AgentHostName/ BlockedTime | Changes to this variable are detected by the ConfigUpdates Indicates the amount of time a process can block another The value for this variable is the amount of time in seconds To create or modify this variable, use the KM Commands > For more information, see Monitoring-users-and-processes. |
/MSSQLServer/AgentHostName\\InstanceNa | If this variable is modified, you must restart the Agent. Turns off SQL Snapshot (DBCC output with trace)
|
/MSSQL_SERVER/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates Flag indicating whether or not a user instance is created
To create or modify this variable, use the KM Commands > For more information, see Monitoring-users-and-processes. |
/MSSQL_Server/AgentHostName/ | Disables and enables idle process monitoring. You must enter this variable manually.
|
/MSSQL_Server/AgentHostName/ | Disables and enables blocked process monitoring You must enter this variable manually.
|
/MSSQL_SERVER/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. The value for this variable is the amount of time in seconds entered which displays as 1200 seconds. To create or modify this variable, use the KM Commands > application. For more information, see Monitoring-users-and-processes. |
/MSSQL_SERVER/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates Flag indicating whether or not a user instance is created
To create or modify this variable, use the KM Commands > For more information, see Monitoring-users-and-processes. |
Click /MSSQLServer to display the following variables: | |
/charts/AgentHostName/name of chart | Changes to this variable are detected by the Lists the parameters included in a user-defined parameter charts. The value of this parameter is a list of parameter names To create or modify this variable, use the KM Commands > For more information, see Creating-customized-parameter-charts. |
Click /MSSQLServer/AgentHostName to display the following variables: | |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates Indicates the automatic recovery actions selected in the ARA To create or modify this variable, use the KM Commands > |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Lists the computer names and IP addresses to which you want Computer names and IP addresses are separated by a new To create or modify this variable, use the KM Commands > For more information, see Using-automatic-recovery-actions. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Indicates the time periods (blackout periods) when the PATROL
For example, if you set a blackout period on a server called SQLServer1 Mon 3600 60 Blackout periods are separated by a new line character. To create or modify this variable, use the KM Commands > |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Flag indicating whether auto discovery for user monitoring is on or off
To create or modify this variable, use the KM Commands > For more information, see Monitoring-databases. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Lists the databases that you selected to monitor in the DB Autodiscovery To create or modify this variable, use the For more information, see Monitoring-databases. |
/MSSQLServer/AgentHostName/ ERROR_LOG_DATA_COLLECTION_ACTIO | Indicates the action the ErrorLogColl parameter takes when
|
/MSSQLServer/AgentHostName/ ERROR_LOG_DATA_COLLECTION_AUTO | Indicates whether the ErrorLogColl parametter is automatically
|
/MSSQLServer/AgentHostName/ ERROR_LOG_WARN_STRING | List of the error log strings configured to set off a warning |
/MSSQLServer/AgentHostName/ ERROR_LOG_ALARM_STRING | List of the error log strings configured to set off an alarm |
/MSSQLServer/AgentHostName/ ERROR_LOG_FILE_SIZE_THRESHOLD_AC | Indicates whether the ErrorLogSizeThreshold parameter is set to OK,
Monitoring is disabled and the ErrorLogSizeThreshold parameter is not displayed. |
/MSSQLServer/AgentHostName/ ERROR_LOG_FILE_SIZE_THRESHOLD_AM | Indicates the error log size threshold in megabytes
|
/MSSQLServer/AgentHostName/ ERROR_LOG_FILE_SIZE_THRESHOLD_AU | Indicates whether the ErrorLogsSizeThreshold parametter is
|
/MSSQLServer/AgentHostName/ ERROR_LOG_SHOW_FILE_SIZE_IN_MB | Indicates whether file size is displayed in megabytes (MB) or kilobytes (KB)
|
/MSSQLServer/AgentHostName/ ERROR_LOG_FILE_SIZE_THRESHOLD_MO | Indicates whether threshold monitoring is active for the size
|
/MSSQLServer/AgentHostName/ ERROR_LOG_FREE_DISK_SPACE_THRESH | Indicates whether the ErrorLogDiskSpaceFreeThreshold parameter
|
/MSSQLServer/AgentHostName/ ERROR_LOG_FREE_DISK_SPACE_THRESH | Indicates the error log disk space free threshold in megabytes.
|
/MSSQLServer/AgentHostName/ ERROR_LOG_FREE_DISK_SPACE_THRESH | Indicates whether threshold monitoring is active for the amount
|
/MSSQLServer/AgentHostName/ ERROR_LOG_GENERAL_ALARM_WARNI | Indicates whether the ErrorLogUpdates parameter generates a warning
|
/MSSQLServer/AgentHostName/ ERROR_LOG_STRING_MONITORING | Indicates whether the ErrorLogUpdates parameter monitors the
Regardless of this setting, the ErrorLogUpdates parameter is displayed. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Flag indicating whether filegroup and file monitoring is on or off
To create or modify this variable, use the KM Commands > For more information, see Monitoring-files-and-file-groups. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Lists the name that displays beneath the instance icon. To create or modify this variable, use the KM Commands > For more information, see Changing-the-name-of-a-SQL-Server. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Lists the objects selected for monitoring. To create or modify this variable, use the KM Commands > For more information, see Monitoring-objects. |
/MSSQLServer/AgentHostName/ | Changes to this variable are detected by the ConfigUpdates parameter. Flag indicating whether replication monitoring is on or off
To create or modify this variable, use the KM Commands > For more information, see Monitoring-replication. |
/MSSQLServer/AgentHostName/ SQL_Server_Agent_monitoring_on_off | Changes to this variable are detected by the ConfigUpdates parameter. Flag indicating whether SQL Server Agent monitoring is on or off
To create or modify this variable, use the KM Commands > For more information, see Creating-customized-reports. |
/MSSQLServer/MSSQL$ service name/ UserDefinedOSQLPath | If this variable is modified, you must restart the Agent. Used to discover the SQL Server. |
/MSSQLServer/MSSQL$ AgentHostName/ UserDefinedSQLServerName | If this variable is modified, you must restart the Agent. Lists the names entered for use by PATROL for a SQL To create or modify this variable, use the KM Commands > For more information, see Changing-a-server-instance-name. |
/MSSQLServer/AgentHostName/ UserExList | Changes to this variable are detected by the ConfigUpdates parameter. Lists the names of the users that are excluded from blocked or idle User names are separated by a new line character. To create or modify this variable, use the KM Commands > For more information, see Monitoring-users-and-processes. |
/MSSQLServer/REGISTRY_PREFIX | The prefix path for the SQL Server installation, which is stored in the Registry Default value is SOFTWARE\Microsoft\ If SQL Server is running in 32-bit mode on a 64-bit operating system, SOFTWARE\Wow6432Node\Microsoft\ |
/MSSQLServer/trigger_file_update | On Windows Server 2008 and later operating systems, the After you update the pconfig variable, the trigger file causes the Triggers the monitoring of the new inputs in the SQL Server |
/MSSQLServer/SQLServerInstanceName/NO_ | Stores the value that determines whether to execute the SQL Default value is 1. SQL queries have the NOLOCK option selected If you want to execute the SQL queries without the NOLOCK Any value other than 0 is considered to be 1. |
/MSSQLServer/alarm_on_restoring | Stores the value that determines whether the DatabaseStatus Default value is 0. The DatabaseStatus parameter will not issue a If you want the DatabaseStatus parameter to issue a warning Any value other than 1 is considered to be 0. |
/MSSQLServer/SQLServerInstanceName | It can be used for disabling the AlwaysOn instances monitoring:
By default monitoring is enabled. Any value other than 0 is considered to be 1. For more information, see Monitoring-AlwaysOn-High-Availability. |
/MSSQLServer/REGISTRY_PREFIX | The prefix path for the SQL Server installation, which is stored in the Registry. Default value is SOFTWARE\Microsoft\ If SQL Server is running in 32-bit mode on a 64-bit operating system, SOFTWARE\Wow6432Node\Microsoft\ |
/MSSQLServer/SQLServerInstanceName | Stores the value that determines whether to execute the SQL Default value is 1. SQL queries have the NOLOCK option Execute the SQL queries without the NOLOCK option |
/MSSQLServer/alarm_on_restoring | Stores the value that determines whether the DatabaseStatus Default value is 0. The DatabaseStatus parameter will not If you want the DatabaseStatus parameter to issue a warning Any value other than 1 is considered to be 0. |
/MSSQLServer/SQLServerInstanceName | It can be used for disabling the AlwaysOn instances monitoring:
By default, monitoring is enabled. Any value other than 0 |
/MSSQLServer/trigger_file_update | On Microsoft Windows Server 2008 and later, the |
Obsolete variables
The following table lists the variables that are no longer used by PATROL for Microsoft SQL Server:
Variable |
|---|
/MSSQLServer/serverInstance/dsquery |
/MSSQLServer/serverInstance/column_separator |
/MSSQLServer/serverInstance/DefaultDomain |
/MSSQLServer/serverInstance/errorlog |
/MSSQLServer/serverInstance/home |
/MSSQLServer/serverInstance/masterdb |
/MSSQLServer/serverInstance/RunawayCPUTime |
/MSSQLServer/serverInstance/security |
/MSSQLServer/serverInstance/server |
/MSSQLServer/serverInstance/SQL_Executive_errorlog |
/MSSQLServer/serverInstance/version |
/MSSQLServer/serverInstance/DTC_monitoring_on_off |
/MSSQLServer/serverInstance/SQLViewer/FullFilePath |
/MSSQLServer/serverInstance/FilterIncl |
/MSSQLServer/serverInstance/FilterExcl |