Sqlagent63 User
Sqlagent63 User
User’s Guide
SC23-8880-06
IBM Tivoli Composite Application Manager for Microsoft
Applications: Microsoft SQL Server Agent
Version 6.3
User’s Guide
SC23-8880-06
Note
Before using this information and the product it supports, read the information in “Notices” on page 405
This edition applies to version 6.3 of IBM Tivoli Composite Application Manager for Microsoft Applications:
Microsoft SQL Server Agent (product number 5724-U17) and to all subsequent releases and modifications until
otherwise indicated in new editions.
© Copyright IBM Corporation 2005, 2012.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Figures
1. The Configure Database Agents window 23 2. The Database Server Properties window 24
Contents ix
Appendix B. Event mapping . . . . . 313 Configuring the Tivoli Event Integration Facility
(EIF) probe to enrich events . . . . . . . 396
Appendix C. Discovery Library Creating a service in Tivoli Business Service
Manager . . . . . . . . . . . . . . 397
Adapter for the Microsoft SQL Server Creating a data source mapping for each data
agent . . . . . . . . . . . . . . . 385 source . . . . . . . . . . . . . . . 397
DLA data model class types represented in CDM 385 Configuring additional IBM Tivoli Monitoring
DLA data model classes for Microsoft SQL Server web services. . . . . . . . . . . . . 398
agent . . . . . . . . . . . . . . . . 385 Viewing data in the Tivoli Enterprise Portal . . 398
SqlServer class . . . . . . . . . . . . 386
SqlServerDatabase class . . . . . . . . . 387 Appendix E. Documentation library 399
SqlServerTable class . . . . . . . . . . 388
Prerequisite publications. . . . . . . . . . 399
SqlServerProcess class . . . . . . . . . 390
Related publications . . . . . . . . . . . 400
TMSAgent class . . . . . . . . . . . 391
Other sources of documentation . . . . . . . 400
IBM® Tivoli® Monitoring is the base software for the Microsoft SQL Server agent.
The Microsoft SQL Server agent offers a central point of management for distributed databases. The
monitoring agent provides a comprehensive means for gathering exactly the information you need to
detect problems early and prevent them. Information is standardized across all systems so you can
monitor hundreds of servers from a single workstation. You can easily collect and then analyze specific
information using the Tivoli Enterprise Portal interface.
The Microsoft SQL Server agent is an intelligent, remote monitoring agent that resides on managed
systems. It assists you in anticipating trouble and warns system administrators when critical events take
place on systems. With the Microsoft SQL Server agent, database and system administrators can set
threshold levels as desired and can set flags to alert them when the system reaches these thresholds.
You can use IBM Tivoli Monitoring to achieve the following tasks:
v Monitor for alerts on the systems that you are managing by using predefined situations or custom
situations.
v Establish your own performance thresholds.
v Trace the causes leading to an alert.
v Gather comprehensive data about system conditions.
v Use policies to take actions, schedule work, and automate manual tasks.
The Tivoli Enterprise Portal is the interface for IBM Tivoli Monitoring products. You can use the
consolidated view of your environment as seen in the Tivoli Enterprise Portal to monitor and resolve
performance issues throughout the enterprise.
See the IBM Tivoli Monitoring publications listed in “Prerequisite publications” on page 399 for complete
information about IBM Tivoli Monitoring and the Tivoli Enterprise Portal.
Collection processes
The Microsoft SQL Server agent gathers data when it is requested by a workspace refresh, a situation
sampling of attributes, or historical data collection. At that time, the monitoring agent gathers all
attributes in the attribute groups that make up a workspace or situation. The default refresh or sampling
intervals do not put a significant load on the system or the Microsoft SQL Server as it gathers the data.
Most of the attributes gathered by the Microsoft SQL Server agent come from monitoring data provided
by Windows Performance Monitor (Perfmon). This data is acquired though the use of requests for
Perfmon data and SQL database SELECT statements. The Perfmon and SQL data are gathered on a
defined cycle while most other attributes are gathered on demand when requested through a workspace
refresh, a situation sampling of attributes, or historical data collection. Other attribute groups contain data
that is collected from system information or external Microsoft SQL Server data such as the database
instance log. This data is primarily gathered on demand, as it is requested. The Microsoft SQL Server
agent attempts to lessen the possibility of over sampling by maintaining a cache of attribute data for a set
length of time. If the data is sampled within a shorter duration than the interval set for the cache, the
cache data is considered fresh and the collector does not acquire new data.
Table 1 provides information about when the attribute data is gathered (on demand or cyclically) and the
cache duration for each Microsoft SQL Server agent attribute group.
Table 1. When data is collected and cache duration for attribute groups
When data is collected (cycle time
Attribute group or on demand) Cache duration in seconds
MS SQL Batch Stats Every 180 seconds No caching
MS SQL Configuration On demand 90
MS SQL Database Detail On demand 10
MS SQL Database Mirroring On demand No caching
MS SQL Database Summary Every 180 seconds No caching
The Microsoft SQL Server agent maintains long-running processes for the monitoring agent that
communicates with the Tivoli Enterprise Monitoring Server and the collector that drives data collection.
Short-running processes are used to access system data, access database instance log file data, issue and
process the output of Microsoft SQL Server stored procedures, and perform other database instance
interactions.
Attribute groups that gather data from Microsoft SQL Server SELECT
statements and stored procedures
Some of the attribute groups gather data from the data that is returned by Microsoft SQL Server SELECT
statements, stored procedures, or both. Table 2 on page 9 provides information about how each attribute
group collects data (SELECT statements or stored procedures). The table also provides the following
information:
To install and configure Microsoft SQL Server agent, use the procedures for installing monitoring agents
in the IBM Tivoli Monitoring Installation and Setup Guide along with the agent-specific installation and
configuration information.
If you are installing silently by using a response file, see "Performing a silent installation of IBM Tivoli
Monitoring" in the IBM Tivoli Monitoring Installation and Setup Guide.
With the self-describing agent capability, new or updated IBM Tivoli Monitoring agents using IBM Tivoli
Monitoring V6.2.3 or later can become operational after installation without having to perform additional
product support installation steps. To take advantage of this capability, see "Enabling self-describing agent
capability at the hub monitoring server" in the IBM Tivoli Monitoring Installation and Setup Guide. Also, see
"Self-describing monitoring agents" in the IBM Tivoli Monitoring Administrator's Guide.
Ensure that you have installed the product in English before you install a language pack for the agent
support files on the Tivoli Enterprise Monitoring Server, and the Tivoli Enterprise Portal Server.
Windows systems
This section contains the procedure for installing a language pack on Windows operating systems.
Procedure
1. Double-click lpinstaller.bat in the language pack CD to start the installation program.
2. Select the language of the installer and click OK.
3. Click Next on the Introduction panel.
4. Click Add/Update and click Next.
5. Select the folder in which the National Language Support package (NLSPackage) files are located.
Note: Usually the NLSPackage files are located in the nlspackage folder where the executable installer
is located.
6. Select the language support for the agent of your choice and click Next.
Note: You can select multiple languages by pressing the Ctrl key.
7. Select the languages that you want to install and click Next.
8. Examine the installation summary page and click Next to start the installation.
9. Click Finish after the installation completes.
10. Restart the Tivoli Enterprise Portal, Tivoli Enterprise Portal Server, and Eclipse Help Server if any of
these components are installed.
Procedure
1. Run the following command to create a temporary directory on the computer. Ensure that the full
path of the directory does not contain any spaces:
mkdir dir_name
2. Mount the language pack CD to the temporary directory that you have created.
3. Run the following command to start the installation program:
cd dir_name
lpinstall.sh ITM Home Directory
where ITM Home Directory is the location where you have installed IBM Tivoli Monitoring. Usually it
is /opt/IBM/ITM for AIX® and Linux systems.
4. Select the language of the installer and click OK.
5. Click Next on the Introduction panel.
6. Click Add/Update and click Next.
7. Select the folder in which the National Language Support package (NLSPackage) files are located.
Note: Usually, the NLSPackage files are located in the nlspackage folder where the installer
executable is located.
8. Select the language support for the agent of your choice and click Next.
Note: You can select multiple languages by pressing the Ctrl key.
9. Select the languages that you want to install and click Next.
10. Examine the installation summary page and click Next to start the installation.
11. Click Finish after the installation completes.
12. Restart the Tivoli Enterprise Portal, Tivoli Enterprise Portal Server, and Eclipse Help Server if any of
these components are installed.
Prerequisites checking
The prerequisite checker utility verifies whether all the prerequisites that are required for the agent
installation are met. The prerequisite checker creates a log file that contains a report of all the
prerequisites checks when the prerequisite checker was run.
For the Microsoft SQL Server agent, the prerequisite checker verifies the following requirements:
v Memory
v Disk
v Operating systems
Additionally, the prerequisite checker verifies whether the user, who installs the agent, is a member of the
Administrators group.
For detailed information about installation prerequisites, see the Prerequisites topic for the agent in the
IBM Tivoli Composite Application Manager for Microsoft Applications Information Center
(http://publib.boulder.ibm.com/infocenter/tivihelp/v24r1/topic/com.ibm.itcamms.doc_6.3/
welcome_msapps63.html).
You can run the prerequisite checker in stand-alone mode or remotely. For more information about the
prerequisite checker, see "Prerequisite Checking for IBM Tivoli Monitoring Agents" in the IBM Tivoli
Monitoring Installation and Setup Guide.
The Microsoft SQL Server agent can run as non-administrator. However, some functionality might not be
available. This process supports Domain Users only.
Procedure
1. Start Windows application Active Directory Users and Computers and create a domain user.
v Make sure that the new user is a member of the Domain Users group.
v Make sure that the SQL Server that you monitor is a member of Domain Computers.
2. Add the newly created domain user in the SQL Server Login user group. The domain user must have
sysadmin SQL Server role permissions on the SQL Server.
3. Log on to the SQL Server with a domain administrator account.
4. Use File Systems, to give the Modify permission to every drive that the Microsoft SQL Server agent
accesses and propagate permissions to all subdirectories. Complete the following steps to propagate
permissions:
a. Go to My Computer.
b. Right-click the drive.
c. Click the Security tab.
d. Add the newly created user.
e. Give modify permissions to the newly created user.
f. Click OK. This procedure takes a few minutes to apply permissions throughout the file system.
5. By using the Windows Registry, grant read access to HKEY_LOCAL_MACHINE, and propagate settings.
Complete the following steps to propagate settings:
a. Right-click the HKEY_LOCAL_MACHINE directory and select Permissions.
b. Add the newly created user.
c. Select the newly created user.
d. Select the Allow Read check box.
e. Click OK. This procedure takes a few minutes to propagate through the entire
HKEY_LOCAL_MACHINE tree.
6. By using the Windows Registry, grant the agent-specific registry permissions according to the
following list:
v If you installed a 32-bit agent on a 32-bit operating system, grant full access to the
HKEY_LOCAL_MACHINE\SOFTWARE\Candle directory, and then propagate the settings.
v If you installed a 32-bit agent on a 64-bit operating system, grant full access to the
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Candle directory, and then propagate the settings.
v If you installed a 64-bit agent on a 64-bit operating system, grant full access to the
HKEY_LOCAL_MACHINE\SOFTWARE\Candle directory, and then propagate the settings.
Complete the following steps to propagate settings:
a. Right-click the directory for which you have granted full access and select Permissions.
b. Add the newly created user.
c. Select the newly created user.
d. Select the Allow Full Control check box.
e. Click OK. This procedure takes a few minutes to propagate through the entire
HKEY_LOCAL_MACHINE\SOFTWARE\Candle tree.
Note: You do not need to grant the permissions to the Windows directory if you are using Windows
Server 2008, Windows Server 2008 R2, and Windows Server 2012.
10. Grant the following permissions to the SQL Server data file and log file:
v The default data file path is SQLServer_root_dir\DATA, where SQLServer_root_dir is the root
directory of the SQL Server instance. For example, if the root directory of the SQL Server instance
is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL, the data file path is C:\Program
Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA.
v The default log file path is SQLServer_root_dir\LOG, where SQLServer_root_dir is the root directory
of the SQL Server instance. For example, if the root directory of the SQL Server instance is
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL, the log file path is C:\Program
Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG.
11. Grant full permissions to the Candle_Home directory. The default path is C:\IBM\ITM.
12. Restart the SQL Server to ensure that local security permissions are applied.
13. Change the logon settings for the SQL Server agent services to the non-administrator user by
completing the following steps:
a. Click Start > Administrative Tools > Services.
b. Right-click the Monitoring Agent For SQL Server instance_name, and click Properties. The SQL
Service Properties window opens.
c. Click the Log On tab.
d. Click This account and type the user name.
e. In the Password and Confirm Password fields, enter the password, and click OK.
f. Repeat steps b - e for the Monitoring Agent For SQL Server Collector instance_name, where
instance_name is the Microsoft SQL Server instance name.
You can install and configure the Microsoft SQL Server agent locally or remotely by using a GUI or
command line.
Never attempt to start the monitoring agent until you have completed the configuration steps appropriate
to the installation of the monitoring agent.
Granting permissions
If the Microsoft SQL Server agent is configured to Windows authentication, the monitoring agent will
access the Microsoft SQL Server using the run-as user ID, otherwise the monitoring agent will use the
configured Microsoft SQL Server user ID. Further reference in this section to Microsoft SQL Server user
ID or SQL Server ID refers to either the run-as user ID or the Microsoft SQL Server user ID.
The Microsoft SQL Server user ID must have access to the Microsoft SQL Server agent. The procedure
described in this section includes creating a Microsoft SQL Server user ID and granting permission to the
new user ID, which is the minimum authority required.
The SQL Server ID used to configure this monitoring agent must have the following SQL Server
authorities:
v Required authorization roles
– Database roles: Public access is required for each database that is being monitored.
– Server roles: No special Server Role is required.
v Optional authorization roles
Each Take Action command has a separate set of authorization roles that are required for the SQL
Server credentials to pass to the Take Action command. These authorities are listed for each Take
Action command in Chapter 6, “Take Action commands reference,” on page 239.
The monitored attributes in Table 4 on page 20 require additional authorization for the SQL Server ID
used to configure the Microsoft SQL Server agent. If you want to monitor any of these attributes,
configure the SQL Server ID used by the monitoring agent with the corresponding authorization.
—OR—
—OR—
—OR—
Ensure that you have the Database administrator authorization role to grant permissions. If you are
configuring the Microsoft SQL Server agent locally, complete this procedure between the steps for
installing and configuring the monitoring agent. If you are configuring the Microsoft SQL Server agent
remotely, complete this procedure after installing and configuring the monitoring agent.
Perform the appropriate installation procedures in the IBM Tivoli Monitoring Installation and Setup Guide
Procedure
1. Click Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio.
2. In the Tree tab, select Logins in the Security folder (Console Root > WindowsName > Security >
Logins).
3. Right-click Logins and select New Login.
4. Select the General Folder option and type the SQL Server user ID if you are using SQL Server
authentication. Type the Windows user ID if you are using Windows authentication.
5. Select one of the following authentication methods:
v SQL Server
v Windows
6. Type a password in the Password field if you are using the SQL Server authentication method.
7. Select the User Mapping option.
8. In the Specify which databases can be accessed by this login area, select the check box for each
database that you currently have to give permission to each selected database.
9. Select the Server Roles option.
10. If you are running a Take Action command, you might need additional authority. See the Take
Action command descriptions in “Predefined Take Action commands” on page 239.
11. Click OK to display the Confirm Password window.
12. Retype the password that you typed for the user ID.
13. Click OK to display the new user ID in the Logins list.
Configure the Microsoft SQL Server agent to start the monitoring agent and begin monitoring your
Microsoft SQL Server application.
Local configuration
If you are installing and configuring locally, use the steps in the IBM Tivoli Monitoring Installation and
Setup Guide, "Installing monitoring agents." Also, use the agent-specific configuration information in this
section and in Table 5 on page 26 for the Manage Tivoli Enterprise Monitoring Services window.
In the Configure Database Agents window, select the server that you want to monitor from the Database
Servers Available list, and move the server to the Server to Monitor list. The Database Server Properties
window opens.
The following fields are populated in the Database Server Properties window:
v Server Name
The following fields in the Database Server Properties window are optional:
v Windows Authentication
v Support Long Lived Database Connections
v Extended Parms
v Include
v Day(s) Frequency
v Weekly Frequency
v Monthly Frequency
v Collection Start Time
If you do not select the Windows Authentication field, you must enter your login and password in the
Login and Password fields by using only ASCII characters. You can use the Extended Parms field to
enable or disable the data collection for the Table Detail attribute group. To disable data collection for the
Table Detail attribute group, type koqtbld in the Extended Parms field. Click OK to see the Configure
Database Agents window. Click OK in the Configure Database Agents window to complete the
configuration process.
You can specify a daily, weekly, or monthly frequency for the collection of the MS SQL Table Detail
attribute group.
You can select the Table Detail Continuous Collection checkbox to enable continuous collection of the
MS SQL Table Detail attribute group. If you select the Table Detail Continuous Collection check box,
you must enter a value in the Interval Between Two Continuous Collection (in min.) field.
Configuration settings: Table 5 on page 26 contains a list of the configuration settings for each of the
interfaces where you can specify these settings and a description of each setting.
See “Granting
permissions” on page
19 for more
information.
Password is required
only when Windows
Authentication
parameter is set to
False.
Procedure
1. In the Manage Tivoli Enterprise Monitoring Services window, from the Actions menu, click Advanced
> Edit Variables.
2. In the Tivoli Enterprise Monitoring Server: Override Local Variable Settings window, click Add.
3. In the Add Environment Setting Override window, enter the variable and the corresponding value.
Note: See “Local environment variables” to view the list of environment variables that you can
configure.
Silent installation
If you are performing a silent installation using a response file, see the IBM Tivoli Monitoring Installation
and Setup Guide, "Performing a silent installation of IBM Tivoli Monitoring."
If the value in the koqcoll.ctl file is less than the value that is specified in the COLL_KOQFGRPD_MAX_ROW
environment variable, the value in the koqcoll.ctl file is treated as the value for the maximum number
of rows.
If the value in the koqcoll.ctl file is greater than the value that is specified in the
COLL_KOQFGRPD_MAX_ROW environment variable, the value in the COLL_KOQFGRPD_MAX_ROW environment
variable is treated as the value for the maximum number of rows.
If the value in the koqcoll.ctl file is less than the value that is specified in the COLL_KOQDEVD_MAX_ROW
environment variable, the value in the koqcoll.ctl file is treated as the value for the maximum number
of rows.
If the value in the koqcoll.ctl file is greater than the value that is specified in the COLL_KOQDEVD_MAX_ROW
environment variable, the value in the COLL_KOQDEVD_MAX_ROW environment variable is treated as the value
for the maximum number of rows.
Variables for enhancing collection for MS SQL Database Detail attribute group
To enhance the MS SQL Database Detail attribute group collection, you can use the following
environment variables:
v COLL_KOQDBD_INTERVAL: This environment variable enables you to specify a time interval (in minutes)
between two consecutive collections of the MS SQL Database Detail attribute group.
v COLL_DBD_FRENAME_RETRY_CNT: This environment variable enables you to specify the number of attempts
that can be made to move the %COLL_HOME%_tmp_%COLL_VERSION%_%COLL_SERVERID%_%COLL_SERVERID
%__DBD_TEMP file to the %COLL_HOME%_tmp_%COLL_VERSION%_%COLL_SERVERID%_%COLL_SERVERID%__DBD_PREV
file.
Remote configuration
If you are installing and configuring remotely, use the steps in the IBM Tivoli Monitoring Installation and
Setup Guide, "Deploying non-OS agents." Also, use the agent-specific configuration information in this
section and in Table 5 on page 26 for the following interfaces:
v Tivoli Enterprise Portal
v tacmd command line
Use the -t or --type TYPE parameter to specify the Microsoft SQL Server agent that you are configuring:
OQ.
For example:
tacmd addSystem -t OQ -n Primary:myhostname:NT -p
DBSETTINGS.db_login=sa
DBSETTINGS.db_password=sapwd
DBSETTINGS.db_home="C:\Program Files\Microsoft SQL Server\MSSQL"
DBSETTINGS.db_errorlog="C:\Program Files\Microsoft SQL Server\MSSQL\LOG\ERRORLOG"
DBSETTINGS.db_winauth=1
DBSETTINGS.db_lldbconn=0
DBSETTINGS.db_include=#master##temp%
INSTANCE=MyServer
DBSETTINGS.db_winauth=1
DBSETTINGS.db_tbld_weekly=1
DBSETTINGS.db_tbld_coll_stime_hour=23
DBSETTINGS.db_tbld_coll_stime_minute=59
The parameters in the example are shown on separate lines for clarity. When typing the command, type
all of the parameters on one line.
Reconfiguration
If you need to reconfigure the Microsoft SQL Server agent, ensure that the steps for installing the
monitoring agent in the IBM Tivoli Monitoring Installation and Setup Guide are completed.
Local reconfiguration
If you are reconfiguring an instance locally, use the Manage Tivoli Enterprise Monitoring Services
window. See Table 5 on page 26 for the configuration settings.
Remote reconfiguration
If you are reconfiguring remotely, use one of the following interfaces:
v tacmd command line
Use the configureSystem command. See the IBM Tivoli Monitoring Command Reference Guide for
complete information about this command.
When reconfiguring, enter the information for the property that you are changing as well as the
INSTANCE property.
v Tivoli Enterprise Portal
The command for restarting the monitoring agent remotely can be tacmd restartagent -t oq -n
INST1:ESX1-PG3-2:MSS, where INST1 is the Microsoft SQL Server agent instance name, and ESX1-PG3-2 is
the host name of the computer where the monitoring agent is running.
For information about using the tacmd commands, see the IBM Tivoli Monitoring Command Reference.
The IBM Tivoli Monitoring Installation and Setup Guide contains an overview of clustering. The information
provided here is specifically for installing and setting up the Microsoft SQL Server agent in a Microsoft
Cluster Server environment.
The SQL Server and the Microsoft SQL Server agent both support multiple instances running on the same
node. One agent does not interfere with another while running on the same node.
When the SQL Resource Group is moved from node to node, the server down situation event fires. This
event is caused by the Microsoft SQL Server agent coming online faster than the SQL Server. When the
SQL Server comes online the event clears.
Do not use the Start and Stop Take Action commands for the Microsoft SQL Server agent because they
conflict with the actions taken by the cluster server.
In addition to installing and setting up the Microsoft SQL Server agent, the following additional steps are
required for the cluster environment:
v Setting CTIRA_HOSTNAME to a common value for all monitoring agents (usually the cluster name)
v Setting CTIRA_HIST_DIR to a common disk location if history is stored at the monitoring agents (if
history for the Microsoft SQL Server agent is configured to be stored at the monitoring agent)
v Creating a monitoring agent cluster resource in the Resource Group of the Virtual Server 3
On Windows systems, IBM Tivoli Monitoring requires that monitoring agents are installed in the same
directory path as the OS agent. Therefore, each node in a cluster must have installed all monitoring
agents (on the nodes system disk) that are required to support the cluster applications that can run on
that cluster node.
Procedure
1. Setting CTIRA_HOSTNAME
v Because there can be multiple instances of the Microsoft SQL Server agent, each instance must be
configured with a CTIRA_HOSTNAME. Set the CTIRA_HOSTNAME environment variable to the name of the
Microsoft Cluster Server cluster for all monitoring agents running in that cluster. By setting the
CTIRA_HOSTNAME for all agents in the cluster to the same name, you can navigate to all of the
monitoring agents for that cluster in the Tivoli Enterprise Portal.
v When deciding on the value for CTIRA_HOSTNAME, consider that the managed system name is
comprised of three parts: CTIRA_SUBSYSTEM_ID, CTIRA_HOSTNAME, and CTIRA_NODETYPE. Also, the name
is limited to 31 characters. By default for the Microsoft SQL Server Agent, CTIRA_NODETYPE is set to
MSS, and CTIRA_SUBSYSTEM_ID is set to the Microsoft SQL Virtual Server name. The
CTIRA_SUBSYSTEM_ID is used to distinguish the multiple instances of the Microsoft SQL Server agent.
2. Setting CTIRA_HIST_DIR
v If history for the Microsoft SQL Server agent is configured to be stored at the monitoring agent,
each instance of the monitoring agent must be configured with common CTIRA_HIST_DIR that points
to a shared disk directory.
v If history is stored at the Tivoli Enterprise Management Server, setting CTIRA_HIST_DIR is not
required. Storing history at the Tivoli Enterprise Management Server puts a higher burden on that
server.
3. Setting COLL_HOME
If you want to collect data for attribute groups that use configuration files at a shared location, and
these files are used by multiple cluster nodes, set the COLL_HOME variable to X:\shared-location,
where X is a shared drive that is accessible to the cluster nodes. For example, you can set the value
for the COLL_HOME variable when you are defining the configuration settings for the MS SQL Table
Detail attribute group or MS SQL Error Event Details attribute group.
4. Creating a monitoring agent cluster resource
v Set each Microsoft SQL Server agent startup parameter to manual so the cluster resource can
control the starting and stopping of the monitoring agent.
Example
Creating a resource
This section contains the procedure for creating a resource for the Windows Server 2003 operating system.
Procedure
1. Click Start > Administrative Tools > Cluster Administrator.
2. Select the group for the Instance that is being worked > SQLTEST.
3. Right-click the group, and then click New > Resource.
4. In the New Resource window, complete the fields as follows:
Name: KOQAGENT0
Description: resource_description
Resource type: Generic Service
Group: SQLTEST
5. In the Possible Owners window, accept the default of all Available Nodes.
6. In the Dependencies window, do not add any dependencies on history disk.
7. In the Generic Service Parameters window, complete the fields as follows:
Service name: KOQAGENT0
Start Parameters: -Hkey “KOQ\610\SQLVS1”
8. Click Finish.
9. Click Advanced.
10. Clear the Affect the group check box.
11. Right-click the group, and then click New > Resource.
12. Complete the following information:
Name: KOQCOLL_instance_name
Resource Type: Generic Service
Group: SQLTEST
13. In the Possible Owners window, accept the default of all Available Nodes.
14. In the Dependencies window, do not add any dependencies on history disk.
15. In the Generic Service Parameters window, complete the fields as follows:
Name: KOQCOLLinstance_name
Start Parameters: -Hkey “KOQ\610\SQLVS1”
16. Click Finish.
17. Click Advanced.
18. Clear the Affect the group check box.
19. Bring the two agent resources online.
20. Repeat these steps for the other instances of the monitoring agent in the cluster environment.
Procedure
1. Click Start > Administrative Tools > Failover Cluster Management.
2. Expand Failover Cluster Management.
3. Expand Services and Applications and right-click the SQL instance that you want to configure.
4. Click Add a resource > Generic Service. The New Resource Wizard opens.
5. On the Select Service page, select Monitoring Agent for Microsoft SQL Server, and click Next.
Note: To add the Microsoft SQL Server- Collector service, select Monitoring Agent for Microsoft
SQL Server- Collector service on the Select Service page, and click Next.
6. On the Confirmation page, check the details, and click Next.
7. On the Summary page, click Finish.
8. Right-click the service that you have added, and click Properties.
9. In the Dependencies tab, select SQL Server or Monitoring Agent for Microsoft SQL Sever from the
Resources list.
10. Click Apply > OK.
11. Right-click the service that you created, and click Bring this resource online.
About workspaces
Use the Navigator tree to select the workspace you want to see. As part of the application window, the
status bar shows the Tivoli Enterprise Portal Server name and port number to which the displayed
information applies and the ID of the current user.
When you select an item in the Navigator tree, a default workspace is displayed. When you right-click a
Navigator item, a menu that includes a Workspace item is displayed. The Workspace item contains a list
of workspaces for that Navigator item. Each workspace has at least one view. Some views have links to
other workspaces. You can also use the Workspace Gallery tool as described in the Tivoli Enterprise Portal
User's Guide to open workspaces.
The workspaces in the Navigator are displayed in a Physical view that shows your enterprise as a
physical mapping or a dynamically populated logical view that is agent-specific. You can also create a
Logical view. The Physical view is the default view.
This monitoring agent provides predefined workspaces. You cannot modify or delete the predefined
workspaces, but you can create new workspaces by editing them and saving the changes with a different
name.
When multiple instances of the monitoring agent are defined on a system, the top-level node becomes
Microsoft Active Directory. The Microsoft Active Directory workspace is undefined at this node. A
subnode for each instance is created called Instance:Hostname:OQ. A workspace that is called
Instance:Hostname:OQ is associated with the instance node. This workspace is comparable to the Microsoft
Active Directory workspace.
A table view within a workspace corresponds to a group of attributes; the columns in the table view
show some or all the attributes available in the attribute group.
For more information about creating, customizing, and working with workspaces, see "Using workspaces"
in the Tivoli Enterprise Portal User's Guide.
For a list of the predefined workspaces for this monitoring agent and a description of each workspace,
see “Predefined workspaces” on page 42 and the information about each individual workspace.
Some attribute groups for this monitoring agent might not be represented in the predefined workspaces
or views for this agent. For a full list of the attribute groups, see “Attributes in each attribute group” on
page 59.
You can use the predefined workspaces in the Microsoft SQL Server agent for the following purposes:
v Analyze the performance of your system.
v Identify problems and bottlenecks.
v Obtain the information you need to tune your system.
v Evaluate how your tuning decisions affect the performance of your system.
In most cases, a predefined workspace has an attribute group that contains attributes similar to the
columns in the predefined workspace. You can use these values to build your own workspaces and to
create your own situations.
The Microsoft SQL Server agent provides predefined workspaces, which are organized by Navigator item.
v Microsoft SQL Server Navigator item
This Navigator item is available only when more than one Microsoft SQL Server agent instance is
configured and running on the same system.
v SQL Server instance name Navigator item
This Navigator item is available only when more than one Microsoft SQL Server agent instance is
configured and running on the same system.
– MS SQL Server Overview workspace
– Enterprise Servers Overview workspace
v Microsoft SQL Server - SQL Server instance name Navigator item
This Navigator item is available only when exactly one Microsoft SQL Server agent instance is
configured and running on the system.
– MS SQL Server Overview workspace
– Enterprise Servers Overview workspace
v AlwaysOn Navigator item
– Availability Database Information workspace
– Availability Groups Information workspace
– Availability Groups Information In Cluster workspace
– Availability Replicas and Database Information workspace
– Availability Replicas Information workspace
– Availability Replicas Status workspace
– Additional Availability Database Details workspace
v Databases Navigator item
– Additional Database Details workspace
– Databases Information workspace
- Log and Space Information workspace
– Enterprise Database Summary workspace
– FileTable Detail workspace
– Device Detail workspace
– Table Detail workspace
– Filegroup Detail workspace
– Database Mirror Detail workspace
– Enterprise Database Mirror Detail workspace
This workspace provides a cross-link to the Additional Availability Database Details workspace.
The Availability Groups Details view provides a cross-link to the Availability Replicas and Database
Information workspace.
The Availability Groups Details view provides a cross-link to the Availability Replicas and Database
Information workspace.
Processes workspace
Processes is a predefined workspace that displays information about the processes for SQL servers. The
predefined workspace contains the following views:
v Process Summary table view that displays information about the processes (such as the number of
processes and the statuses)
Cross-linked workspaces
This section contains cross-links within the SQL Server agent navigator items and workspaces. The
following table contains source, target, and filtering criteria for the cross-linked workspaces.
Table 7. Cross-linked workspaces within the SQL Server agent
Source Source
navigator workspace Source view
item name name Target navigator item Target workspace name Filter
AlwaysOn Availability Availability AlwaysOn Additional Availability N/A
Database Database Database Details
Information Details
AlwaysOn Availability Availability AlwaysOn Availability Replicas and N/A
Groups Groups Details Database Information
Information
Attributes in a group can be used in queries, query-based views, situations, policy workflows, take action
definitions, and launch application definitions. Chart or table views and situations are two examples of
how attributes in a group can be used:
v Chart or table views
Attributes are displayed in chart and table views. The chart and table views use queries to specify
which attribute values to request from a monitoring agent. You use the Properties editor to apply filters
and set styles to define the content and appearance of a view based on an existing query.
v Situations
You use attributes to create situations that monitor the state of your operating system, database, or
application. A situation describes a condition you want to test. When you start a situation, the values
you assign to the situation attributes are compared with the values collected by the Microsoft SQL
Server agent and registers an event if the condition is met. You are alerted to events by indicator icons
that are displayed in the Navigator.
For more information about using attributes and attribute groups, see the Tivoli Enterprise Portal User's
Guide.
For a list of the attributes groups, a list of the attributes in each attribute group, and descriptions of the
attributes for this monitoring agent, refer to the Attributes in each attribute group section in this chapter.
IBM Tivoli Monitoring provides other attribute groups that are available to all monitoring agents, for
example Universal Time and Local Time. The attributes in these common attribute groups are
documented in the Tivoli Enterprise Portal Help.
The following sections contain descriptions of the Microsoft SQL Server agent attribute groups, which are
listed alphabetically. Each description contains a list of attributes in the attribute group.
Note: If all attributes in an attribute group contain the values Not Collected, Not Applicable or No Data,
during the execution of the historical data collection (HDC), the .hdr file is not created for the attribute
group, and HDC data is not visible for the attribute group.
Containment Indicates whether containment is enabled for the database. The following values are valid:
Database Name The name of the database. The value format is an alphanumeric string, for example,
KOQ3. Each database name is unique. The SQL Server also assigns each database a unique identification
number. The following values are valid:
Filestream Directory Name The name of the filestream directory. The following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Non Transactional Access Level The level of non-transactional access for the database. The following
values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Database Name The name of the availability database. The following values are valid:
Filestream Sent Rate (KB Per Sec) The rate (in KB per second) at which filestream data is sent to the
secondary replica. The following values are valid:
Group Database ID The ID of the availability group database. The following values are valid:
Group ID The ID of the availability group to which the availability database belongs. The following
values are valid:
Log Bytes Sent Rate (KB Per Sec) The rate (in KB per second) at which log records are currently being
sent to the secondary replica. The following values are valid:
Log Send Queue Size (KB) The amount of log bytes (in KB) in the log files of the primary database that
has not been sent to the secondary replica. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Redo Queue Size (KB) The amount of log bytes (in KB) that is not yet redone in the log files of the
secondary replica. The following values are valid:
Redo Rate (KB Per Sec) The rate (in KB per second) at which log records are being redone. The
following values are valid:
Role Indicates whether a replica is currently a primary or secondary replica. The following values are
valid:
Cases Per Sec The rate at which cases are currently processed. The following value is valid:
Current Models Processing The number of SQL Server Analysis Services Data Mining models that are
currently being processed. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Predictions Per Sec The rate at which predictions that are generated in data mining queries. The
following value is valid:
Queries Per Sec The rate at which data mining queries are generated. The following value is valid:
Rows Per Sec The number of rows that are currently processed per second for a data mining prediction
query. The following value is valid:
Server The name of the SQL Server. The value format is an alphanumeric string with a maximum of 30
characters.
Total Predictions The number of data mining prediction queries that are currently received by the server.
The following value is valid:
Total Queries The number of data mining queries that are currently received by the server. The following
value is valid:
Current Evaluation Nodes The approximate number of evaluation nodes that are currently built by the
MDX execution plans. This number includes active evaluation nodes and cached evaluation nodes. This
attribute is not supported on SQL Server 2005. The following values are valid:
Current Cached Evaluation Nodes The approximate number of cached evaluation nodes that are
currently built by the MDX execution plans. This attribute is not supported on SQL Server 2005. The
following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Total Autoexist The number of times that the Autoexist operation is currently performed. The following
value is valid:
Total Bulk Mode Evaluation Nodes The number of bulk-mode evaluation nodes that are currently built
by the MDX execution plans. This attribute is not supported on SQL Server 2005. The following values
are valid:
Total Cached Other Evaluation Nodes The number of cached evaluation nodes that are currently built by
the MDX execution plans, and that are not storage engine evaluation plans or bulk-mode evaluation
plans. This attribute is not supported on SQL Server 2005. The following values are valid:
Total Cached Storage Engine Evaluation Nodes The number of cached storage engine evaluation nodes
that are currently built by the execution plans. This attribute is not supported on SQL Server 2005. The
following values are valid:
Total Calculation Cache Registered The number of calculation caches that are currently registered. This
attribute is supported only on SQL Server 2005. The following values are valid:
Total Calculations Covered The number of evaluation nodes that are currently built by the MDX
execution plans. This number includes active evaluation nodes and cached evaluation nodes. The
following values are valid:
Total Cell By Cell Evaluation Nodes The number of cell-by-cell evaluation nodes that are currently built
by the MDX execution plans. This attribute is not supported on SQL Server 2005. The following values
are valid:
Total Cell By Cell Misses In Cache of Evaluation Nodes The number of cell-by-cell misses that currently
occurred in the evaluation nodes cache. This attribute is not supported on SQL Server 2005. The
following values are valid:
Total Cells Calculated The number of cell properties that are currently calculated. The following value is
valid:
Total Evaluation Nodes Calculations at Same Granularity The number of evaluation nodes with
calculations that have identical granularity level as that of the evaluation nodes. This attribute is not
supported on SQL Server 2005. The following values are valid:
Total Evaluation Nodes Covered Single Cell The number of evaluation nodes that are currently built by
the MDX execution plans, and that covered only one cell. This attribute is not supported on SQL Server
2005. The following values are valid:
Total Evictions Of Evaluation Nodes The number of evaluation nodes that are currently evicted because
of collisions. This attribute is not supported on SQL Server 2005. The following values are valid:
Total EXISTING Operators The number of times that the EXISTING set operation is currently performed.
The following value is valid:
Total Flat Cache Inserts The number of cell values that are currently inserted into the flat calculation
cache. The following value is valid:
Total Hash Index Hits In Cache Of Evaluation Nodes The number of hits in the evaluation nodes cache
that are currently satisfied by the hash index. This attribute is not supported on SQL Server 2005. The
following values are valid:
Total NonEmpty Algorithms The number of times a NonEmpty algorithm is currently used. The
following value is valid:
Total NonEmpty Algorithms For Calculated Members The number of times that the NonEmpty
algorithm currently looped through the calculated members. The following value is valid:
Total NonEmpty Unoptimized Algorithms The number of times that a NonEmpty algorithm that is not
optimized is currently used. The following value is valid:
Total Recomputes The number of cells that are currently computed again because of an error. The
following value is valid:
Total Sonar Subcubes The number of subcubes that are currently generated by the query optimizer. The
following value is valid:
Total Subcube Hits In Cache Of Evaluation Nodes The number of subcube hits that are currently
present in the evaluation nodes cache. This attribute is not supported on SQL Server 2005. The following
values are valid:
Total Subcube Misses In Cache Of Evaluation Nodes The number of subcube misses that are currently
present in the evaluation nodes cache. This attribute is not supported on SQL Server 2005. The following
values are valid:
Aggregation Map Files The current number of aggregation map files. The following value is valid:
Aggregate Cache (KB) The amount of memory that is currently allocated to the file cache. The following
value is valid:
Cleaner Balance Per Sec The rate at which balance and shrink operations are performed. The following
value is valid:
Cleaner Current Price The current price of memory in dollars per byte and per unit of time. This price is
normalized to 1000. The following value is valid:
Cleaner Memory Non-Shrinkable (KB) The amount of memory that cannot be purged by the
background cleaner. The following value is valid:
Cleaner Memory Shrinkable (KB) The amount of memory that can be purged by the background
cleaner. The following value is valid:
Cleaner Memory (KB) The sum of shrinkable memory and the amount of non-shrinkable memory that is
currently known to the background cleaner. The following value is valid:
Cleaner Memory Shrunk KB Sec The rate at which the cleaner memory is shrunk. The following value is
valid:
Dimension Index (Hash) Files The current number of dimension index (hash) files. The following value
is valid:
Dimension Property Files The current number of dimension property files. The following value is valid:
Dimension String Files The current number of dimension string files. The following value is valid:
Fact Aggregation Files The current number of fact aggregation files. The following value is valid:
Fact String Files The current number of fact string files. The following value is valid:
Filestore Clock Pages Examined Per Sec The rate at which the background cleaner examines the filestore
clock pages and considers the pages for eviction. The following value is valid:
Filestore Clock Pages HaveRef Per Sec The rate at which the background cleaner examines the filestore
clock pages that have a reference number because they are currently used. The following value is valid:
Filestore Clock Pages Valid Per Sec The rate at which the background cleaner examines the filestore
clock pages that are valid for eviction. The following value is valid:
Filestore Page Faults Per Sec The rate at which filestore page faults are generated. The following value is
valid:
Filestore (KB) The amount of memory that is currently allocated to the filestore. The following value is
valid:
Filestore KB Reads Per Sec The rate at which filestore operations are read. The following value is valid:
Filestore Memory Pinned (KB) The amount of filestore memory that is currently pinned. The following
value is valid:
Filestore Reads Per Sec The rate at which filestore pages are read. The following value is valid:
Filestore Writes Per Sec The rate at which filestore pages are written. The following value is valid:
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, it is
available for reports, queries, and workspaces.
In-Memory Map File (KB) The current size of the in-memory map file. The following value is valid:
In-Memory Map File (KB) Per Sec The rate at which write operations occur in the in-memory map file.
The following value is valid:
In-Memory Other File (KB) The current size of the in-memory other file. The following value is valid:
In-Memory Other File (KB) Per Sec The rate at which write operations occur in the in-memory other file.
The following value is valid:
In-Memory Property File KB Per Sec The rate at which write operations occur in the in-memory
property file. The following value is valid:
In-Memory String File (KB) The current size of the in-memory string file. The following value is valid:
In-Memory String File KB Per Sec The rate at which write operations occur in the in-memory string file.
The following value is valid:
In-Memory Aggregation Map File (KB) The current size of the in-memory aggregation map file. The
following value is valid:
In-Memory Aggregation Map File KB Per Sec The rate at which write operations occur in the
in-memory aggregation map file. The following value is valid:
In-Memory Dimension Index (Hash) File (KB) The current size of the in-memory dimension index
(hash) file. The following value is valid:
In-Memory Dimension Index (Hash) File KB Per Sec The rate at which write operations occur in the
in-memory dimension index (hash) file. The following value is valid:
In-Memory Fact Aggregation File KB Per Sec The rate at which write operations occur in the in-memory
fact aggregation file. The following value is valid:
In-Memory Fact Data File (KB) The current size of the in-memory fact data file. The following value is
valid:
In-Memory Fact Data File KB Per Sec The rate at which write operations occur in the in-memory fact
data file. The following value is valid:
In-Memory Fact String File (KB) The current size of the in-memory fact string file. The following value
is valid:
In-Memory Fact String File (KB) Per Sec The rate at which write operations occur in the in-memory fact
string file. The following value is valid:
Map Files The current number of map files. The following value is valid:
Memory Limit High (KB) The highest memory limit that is specified in the configuration file. The
following value is valid:
Memory Usage (KB) The amount of memory that is used by the server to calculate the cleaner memory
price. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Other Files The current number of other files. The following value is valid:
Page Pool 1 Alloc (KB) The amount of memory that is borrowed from the 64 KB page pool. This
memory is distributed to other parts of the server. The following value is valid:
Page Pool 1 Lookaside (KB) The amount of memory that is currently available in the 1 KB lookaside list.
The following value is valid:
Page Pool 64 Alloc (KB) The amount of memory that is borrowed from the system. This memory is
distributed to other parts of the server. The following value is valid:
Page Pool 64 Lookaside (KB) The amount of memory that is currently available in the 64 KB lookaside
list. The following value is valid:
Page Pool 8 Alloc (KB) The amount of memory that is currently borrowed from the 64 KB page pool.
The memory is distributed to other parts of the server. The following value is valid:
Page Pool 8 Lookaside (KB) The amount of memory that is currently available in the 8 KB lookaside list.
The following value is valid:
Potential In-Memory Aggregation Map File (KB) The potential size of the in-memory aggregation map
files. The following value is valid:
Potential In-Memory Dimension Index (Hash) File (KB) The potential size of the in-memory dimension
index (hash) files. The following value is valid:
Potential In-Memory Dimension Property File (KB) The potential size of the in-memory dimension
property files. The following value is valid:
Potential In-Memory Dimension String File (KB) The potential size of the in-memory dimension string
files. The following value is valid:
Potential In-Memory Fact Aggregation File (KB) The potential size of the in-memory fact aggregation
files. The following value is valid:
Potential In-Memory Fact Data File (KB) The potential size of the in-memory fact data files. The
following value is valid:
Potential In-Memory Fact String File (KB) The potential size of the in-memory fact string files. The
following value is valid:
Potential In-Memory Map File (KB) The potential size of the in-memory map files. The following value
is valid:
Potential In-Memory Other File (KB) The potential size of the in-memory other files. The following
value is valid:
Quota (KB) The current amount of memory quota. A memory quota is also referred to as a memory
grant or memory reservation. The following value is valid:
Quota Blocked The number of requests for memory quota that are currently blocked until some memory
quotas are freed. The following value is valid:
Total Filestore I/O Errors The current number of filestore I/O errors. The following value is valid:
Total Filestore I/O Errors Per Sec The rate at which filestore I/O errors occur. The following value is
valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Rows Converted Per Sec The rate at which rows are converted during processing per second. The
following value is valid.
Rows Read Per Sec The rate at which rows are read from all the relational databases per second. The
following value is valid.
Rows Written Per Sec The rate at which rows are written to the database during processing. The
following value is valid.
Total Rows Converted The number of rows that are currently converted during processing. The
following value is valid.
Total Rows Read The number of rows that are currently read from all the relational databases. The
following value is valid.
Total Rows Written The number of rows that are currently written to the database during processing.
The following value is valid.
Aggregation Hits Per Sec The rate of aggregation hits. This attribute is not supported on SQL Server
2005. The following values are valid:
Aggregation Lookups Per Sec The rate of aggregation lookups. This attribute is not supported on SQL
Server 2005. The following values are valid:
Average Time Per Query The average time in milliseconds that is taken to respond to each query that
was answered since the last counter measurement. The following value is valid:
Bytes Sent Per Sec The number of bytes that are currently sent by the server to the clients per second in
response to queries. The following value is valid:
Calculation Cache Hits Per Sec The number of calculation hits per second. The calculation cache
includes global, session, and query scope calculation caches. This attribute is not supported on SQL
Server 2005. The following values are valid:
Calculation Cache Lookups Per Sec The number of calculation cache lookups per second. The calculation
cache includes global, session, and query scope calculation caches. This attribute is not supported on SQL
Server 2005. The following value is valid:
Current Dimension Queries The number of dimension queries that are currently being processed. The
following value is valid:
Current Measure Group Queries The number of measure group queries that are currently being worked
on. The following value is valid:
Current Pyramid Operations The number of pyramid operations that are currently in progress. This
attribute is supported only on SQL Server 2005. The following values are valid:
Data Bytes Per Sec The number of bytes that are currently read per second from the data file. The
following value is valid:
Data Reads Per Sec The number of logical read operations that are currently using the data file per
second. The following value is valid:
Dimension Cache Hits Per Sec The number of dimension cache hits per second. This attribute is not
supported on SQL Server 2005. The following values are valid:
Dimension Cache Lookups Per Sec The rate of dimension cache lookups. This attribute is not supported
on SQL Server 2005. The following values are valid:
Dimension Queries Per Sec The rate at which dimension queries are processed. The following value is
valid:
Flat Cache Hits Per Sec The rate of flat cache hits. The flat cache includes global, session, and query
scope flat caches. This attribute is not supported on SQL Server 2005. The following values are valid:
Flat Cache Lookups Per Sec The rate of flat cache lookups. The flat cache includes global, session, and
query scope flat caches. This attribute is not supported on SQL Server 2005. The following values are
valid:
Filter Rows Included Per Sec The number of rows that are included per second in the last query that
was processed. This attribute is supported only on SQL Server 2005. The following values valid:
Filter Rows Excluded Per Sec The number of rows that are excluded per second in the last query that
was processed. This attribute is supported only on SQL Server 2005. The following values are valid:
Filtered Rows Per Sec The rate at which rows are currently filtered. This attribute is supported only on
SQL Server 2005. The following values are valid:
Index Bytes Per Sec The number of bytes that are currently read from the index files per second. This
attribute is supported only on SQL Server 2005. The following values are valid:
Index Reads Per Sec The number of logical read operations that are currently using the index files per
second. This attribute is supported only on SQL Server 2005. The following values are valid:
Map Bytes Per Sec The number of bytes that are currently read from the map file per second. The
following value is valid:
Map Reads Per Sec The number of logical read operations that are currently using the map file per
second. The following value is valid:
Measure Group Cache Hits Per Sec The rate of group cache hits. This attribute is not supported on SQL
Server 2005. The following values are valid:
Measure Group Lookups Per Sec The rate of measure group cache lookups. This attribute is not
supported on SQL Server 2005. The following values are valid:
Measure Group Queries Per Sec The rate of measure group queries that are sent to the server. The
following value is valid:
Network Round Trips Per Sec The rate of network round trips. The network round trips include all
communication between the client and the server. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Persisted Cache Hits Per Sec The rate of persisted cache hits. Persisted caches are created by the MDX
script cache statement. This attribute is not supported on SQL Server 2005. The following values are
valid:
Persisted Cache Lookups Per Sec The rate of persisted cache lookups. Persisted caches are created by the
MDX script cache statement. This attribute is not supported on SQL Server 2005. The following values are
valid:
Queries Answered Per Sec The rate at which queries are currently answered. The following value is
valid:
Pyramid Operations Per Sec The rate at which pyramid operations are currently started. This attribute is
supported only on SQL Server 2005. The following values are valid:
Queries From Cache Direct Per Sec The rate at which queries are answered directly from the cache. The
following value is valid:
Queries From Cache Filtered Per Sec The rate at which queries are answered by filtering the existing
cache entry. The following value is valid:
Queries From Files Per Sec The rate at which queries are answered from files. The following value is
valid:
Rows Read Per Sec The number of rows that are currently read by the server per second. This attribute
is supported only on SQL Server 2005. The following values are valid:
Rows Sent Per Sec The rate at which rows are sent by the server to the clients. The following value is
valid:
Total Dimension Queries The current number of dimension queries. The following value is valid:
Total Measure Group Queries The current number of measure group queries. The following value is
valid:
Total Network Round Trips The current number of network round trips. The network round trips
include all communication between the client and the server. The following value is valid:
Total Pyramid Operations The current number of pyramid operations. This attribute is supported only
on SQL Server 2005. The following values are valid:
Total Queries Answered The current number of queries that are answered. The following value is valid:
Total Queries From Cache Direct The number of queries that are currently derived from the cache for
every partition. The following value is valid:
Total Queries From File The number of queries that are currently answered from files. The following
value is valid:
Total Rows Sent The number of rows that are currently sent by the server to the clients. The following
value is valid:
Total Bytes Sent The number of bytes that are currently sent by the server to the clients in response to
queries. The following value is valid:
Database ID The ID of the availability database that is hosted by the SQL Server instance. The following
values are valid:
Database Name The name of the availability database that is hosted by the SQL Server instance. The
following values are valid:
Database State Indicates the current state of the availability database. The following values are valid:
Group Database ID The ID of the availability group database that is hosted by the SQL Server instance.
The following values are valid:
Group ID The ID of the availability group to which the availability database belongs. The following
values are valid:
Local Indicates whether the availability replica is hosted by the local SQL Server instance. The following
values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Replica ID The ID of the availability replica. The following values are valid:
Role Indicates whether the availability database is a primary or a secondary database. The following
values are valid:
Suspend Reason The reason for a database to enter the suspended state. The following values are valid:
Synchronization Health Indicates the health of the availability database replica. The replica is healthy if
the synchronized and the asynchorinzed replicas are in the Synchronized state. The following values are
valid:
Synchronization State The current synchronization state of the availability database replica. The
following values are valid:
Synchronized Commit Indicates whether the transaction commit is synchronized with the database
replica. The following values are valid:
Database Name The name of the availability database. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Failover Ready Indicates whether the secondary database is synchronized with the primary database. The
following values are valid:
Group Database ID The availability group database ID. The following values are valid:
Group ID The availability group ID. The following values are valid:
Group Name The availability group name. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Join State Indicates whether the availability database on the availability replica is joined to the
availability group. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Secondary Suspension Pending Indicates whether the database is pending suspension after a forced
failover. The following values are valid:
Database Name The name of the availability database. The following values are valid:
Log Bytes Received Per Sec The amount of log bytes that is currently being received per second. The
following values are valid:
Log Send Queue (KB) The amount of log bytes (in KB) that has been sent by the primary replica, but has
not been received by the secondary replica. The following values are valid:
Mirrored Write Transaction Per Sec The number of transactions that have been written to the mirrored
database in the last second, and are waiting for the logs to be sent to the mirrored database to complete
the commit operation. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Recovery Queue The number of log records that are in the recovery queue because they are not redone.
The following values are valid:
Redo Blocked Per Sec The number of times that the redo operation is currently being blocked per
second. The following values are valid:
Redone Bytes Per Sec The amount of log bytes that was redone on the secondary database in the last
second. The following values are valid:
Total Log Requiring Undo (KB) The amount of log data (in KB) that must be undone. The following
values are valid:
Undo Log Remaining (KB) The amount of log data (in KB) that remains to be undone. The following
values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Max Unsynchronized Databases The maximum number of the availability databases that have been
unsynchronized since the agent startup. The following values are valid:
Max Non Healthy Databases The maximum number of the availability databases that have been
non-healthy since the agent startup. The following values are valid:
Max Non Synchronized Commit Database Replicas The maximum number of availability database
replicas on which the transaction commit operation has not been synchronized since the agent startup.
The following values are valid:
Max Non-Online Databases The maximum number of databases that have not been online since the
agent startup. The following values are valid:
Min Non Healthy Databases The minimum number of the availability databases that have been
non-healthy since the agent startup. The following values are valid:
Min Non Synchronized Commit Database Replicas The minimum number of availability database
replicas on which the transaction commit operation has not been synchronized since the agent startup.
The following values are valid:
Min Non-Online Databases The minimum number of databases that have not been online since the
agent startup. The following values are valid:
Min Unsynchronized Databases The minimum number of the availability databases that have been
unsynchronized since the agent startup. The following values are valid:
Total Non Healthy Databases The total number of the availability databases that have been non-healthy
since the agent startup. The following values are valid:
Total Non Synchronized Commit Database Replicas The total number of availability database replicas
on which the transaction commit operation has not been synchronized since the agent startup. The
following values are valid:
Total Non-Online Databases The total number of databases that have not been online since the agent
startup. The following values are valid:
Total Databases The total number of availability databases that are hosted by the SQL Server instance.
The following values are valid:
Total Primary Databases The total number of primary availability databases that are hosted by the SQL
Server instance. The following values are valid:
Total Secondary Databases The total number of secondary availability databases that are hosted by the
SQL Server instance. The following values are valid:
Note: In this attribute group, the Primary Replica ID is blank if the SQL query returns the NULL value.
Backup Preference The preferred location to perform backup operations on the availability databases that
are available in the availability group. The following values are valid:
Database Count The total number of databases that are connected to the availability group. The
following values are valid:
Failure Condition The condition level that is specified for triggering an automatic failure of the
availability group. The following values are valid:
Group ID The ID of the availability group to which the replica belongs. The value format is an
alphanumeric string with a maximum of 128 characters. The following values are valid:
Group Name The name of the availability group to which the replica belongs. The value format is an
alphanumeric string with a maximum of 384 characters. The following values are valid:
Group Role Indicates whether the local server instance is a primary or a secondary replica. The following
values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Local Replica Recovery Health The recovery health status of the replica that is hosted by the local SQL
Server instance in the availability group. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Primary Replica The name of the primary replica. The following values are valid:
Primary Replica ID The ID of the primary replica. The format is an alphanumeric string with a
maximum of 128 characters. The following values are valid:
Secondary Replicas Count The number of secondary replicas in the availability group. The following
values are valid:
Synchronization Health A summary of the synchronization health of all the replicas in the availability
group. The following values are valid:
Wait Timeout (ms) The duration (in milliseconds) that the system waits for a response from the SQL
Server instance before the nstance is assumed to be slow or not responding. The following values are
valid:
Backup Preference The preferred location that is specified for performing backup operations on the
availability database. The following values are valid:
Cluster Resource ID The WSFC cluster resource ID. The following values are valid:
Failure Condition The value that indicates when an automatic failover occurs. The following values are
valid:
Group ID The availability group ID. The following values are valid:
Group Name The availability group name. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Resource Group ID The WSFC cluster resource group ID. The following values are valid:
Wait Timeout (ms) The duration (in milliseconds) that the system waits for the sp_server_diagnostics
stored procedure to return the health information of the SQL Server instance before the server instance is
assumed to be slow or not responding. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Group ID The availability group ID. The following values are valid:
Group Name The availability group name. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Is Conformant Indicates whether the IP address of the availability groups listener is conformant. An IP
address is conformant if one of the following conditions exists:
v The IP configuration is created by the T-SQL statement.
v The IP configuration is created outside of the SQL Server, but the IP configuration can be modified by
the T-SQL statement.
The following values are valid:
Is DHCP Indicates whether the IP address of the availability groups listener is configured by the
Dynamic Host Configuration Protocol (DHCP). The following values are valid:
Listener IP Address The IP address of the availability group listener. The following values are valid:
Listener Name The name of the availability group listener. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Listener ID The resource ID of the availability group listener in the WSFC cluster. The following values
are valid:
Port The TCP port number of the availability group listener. The following values are valid:
State The state of the availability group listener in the WSFC cluster. The following values are valid:
Max Non Healthy Groups The maximum number of availability groups in which at least one availability
replica that is hosted by the SQL Server instance has not been healthy since the agent startup. The
following values are valid:
Max Non Online Local Replica Groups The maximum number of availability groups in which at least
one availability replica that is hosted by the SQL Server instance has not been online since the agent
startup. The following values are valid:
Min Non Healthy Groups The minimum number of availability groups in which at least one availability
replica that is hosted by the SQL Server instance has not been healthy since the agent startup. The
following values are valid:
Min Non Online Local Replica Groups The minimum number of availability groups in which at least
one availability replica that is hosted by the SQL Server instance has not been online since the agent
startup. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Total Groups The total number of availability groups that are available on the SQL Server instance in the
current interval. The following values are valid:
Total Non Online Local Replica Groups The total number of availability groups in which at least one
availability replica that is hosted by the SQL Server instance is not online in the current interval. The
following values are valid:
Total Primary Role Group The total number of availability groups in which the SQL Server instance is
the primary replica in the current interval. The following values are valid:
Total Secondary Role Group The total number of availability groups in which the SQL Server instance is
the secondary replica in the current interval. The following values are valid:
Availability Mode Indicates whether the availability replica is running in the synchronous-commit mode
or the asynchronous-commit mode. The following values are valid:
Backup Priority The priority that is specified to perform backup operations on the replica. The following
values are valid:
Note: The value of this attribute is displayed as 0 if you select the Exclude Replica check box while
configuring an availability replica.
Create Date The date when the replica was created. The following values are valid:
Note: This attribute shows No Data if the SQL Server query returns the NULL value.
The format is MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL Server on
Friday, January 25, 2002 at 8:00 a.m.
Endpoint URL The database mirroring endpoint that is specified by the user. The value format is an
alphanumeric string. The following values are valid:
Failover Mode Indicates whether the failover mode of the availability replica is manual or automatic. The
following values are valid:
Group Name The name of the availability group to which the replica belongs. The value format is an
alphanumeric string. The following values are valid:
Modify Date The date when the replica was last modified. The following values are valid:
Note: This attribute shows No Data if the SQL Server query returns the NULL value.
Originnode The key for the table view in the format serverid:hostname:MSS.
Owner SID The security identifier (SID) of the external owner of the replica. The following values are
valid:
Primary Connection Type Indicates the type of connection that is allowed for a primary replica. The
following values are valid:
Replica Server Name The server and instance name of the location that hosts the replica. The following
values are valid:
Role Indicates whether a replica is currently a primary or secondary replica. The following values are
valid:
Secondary Connection Type Indicates the type of connection that is allowed for a secondary replica. The
following values are valid:
Session Timeout The duration (in seconds) that the replica waits to receive a message from another
replica before assuming that the connection between the primary and the secondary replica has failed.
The following values are valid:
Cluster Node The name of the cluster node where the availability replica is located. The following values
are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Group ID The availability group ID. The following values are valid:
Group Name The availability group name. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Join State Indicates whether the availability replica is joined to the availability group in the WSFC
cluster. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Replica Server Name The server and instance name of the location where the availability replica is
hosted. The following values are valid:
Note: If no data has been collected from the query for this attribute, the value of this attribute is
displayed as blank on the Tivoli Enterprise Portal.
Replica ID The availability replica ID. The following values are valid:
Bytes Received Per Sec The number of bytes that are currently being received from the availability
replica per second. The following values are valid:
Bytes Sent Per Sec The number of bytes that are currently being sent per second from the primary
replica to the secondary replica, or from the secondary replica to the primary replica. The following
values are valid:
Flow Control Per Sec The number of flow control operations that have been currently initiated per
second. The following values are valid:
Flow Control Time (ms) The time (in milliseconds) that the log stream messages waited to send the flow
control information to the availability database. The following values are valid:
Instance Name The name of the local SQL Server instance. The following value is valid:
Messages Sent To Transport Per Sec The number of AlwaysOn messages that are currently being sent
per second through the network from the primary replica to the secondary replica, or from the secondary
replica to the primary replica. The following values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Received Messages Per Sec The number of AlwaysOn messages that are currently being received from
the primary replica per second. The following values are valid:
Sent Messages Per Sec The number of AlwaysOn messages that are currently being sent to the
availability replica per second. The following values are valid:
If the SQL Server instance is a primary replica in an availability group, the MS SQL Availability Replicas
Status Summary attribute group displays the details of all the replicas that are present in all the
availability groups. However, if the SQL Server instance is a secondary replica in an availability group,
the MS SQL Availability Replicas Status Summary attribute group displays the details of only those
replicas that are hosted by the local instance.
Connection State The current connection state of the availability replica. The following values are valid:
Group ID The ID of the availability group to which the replica belongs. The value format is an
alphanumeric string with a maximum of 64 characters. The following values are valid:
Group Name The name of the availability group to which the replica belongs. The following values are
valid:
Last Connect Error Number The last connection error number. The following values are valid:
Local Indicates whether the replica is hosted by the local instance. The following values are valid:
Operational State The current operational state of the availability replica. The following values are valid:
Note: This attribute shows the value No Data on the replica that is not local.
Originnode The key for the table view in the format serverid:hostname:MSS.
Note: This attribute shows the value No Data on the replica that is not local.
Replica ID The ID of the replica. The value format is an alphanumeric string with a maximum of 64
characters. The following values are valid:
Role Indicates whether the replica is a primary or a secondary replica. The following values are valid:
Synchronization Health The synchronization state of all the databases that are connected to the
availability group on the availability replica. The following values are valid:
Total Databases The total number of databases that are hosted by the availability replica. The following
values are valid:
If the SQL Server instance is a primary replica in an availability group, the MS SQL Availability Replicas
Status Summary attribute group displays the details of all the replicas that are present in all the
availability groups. However, if the SQL Server instance is a secondary replica in an availability group,
the MS SQL Availability Replicas Status Summary attribute group displays the details of only those
replicas that are hosted by the local instance.
Max Non Healthy Replicas The maximum number of replicas that have not been healthy since the agent
startup in all the availability groups that are hosted on the local server instance. The following values are
valid:
Max Disconnected Replicas The maximum number of replicas that have been disconnected since the
agent startup in all the availability groups that are hosted on the local server instance. The following
values are valid:
Max Local Failed Replicas The maximum number of local replicas that have failed since the agent
startup in all the availability groups that are hosted on the local server instance. The following values are
valid:
Max Secondary Replicas The maximum number of secondary replicas that have been connected since the
agent startup in all the availability groups that are hosted on the local server instance. The following
values are valid:
Min Non Healthy Replicas The minimum number of replicas that have not been healthy since the agent
startup in all the availability groups that are hosted on the local server instance. The following values are
valid:
Min Disconnected Replicas The minimum number of replicas that have been disconnected since the
agent startup in all the availability groups that are hosted on the local server instance. The following
values are valid:
Min Local Failed Replicas The minimum number of local replicas that have failed since the agent startup
in all the availability groups that are hosted on the local server instance. The following values are valid:
Min Secondary Replicas The minimum number of secondary replicas that have been connected since the
agent startup in all the availability groups that are hosted on the local server instance. The following
values are valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Total Connected Replicas The total number of connected replicas in all the availability groups that are
hosted on the local server instance. The following values are valid:
Total Disconnected Replicas The total number of disconnected replicas in all the availability groups that
are hosted on the local server instance. The following values are valid:
Total Local Failed Replicas The total number of local replicas that failed in all the availability groups that
are hosted on the local server instance. The following values are valid:
Total Local Replicas The total number of local replicas in all the availability groups that are hosted on
the local server instance. The following values are valid:
Total Primary Replicas The total number of primary replicas in all the availability groups that are hosted
on the local server instance. The following values are valid:
Total Secondary Replicas The total number of secondary replicas in all the availability groups that are
hosted on the local server instance. The following values are valid:
Auto-Param Attempts Per Sec The number of auto-parameterization attempts per second. The following
values are valid:
Batch Requests Per Sec The number of Transact-SQL command batch requests received per second. The
following values are valid:
Failed Auto-Params Per Sec The number of failed auto-parameterization attempts per second. The
following values are valid:
Forced Parameterization Per Sec The number of successful forced parameterization attempts per second.
The following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Originnode The key for the table view of the format serverid:hostname:MSS.
Safe Auto-Params Per Sec The number of safe auto-parameterization attempts per second. The following
values are valid:
Server Attention Rate The number of attentions per second. An attention is a request by the client to end
the currently running request. The following values are valid:
Server Compilations Per Sec The number of server compilations per second. The following values are
valid:
Server Re-Compilations Per Sec The number of times the server recompiles per second. The following
values are valid:
Unsafe Auto-Params Per Sec The number of unsafe auto-parameterization attempts per second. The
following values are valid:
Blocked Database Name (Unicode) The name of the database against which the blocked query is
currently being run. The following value is valid:
Blocked User Name (Unicode) The name of the user who has run the blocked SQL query. The following
value is valid:
Blocked Query Text The SQL text of the query that is currently blocked on the SQL Server. The following
value is valid:
Blocked Session ID The session ID that is blocking the query that is currently being run on the SQL
Server. The following value is valid:
Blocked Parent Query Text The SQL text of the parent of the blocking query. The value format is an
alphanumeric string with a maximum of 2048 characters. The following value is valid:
Blocking Query Text The SQL text of the query blocks one or more than one queries on the SQL Server.
The following value is valid:
Blocking Reason The reason for blocking the query. The following value is valid:
Blocking Resource The resource for which the query is currently blocked on the SQL Server. The
following value is valid:
Blocking Session ID The ID of the session that is currently blocking the execution of a query on the SQL
Server. The following value is valid:
Blocking User Name The login name of the user who ran the blocking query. The following value is
valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Total Wait Time (Sec) The total wait time (in seconds) since the query has been blocked on the SQL
Server. The following value is valid:
Config Parameter The name of the configuration parameter. The value format is an alphanumeric string
with a maximum of 30 characters; for example, Partition group. The sysconfigures and syscurconfigs
system tables store the configuration parameters. Use the parameter name to track the performance of a
particular configuration parameter.
Config Value The value for the configuration parameter. The value format is an alphanumeric string with
a maximum of 12 characters; for example, 1000. The value was initially specified in the sysconfigures
system table. Monitor this value to track its effect on performance, and to compare the initial setting to
the maximum, minimum, and run values.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Maximum Value The maximum value that can be specified for the configuration parameter. The value
format is an alphanumeric string with a maximum of 12 characters; for example, 2147483647.
Minimum Value The minimum value that can be specified for the configuration parameter. The value
format is an alphanumeric string with a maximum of 12 characters; for example, 1.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Parm Type The type of configuration parameter. If the configuration parameter is dynamic, a server
restart is not required. The following values are also valid:
Run Value The value the SQL server is using for the configuration parameter. The value format is an
alphanumeric string with a maximum of 12 characters; for example, 1000.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Accessible Access validation of the database. The following values are valid:
Note: When the database is in offline, restoring, or transition state, the value of this attribute is displayed
as No.
Active Transactions The number of active transactions for the database. The following value is valid:
Aggregate Database Freespace (MB) The total amount of freespace (in MB) that is available in all the
data files and on the storage device. The value format is a decimal number with two decimal places
allowed. The following value is valid:
Aggregate Database Freespace Pct The percentage of the total amount of freespace that is available in all
the data files and on the storage device out of the total space allowed. The value format is a decimal
number with two decimal places allowed. The following value is valid:
Data File Names The names of all physical files for data that make up this database.
Data Freespace The number of megabytes (MB) of free space for the database. The value includes the
megabytes of free data only. The value does not include the free space available in the database. The
value format is a decimal number with two decimal places allowed; for example, 10.00. The following
value is valid:
Data Freespace Percent The percentage of maximum available free space for the database. The value
format is a percentage with two decimal places allowed; for example, 20.00. The product calculates this
percentage from the maximum available free space for the database and the amount of space already
allocated for the database. Consider using the alter database command to expand the database size. The
following value is valid:
Note: Calculating value for this attribute depends on the database file space configuration options that
you specify when creating a database. Depending on these options, the SQL Server agent uses a different
algorithm to calculate the data freespace percent.
This algorithm considers the hard disk drive freespace for calculation.
Where:
v DB freespace is the total free space on all hard disk drives that contain the database files
v DB max size = total allocated database file size + database freespace
Option two: Database created with a fixed maximum size and the database grows dynamically till the
maximum limit is reached.
This algorithm considers the maximum size of the database for calculation.
Where:
v DB freespace = (DB max size - DB current size)
v DB max size and DB current size read from the sysfiles table
This algorithm differs from the first two options. The database maximum size is the initial file size of the
database at the time of database creation. The freespace is the freespace in the database file. In the first
two options, reports freespace is derived from the physical hard disk drive space.
Where:
v DB freespace = unallocated database pages in the database file
v DB max size and DB current size read from the sysfiles table
Data Size The number of megabytes (MB) allocated for the data only segments of the database. The
value format is a decimal number with two decimal places allowed; for example, 50.00. The following
value is valid:
Database Growth Percent The percentage of growth for the database from the last sample to the current
sample. The following value is valid:
Database Name The name of the database. The value format is an alphanumeric string with a maximum
of 30 characters; for example, KOQ3. Each database name is unique. The SQL server also assigns each
database its own identification number. The following value is valid:
Database Maximum Growth Size The maximum size to which the database can grow in MB. The
following value is valid:
Database Name (Unicode) The name of the database. Valid values include text strings with a maximum
of 384 bytes; for example, KOQ3. Each database name is unique. The SQL server also assigns each
database its own identification number.
Database Space Percent Used The amount of space (in megabytes) used in the database as a percentage
of total space allowed. Use this attribute to warn you when you need to extend the database. If you run
out of space, you can no longer use the database. The following value is valid:
Value Description
Online Database is available for access.
Offline Database is unavailable.
Restoring One or more files of the primary filegroup are being restored,
or one or more secondary files are being restored offline.
Recovering Database is being recovered.
Recovery Pending SQL Server has encountered a resource-related error during
recovery.
Suspect At least the primary filegroup is suspect and might be
damaged.
Emergency User has changed the database and set the status to
Emergency.
When the agent fails to collect data, the following value is displayed:
Database Status Reports when the database is unavailable. If a database is offline, you cannot access it.
Use this attribute to warn that the database has become unavailable. When the database is in transition
state, the database status is displayed as Available. The following values are valid:
DB ID The ID for the database. The value format is an alphanumeric string with a maximum of 12
characters; for example, 2156. This value is stored in the sysdatabases table. The following value is valid:
DB Owner The SQL server-assigned user ID for the owner of the database. The value format is an
alphanumeric string with a maximum of 8 characters; for example, DBO. Use the create database
command to establish this identifier.
DB Owner (Unicode) The SQL server-assigned user ID for the owner of the database. Valid values
include text strings with a maximum of 72 bytes. Use the create database command to establish this
identifier.
DBO Only Access Indicates whether the database has a status of DBO only. The following value is valid:
YYYY Year
MM Month
DD Day
For example, 20020501 indicates May 1, 2002. The following value is valid:
Error Status Indicates whether the database has an error status. A database with an error status has a
status of suspect, crashed, or recovery. Check the status bits in the sysdatabases table to determine the
cause of the error. Use the database consistency checker (dbcc) to verify the database integrity. The
following values are valid:
Free Space Accounting Suppressed Indicates whether the free space accounting option is disabled for the
database. The no-free-space-actg option turns off free space accounting on non-log segments only.
Information about free space is inaccurate when free space accounting is turned off. Use the
no-free-space-actg option and the checkpoint command to speed recovery. No time is needed to count
free space for non-log segments. The following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Last Database Size The database size in MB from the previous sample. The following value is valid:
Log Bytes Flushed per Sec The number of bytes of the log file that are flushed for the current interval.
The following value is valid:
Log File Names The names of all physical files for logs that make up this database.
Log Freespace The number of megabytes (MB) of free space in the transaction log for the database. The
value includes the number of megabytes of free space on the log only partitions. The value format is a
decimal number with two decimal places allowed; for example, 8.00. Various types of transactions, such
as mass updates and bulk copying in can involve extensive logging. The following value is valid:
Log Freespace Percent The percentage of free space in the transaction log for the database. The value
format is a percentage with two decimal places allowed; for example, 20.00. Various types of transactions,
such as mass updates and bulk copying in can involve extensive logging. The following value is valid:
Log Growths The total number of times the database transaction log is expanded since the SQL Server
was started. The format is an integer. The following value is valid:
Log Maximum Growth Size The maximum size to which the log can grow in MB. The following value is
valid:
Log Size The number of megabytes (MB) allocated for the transaction log for the database. The value
includes the number of megabytes allocated for the transaction log on the log only partitions. The value
format is a decimal number with two decimal places allowed; for example, 500. The appropriate size for
a transaction log depends on how the database is used. Several factors, such as the number of
transactions, type of transactions, and number of users, effect sizing. Evaluate the need to truncate the
transaction log to prevent it from filling up. The following value is valid:
Log Space Percent Used The percentage of the transaction log that is full. When the log has filled up all
of its allocated space, transactions that require logging are rejected. Use this attribute to set an alert based
on a percent full threshold, then spawn a task to dump or truncate the transaction log or to do both. The
following value is valid:
Long Running Transaction Process ID The longest running transaction. The Long running transactions
are transactions that are open for longer than the LongRunningTransColl standard collector parameter.
The format is an integer. The following value is valid:
Long Running Transaction Time Per Sec The time for which the longest running transaction is active (in
seconds). The format is an integer. The following value is valid:
No CKPT After Recovery Indicates whether a record for the checkpoint is added to the transaction log
when the database is recovered. The following values are valid:
Oldest Open Transaction The age (in minutes) of the oldest open transaction in the database transaction
log. Use this attribute to determine up to which point in time the transaction log can be truncated and
backed up. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Page Verify The option that identifies and notifies incomplete I/O transactions that have occurred
because of disk I/O errors. The following values are valid:
Recovery Model The method used to maintain the transaction log. The three types of recovery models
include Simple, Full, and Bulk-logged. The following values are valid:
Replicated Transaction Rate The rate per second at which transactions have been read out of the
publication database transaction log and delivered to the distribution database. Use this attribute to
discover if there are any bottlenecks in the replication process. Bottlenecks cause delays in the published
transactions reaching the subscriber database. The following value is valid:
Replicated Transactions The number of transactions in the publication database transaction log that are
marked for replication but have not yet been delivered to the distribution database. Use this attribute to
discover if there are any bottlenecks in the replication process. Bottlenecks cause delays in the published
transactions reaching the subscriber database. The following value is valid:
Replication Latency The number of milliseconds between the time a transaction marked for replication is
entered into the publication database transaction log and the time it is read out of the log and delivered
to the distribution database. Use this attribute to discover if there are any bottlenecks in the replication
process. Bottlenecks cause delays in the published transactions reaching the subscriber database. The
following value is valid:
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m. The following value is valid:
Select Into Bulkcopy Enabled Indicates whether the select into/bulkcopy option is enabled for the
database. The following values are valid:
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters. For example, CFS_SVR5.
Single User Access Indicates whether the database has a status of single user. A database with a status of
single user can only be accessed by one user at a time. The following values are valid:
Suspect Database Reports whether a database is marked as suspect. Use this attribute to warn you that a
database cannot be loaded. The following values are valid:
Table Count The number of tables that exist in the database. The value format is an integer. The
following value is valid:
Total Devices The number of devices allocated for the database. The value format is an integer in the
range 1-128; for example, 4. The following value is valid:
Write Transactions per sec The number of transactions written to the database and committed in the last
second. The format is an integer. The following value is valid:
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express® Edition.
Bytes Received Per Sec The number of bytes received per second. The format is an integer. The following
values are also valid:
Bytes Sent Per Sec The number of bytes sent per second. The format is an integer. The following values
are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Log Bytes Received Per Sec The number of bytes of log received per second. The format is an integer.
The following values are also valid:
Log Bytes Redone From Cache Per Sec The number of log bytes redone from the Database Mirroring log
cache per second. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Bytes Sent Per Sec The number of log bytes sent per second. The format is an integer. The following
values are also valid:
Log Compressed Bytes Rcvd Per Sec The number of compressed log bytes received in the last second.
The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Compressed Bytes Sent Per Sec The number of compressed log bytes sent in the last second. The
format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Harden Time The number of milliseconds the log blocks waited to be hardened to disk in the last
second. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Remaining For Undo The total number of log bytes (in KB) that remain to be scanned by the new
mirror server after failover. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Scanned For Undo The total number of log bytes (in KB) that are scanned by the new mirror server
after failover. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Send Flow Control Time The time (in milliseconds) awaited by the log stream messages for the send
flow control in the last second. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Send Queue The total number of megabytes of log that are not sent to the mirror server. The format
is an integer. The following values are also valid:
Mirror Name The name of the database. The following values are valid:
Mirrored Write Transactions Per Sec The number of transactions (that waited for log to be sent to the
mirror) written to the mirrored database in the last second. The format is an integer. The following values
are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Mirroring Role The current role of the local database in the database mirroring session. The format is an
integer. The following values are also valid:
Mirroring State The state of the mirror database. The format is an integer. The following values are also
valid:
Pages Sent Per Sec The number of pages sent per second. The format is an integer. The following values
are also valid:
Receives Per Sec The number of mirroring messages received per second. The format is an integer. The
following values are also valid:
Redo Bytes Per Sec The number of bytes of log redone by the mirror database per second. The format is
an integer. The following values are also valid:
Redo Queue The number of megabytes that redo on the mirror database is behind the hardened log. The
format is an integer. The following values are also valid:
Send Receive Ack Time The time (in milliseconds) awaited by the messages to receive an
acknowledgment from the partner. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Sends Per Sec The number of sends initiated per second at the time of monitoring interval. The format is
an integer. The following values are also valid:
Transaction Delay The time (in milliseconds) awaited by the transaction termination to receive an
acknowledgment. The format is an integer. The following values are also valid:
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Minimum Pct Data Freespace The lowest percentage of free space in data only and data and log
segments on a device allocated to a database. The value format is a percentage with two decimal places
allowed; for example, 5.00. The amount of space needed by the database depends on its anticipated
activity. Set alerts for abnormal conditions. Evaluate the possibility of adding more space to the database.
Minimum Pct Log Freespace The lowest percentage of free space in log only and data and log segments
on a device allocated for the database transaction log. The value format is a percentage with two decimal
places allowed; for example, 5.00. The amount of space needed by the transaction log depends on the
type and quantity of the transactions and the frequency of backups. Set alerts for abnormal conditions.
Evaluate the possibility of expanding the log.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters. For example: CFS_SVR5.
Total Databases The number of databases for the SQL server. The value format is an integer; for example,
10.
Total DBs DBO Only The number of databases with a status of DBO only. A database with a status of
database owner can be accessed only by users with DBO authority. The value format is an integer; for
example, 5.
Total DBs in Error The number of databases with an error status. A database with an error status is a
database with a status of suspect, crashed, or recovery. The value format is an integer; for example, 2.
Total DBs No Free Space Accounting The number of databases that have the free space accounting
option disabled. The value format is an integer; for example, 5.
Total DBs Read Only The number of databases with a status of read only. The value format is an integer;
for example, 5.
Total DBs Single User The number of databases with a status of single user. A database with a status of
single user can be accessed by only one user at a time. The value format is an integer; for example, 2.
Autogrowth Indicates whether the autogrowth feature is enabled for a device. If the autogrowth feature
is enabled, the maximum file size is displayed as restricted or unrestricted. The following values are
valid:
Autogrowth Unit Indicates the unit of file growth. If the autogrowth feature is enabled for a device, the
file growth value is displayed either in a percentage or MB. The following values are valid:
Autogrowth Value Indicates the growth value of a file. The following values are valid:
Database Name The name of the database. The value format is alphanumeric string with a maximum 30
characters; for example, KOQ3. Each database name is unique. The SQL server also assigns each database
its own identification number. The following values are also valid:
Database Name (Unicode) The Database name. Valid values include text strings with a maximum of 384
bytes. The following values are also valid:
Device Free Space The number of megabytes (MB) of free space on a device. The value format is a
decimal with two decimal places allowed; for example, 10.00. Adequate space is required to support
database and system administration activities. Set alerts for abnormal conditions. Refer to this value when
estimating space needed for tables, indexes, logs, and system administration. The following values are
also valid:
Device Free Space Percent The percentage of free space on the device. The value format is a percentage
with two decimal places allowed; for example, 15.00. Adequate space is required to support database and
system administration activities. Set alerts for abnormal conditions. Refer to this value when estimating
space needed for tables, indexes, logs, and system administration. The following values are also valid:
Device Name The name of the device allocated for the database. The value format is an alphanumeric
string with a maximum of 64 characters; for example, DATA_1. The logical name of the device is stored
in the name column of the sysdevices table. Use the device name in storage-management commands.
Device Name (Unicode) The Device name. Valid values include text strings with a maximum of 384
bytes.
Device Size The number of megabytes (MB) on the device. The value format is an integer; for example,
20. Use this value when analyzing the amount of free space. The following values are also valid:
Option 1 for calculation :Autogrowth is enabled and has unrestricted growth This algorithm considers
the hard disk drive freespace for calulation
Disk size = Total free space on all hard disk drives that contain the database files
Option 2 for calculation: Autogrowth is enabled and has restricted growth This algorithm considers the
maximum size of the database and hard disk drive free space for calculation.
Device maximum size = The restricted maximum size allocated to the database file
Disk size = Total free space on all hard disk drives that contain the database files
Option 3 for calculation: Autogrowth disabled The database maximum size is the initial file size of the
database at the time of database creation.
Device max size = Initial file size of the database at the time of database creation.
Device Type Indicates the type of device allocated for the database. The following values are also valid:
The value indicates the type of data that is stored on the device. Databases are frequently spread across
several devices due to size, performance, and recoverability issues.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Mirror Device Name The name of the mirror device for the database. The value format is an
alphanumeric string with a maximum of 64 characters; for example, /dev/rsd2g. The mirror device
duplicates the contents of a primary device. Refer to the logical and physical names of the device that is
being mirrored. The following values are also valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Physical Device Name The name of the physical device allocated for the database. The value format is an
alphanumeric string with a maximum of 30 characters; for example, DATA_1.
Physical Device Name (Unicode) The Name of the physical device. Valid values include text strings with
a maximum of 192 bytes.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Server Version (Superceded) The version of the SQL Server. The value format is the version in the format
x.y.z; for example, 10.0.253.
Note: For the complete version of the SQL Server, see the Server Version attribute.
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Bytes Received Per Sec The number of bytes received per second. The format is an integer. The following
values are also valid:
Bytes Sent Per Sec The number of bytes sent per second. The format is an integer. The following values
are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Log Bytes Received Per Sec The number of log bytes received per second. The format is an integer. The
following values are also valid:
Log Bytes Redone From Cache Per Sec The number of log bytes redone from the Database Mirroring log
cache per second. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Bytes Sent From Cache Per Sec The number of log bytes sent from the Database Mirroring log cache
in the last second. The format is an integer. The following values are also valid:
Log Bytes Sent Per Sec The number of log bytes sent per second. The format is an integer. The following
values are also valid:
Log Compressed Bytes Rcvd Per Sec The number of compressed log bytes received in the last second.
The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Compressed Bytes Sent Per Sec The number of compressed log bytes sent in the last second. The
format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Harden Time The time (in milliseconds) awaited by the log blocks to be hardened to the disk in the
last second. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Remaining For Undo The total number of log bytes (in KB) that remain to be scanned by the new
mirror server after failover. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Scanned For Undo The total number of log bytes (in KB) that are scanned by the new mirror server
after failover. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Log Send Queue The total number of megabytes of log that are not sent to the mirror server. The format
is an integer. The following values are also valid:
Mirror Name The name of the database. The following values are valid:
Mirrored Write Transactions Per Sec The number of transactions (that waited for log to be sent to the
mirror) written to the mirrored database in the last second. The format is an integer. The following values
are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Mirroring Role The current role of the local database in the database mirroring session. The format is an
integer. The following values are also valid:
Mirroring State The state of the mirror database. The format is an integer. The following values are also
valid:
Receives Per Sec The number of mirroring messages received per second. The format is an integer. The
following values are also valid:
Redo Bytes Per Sec The number of bytes of log redone by the mirror database per second. The format is
an integer. The following values are also valid:
Redo Queue The number of megabytes that redo on the mirror database is behind the hardened log. The
format is an integer. The following values are also valid:
Send Receive Ack Time The time (in milliseconds) awaited by the messages to receive an
acknowledgment from the partner. The format is an integer. The following values are also valid:
Note: This attribute is not supported on the SQL Server 2005 Enterprise Edition.
Sends Per Sec The number of sends initiated per second at the time of monitoring interval. The format is
an integer. The following values are also valid:
Synchronization State The state of synchronization (is failover possible). The format is an integer. The
following values are also valid:
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Database ID The ID of the primary or secondary database for the log shipping configuration.
Last File Processed The absolute path of the most recent transaction log backup or restore.
Last File Processed Time The date and time at which the file is processed. The format is YY/MM/DD
HH:mm, where:
YY Year
MM Month
DD Day
HH Hour
mm Minute
Server Type Indicates whether the server is primary or secondary. The format is an integer. The following
values are also valid:
Threshold The number of minutes allowed to elapse between backup or restore operations before an
alert is generated.
Error ID The ID of the error message. The value format is an integer. For example, 2520. The errors with
text that are not numbered are written to the SQL Server message logs.
Error SPID The ID of the session in which the event has occurred. This attribute is available for reports,
queries, and workspaces, but not for situations.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time at which data was inserted in the hub. This attribute is available for reports,
queries, and workspaces, but not for situations.
Message Age The number of minutes that have elapsed since the error occurred. The format is an integer,
for example, 2. Use this attribute to help identify the current messages.
Message Issuer The source of the error message. The value format is an alphanumeric string with a
maximum of 8 characters, for example, JSMITH.
Message Text (Unicode) The message text. This attribute is available for reports, queries, and workspaces,
but not for situations.
Message Timestamp The timestamp that indicates the date and time at which the error occurred. The
format is MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the agent collected data from the SQL Server on January 25,
2002 at 8:00 a.m.
Originnode The key for the table view. The format is serverid:hostname:MSS. This attribute is available
for reports, queries, and workspaces, but not for situations.
Sample Timestamp The timestamp that indicates the date and time at which the agent collected sample
data for the SQL Server. The format is MM/DD/YY HH:mm:SS, where:
For example, 01/25/02 08:00:00 indicates that the agent collected the data from the SQL Server on
January 25, 2002 at 8:00 a.m.
Server The name of the SQL Server. The value format is an alphanumeric string with a maximum of 32
characters. For example, CFS_SVR.
SQL State Code The value that represents state of the SQL Server when the error occurred. The value
format is an integer. For example, 37.
Filegroup Max Growth Size The maximum amount of space (in MB) that the filegroup can grow to.
Filegroup Space Percent Used The amount of space (in MB) used in the filegroup as a percentage of total
space allowed.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
FileTable Directory The name of the directory of the FileTable. The following values are valid:
FileTable Enabled Indicates whether the FileTable data is available for non-transactional access. The
following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Originnode The key for the table view in the format serverid:hostname:MSS.
Table Name The table name. The value format is an alphanumeric string with a maximum of 30
characters. The following values are valid:
Total Non Transactional Handles Opened The total number of non-transactional file handles that are
currently open and that are associated with the FileTable. The following values are valid:
Average CPU Time (Sec) The average CPU time (in seconds) that is taken to run an SQL query. The
following value is valid:
Average Logical Reads The average number of logical read operations that are completed by an SQL
query. The following value is valid:
Average Logical Writes The average number of logical write operations that are completed by an SQL
query. The following value is valid:
Average Physical Reads The average number of physical read operations that are completed by an SQL
query. The following value is valid:
Last Execution Time The time when an SQL query was last run on the SQL Server. The following value
is valid:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL Server on
Friday, January 25, 2002 at 8:00 a.m.
Max CLR Time (Sec) The maximum common language runtime (CLR, in seconds) that is used for a
single execution of an SQL query inside the .NET framework CLR. The following value is valid:
Max CPU Time (Sec) The maximum CPU time (in seconds) that is used for a single execution of an SQL
query. The following value is valid:
Max Logical Reads The maximum number of logical read operations that are completed by a single
execution of an SQL query. The following value is valid:
Max Logical Writes The maximum number of logical write operations that are completed by a single
execution of an SQL query. The following value is valid:
Max Waiting Time (Sec) The maximum waiting time (in seconds) that is taken by a single execution of
an SQL query. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Query Execution Count The total number of times an SQL query has been run since the query was last
compiled. The following value is valid:
Query Hash The query hash of an SQL query. The value format is an alphanumeric string with a
maximum of 2048 characters. The following value is valid:
This attribute, with the Session ID attribute, is used to create the primary key.
Query Text The SQL text of a query in an SQL query batch. The following value is valid:
Session ID The ID of the session in which the query is run. The following value is valid:
SQL Handle The SQL handle of the query. The following value is valid:
Total CPU Time (Sec) The total amount of CPU time (in seconds) that is used by all the executions of an
SQL query. The following value is valid:
Total Percent Waiting The percentage of total wait operations that are completed when an SQL query is
run. The following value is valid:
Buffer In Use The number of buffers that are currently used for the pipeline. The following value is
valid:
Buffer Memory (MB) The amount of memory in MB that is currently allocated to the buffers that are in
the pipeline. The following value is valid:
Buffer Spooled The number of buffers that are currently spooled to disk. The following value is valid:
Flat Buffers In Use The number of flat memory buffers that are currently used for the pipeline. The
following value is valid:
Flat Buffer Memory The amount of memory that is currently allocated to flat memory buffers. The
following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Private Buffer Memory The amount of memory that is currently allocated to private transformation
buffers. The following value is valid:
Private Buffers In Use The number of private transformation buffers that are currently used for the
pipeline. The following value is valid:
Total Rows Read The total number of rows that are currently being read from all data sources. The
following value is valid:
Total Rows Written The total number of rows that are currently being written to all data destinations.
The following value is valid:
Current Execution Status The current execution status of the job. The following value is valid:
Current Execution Step The current step that is being executed in the job. The value format is an
alphanumeric string with a maximum of 128 characters. The following value is valid:
Current Status The current job status. A job is in one of the following states:
Enabled Whether or not the job is enabled to run. The following values are valid:
Job Type The type of the job. The following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Job Category ID Job category ID for the job. The following value is valid:
Job Duration The amount of time it took for the job to complete (in seconds). The following value is
valid:
Job Error Code Error code for the last completion of the job. The following value is valid:
Job Execution Duration The time (in seconds) that has elapsed since the job started. The following values
are valid:
Job Owner The name of the owner of the job. The value format is an alphanumeric string with a
maximum of 128 characters. The following value is valid:
Job Status Current status of the job. The following values are valid:
Last Run Outcome The last job execution status. The following values are valid:
Last Run Timestamp The timestamp of last job execution. If the job has not been run at all, the Last Run
Timestamp value is 'N/P' (Not Present). If there is an error retrieving the job information, the Last Run
Timestamp value is 'N/P'.
Next Run Timestamp The timestamp of the next scheduled job execution. If a job is not scheduled to
run, its Next Run Timestamp is 'N/C' (Not Configured). If there is an error retrieving the job information,
the Next Run Timestamp values is 'N/P'(Not Present).
Notify Level Eventlog The value that indicates when a notification event must be sent to the Microsoft
Windows application log. The following values are valid:
Number of Steps The current number of steps in the job. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Start Step ID The step identifier from where the execution of the job starts. The following value is valid:
Version Number The version number of the job. The version number is automatically updated every
time that the job is modified. The following value is valid:
Active Jobs The number of active jobs since the agent was started. The format is an integer. The
following values are also valid:
Failed Jobs The number of failed jobs since the SQL Server agent was started. The format is an integer.
The following values are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Jobs Failed Current Interval The number of failed jobs for the current sample interval. The following
values are also valid:
Jobs Failed Since Startup The number of failed jobs since the agent was started.
Max Jobs Failed Interval Maximum number of failed jobs across all samples since the agent was started.
Max Running Jobs Interval Maximum number of running jobs across all samples since the agent was
started.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Queued Jobs The number of jobs in a queue since the agent was started. The format is an integer. The
following values are also valid:
Running Jobs Current Interval The number of running jobs for the current sample interval. The
following values are also valid:
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Successful Jobs The number of successful jobs since the agent was started. The format is an integer. The
following values are also valid:
Blocking Process ID The identifier for the process that is blocking a request for a lock. The value format
is an alphanumeric string with a maximum of 8 characters; for example, 12. Some blocking processes can
become stranded. Investigate situations in which a process is being blocked for an extended period of
time. For more information on a blocking process, query the sysprocesses and use the sp-lock procedure.
Client Group ID The group ID of the user executing the process. This value does not apply to Microsoft
SQL Server version 7. The value format is an alphanumeric string with a maximum of 8 characters; for
example, ACCT_1.
Client User ID ID of the user who executed the command. The value format is an alphanumeric string
with a maximum of 8 characters.
Database Name The name of the database. The value format is an alphanumeric string with a maximum
of 30 characters; for example, KOQ3. Each database name is unique. The SQL server also assigns each
database its own identification number.
Database Name (Unicode) The name of the database. Valid values include text strings with a maximum
of 384 bytes.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Requestor Process ID The ID of the blocked process. The value format is an alphanumeric string with a
maximum of 16 characters; for example, 21.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server User ID The ID of the server user. The value format is an alphanumeric string with a maximum
of 8 characters.
Database ID The ID of the database that is locked. The value format is an integer. The following values
are also valid:
Database Name The name of the database that is locked. The value format is an alphanumeric string
with a maximum of 16 characters; for example, DB12.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Lock Request Status Enumeration that identifies the Lock Request Status. The format is an integer. The
following values are also valid:
Lock Resource Type E Enumeration that identifies the Lock Resource Type. The format is an integer. The
following values are also valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Page Number The page number of the table being locked. The value format is an integer. The following
values are also valid:
Process Holding Lock The ID of the process holding the lock. The value format is an integer. The
following values are also valid:
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example CFS_SVR5.
Table Name The name of the table being locked. The value format is an alphanumeric string with a
maximum of 16 characters.
Table Name (Unicode) Name of Table being locked. Valid values include text strings with a maximum of
384 bytes.
Total Locks The total number of locks for the server. The value format is an integer. The following value
is valid:
Total Lock Conflicts The total number of processes that are involved in lock conflicts. The value format
is an integer. The following value is valid:
Type Indicates the type of lock on the resource that is being requested. The following values are also
valid:
and
Value Description
NULL
Sch-S Schema stability
Sch-M Schema modification
IS Intent Shared
SIU Shared Intent Update
IS-S Intent Shared-Shared
IX Intent Exclusive
SIX Shared Intent Exclusive
S Shared
U Update
IIn-Nul Intent Insert-NULL
IS-X Intent Shared-Exclusive
IU Intent Update
IS-U Intent Shared-Update
X Exclusive
BU Used by bulk operations
UIX Update Intent Exclusive
RangeS-S Shared Key-Range and Shared Resource
RangeS-U Shared Key-Range and Update Resource
RangeI-N Insert Key-Range and Null Resource
RangeI-S Key-Range conversion lock
RangeI-U Key-Range conversion lock
RangeI-X Key-Range conversion lock
RangeX-S Key-Range conversion lock
RangeX-U Key-Range conversion lock
Average Wait Time Locks The average amount of wait time (in milliseconds) for each lock request that
resulted in a wait.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Lock Requests per Second The number of new locks and lock conversions per second requested from the
lock manager. This value is calculated on an interval, and does not reflect a total value.
Lock Resource Type An enumeration of the resources that the SQL Server can lock. The following values
are also valid:
Lock Timeouts per Second The number of lock requests per second that timed out, including requests
for NOWAIT locks.
Lock Wait Time The total wait time (in milliseconds) for locks in the last second.
Number Deadlocks per Second The number of Deadlocks per second for the current sample interval.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Pct Max Locks The percentage of locks on resources of the maximum number of locks allowed by the
SQL server. The value format is a percentage with two decimal places allowed; for example, 10.00. Setting
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Table Lock Escalations per Sec The number of times that the locks on a table were escalated.
Total Lock Conflicts The total number of processes involved in lock conflicts. The value format is an
integer. This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group. The following
value is valid:
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Database ID The ID of the primary or secondary database for the log shipping configuration.
Last File Processed The absolute path of the most recent transaction log backup or restore.
Last File Processed Time The date and time at which the file is processed. The format is YY/MM/DD
HH:mm, where:
YY Year
MM Month
DD Day
HH Hour
mm Minute
Server Type Indicates whether the server is primary or secondary. The format is an integer. The following
values are also valid:
Threshold The number of minutes allowed to elapse between backup or restore operations before an
alert is generated.
Threshold Exceeded Indicates whether the threshold is exceeded or not. The format is an integer. The
following values are valid:
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Agent Type The type of log shipping job. The following values are also valid:
Database ID The ID of the primary or secondary database for the log shipping configuration.
Log Time The date and time at which the record is created. The format is YY/MM/DD HH:mm, where:
YY Year
MM Month
DD Day
HH Hour
mm Minute
Sequence Number An incremental number that indicates the correct order of information for errors that
span multiple records.
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Agent Type The type of log shipping job. The format is an integer. The following values are also valid:
Database ID The ID of the primary or secondary database for the log shipping configuration.
Note: For jobs that do not have an associated database, the value for the Database ID attribute is
displayed as -1.
Job Status The status of the session. The following values are also valid:
Log Time The date and time at which the record is created. The format is YY/MM/DD HH:mm, where:
YY Year
MM Month
DD Day
HH Hour
mm Minute
Session ID The primary ID for backup or the secondary ID for copy or restore.
Connection Memory The total amount of dynamic memory the server is using for maintaining
connections in megabytes. The format is an integer. The following values are also valid:
Granted Workspace Memory The total amount of memory granted to running processes. This memory is
used for the hash, sort, and create index operations in megabytes. The format is an integer. The following
values are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Lock Blocks The current number of lock blocks that are in use on the server. Refreshed periodically. The
format is an integer. The following values are also valid:
Lock Blocks Allocated The current number of allocated lock blocks. The format is an integer. The
following values are also valid:
Lock Memory The total amount of dynamic memory the server is using for locks in megabytes. The
format is an integer. The following values are also valid:
Lock Owner Blocks The number of lock owner blocks that are in use on the server. The blocks are
refreshed periodically. The format is an integer. The following values are also valid:
Lock Owner Blocks Allocated The current number of allocated lock owner blocks. The format is an
integer. The following values are also valid:
Memory Grants Outstanding The current number of processes that have successfully acquired a
workspace memory. The format is an integer. The following values are also valid:
Memory Grants Pending The current number of processes waiting for a workspace memory grant. The
format is an integer. The following values are also valid:
Optimizer Memory The total amount of dynamic memory the server is using for query optimization in
megabytes. The format is an integer. The following values are also valid:
SQL Cache Memory The total amount of dynamic memory the server is using for the dynamic SQL
cache in megabytes. The format is an integer. The following values are also valid:
Target Server Memory The total amount of dynamic memory the server is willing to consume in
megabytes. The format is an integer. The following values are also valid:
Total Server Memory The total amount of dynamic memory the server is currently consuming in
megabytes. The format is an integer. The following values are also valid:
Error ID The ID of the error message. The value format is an integer; for example, 2520. The unnumbered
errors with text explanations are written to the SQL server message logs.
Error SPID The ID of the session on which the event occurred. This attribute is not available for use in
situations. Otherwise, this attribute is available to use like any other attribute, for example it is available
for reports, queries, and workspaces.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Message Age The number of minutes that have elapsed since the error occurred. The value format is an
integer; for example, 2. Monitor this value to track current messages.
Message Issuer The source of the error message. The value format is an alphanumeric string with a
maximum of 8 characters; for example, JSMITH.
Message Text The message text. This attribute is not available for use in situations. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces.
Message Text (Unicode) The message text. This attribute is not available for use in situations. Otherwise,
this attribute is available to use like any other attribute, for example it is available for reports, queries,
and workspaces.
Message Timestamp The timestamp that indicates the date and time the error occurred. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR.
SQL State Code The SQL state value for the error message. The value format is an integer; for example,
37.
Age of Last Error The number of minutes that have elapsed since the last error message occurred. The
value format is an integer; for example, 2.
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub.
Error Log Size The number of bytes in the error log file. The value format is an integer; for example,
50000.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Maximum Sev Current Interval The error message of the highest severity level encountered during the
current interval. The value format is an integer in the range 10 through 24; for example, 19.
Maximum Sev Level The level of highest severity encountered since the SQL server started. The value
format is an integer in the range 10 through 24; for example, 22.
Maximum Sev Timestamp The timestamp that indicates the date and time the error message with the
highest severity level occurred. The format is MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Total Error Messages The number of error messages that have occurred since the SQL server was started.
The value format is an integer; for example, 3.
Total Errors Current Interval The number of error messages that occurred during the current interval.
The value format is an integer; for example, 1.
Total Errors High Sev The number of error messages with a severity level of 17 or higher that have
occurred since the SQL server was started. The value format is an integer; for example, 2.
Total Errors Other The number of error messages with a severity level of less than 17 that have occurred
since the SQL server was started. The value format is an integer; for example, 3.
Blocking Process ID The identifier for the process that is blocking a request for a lock. The value format
is an alphanumeric string with a maximum of 8 characters; for example, 12. Some blocking processes can
become stranded. Investigate situations in which a process is being blocked for an extended period of
time. For more information on a blocking process, query the sysprocesses and use the sp-lock procedure.
The following value is valid:
Client Host Name The name of the host for the client. The value format is an alphanumeric string with a
maximum of 16 characters; for example, Rocket. The following value is valid:
Client Process ID The ID the client assigned to the process. The value format is an alphanumeric string
with a maximum of 16 characters; for example, amc_2236. The following value is valid:
Client User ID The ID of the user executing the process. The value format is an alphanumeric string with
a maximum of 8 characters; for example, J_Kelly. The following value is valid:
Command The name of the command being executed by the process. The value format is an
alphanumeric string with a maximum of 16 characters; for example, CREATE VIEW. The following value
is valid:
Command (Unicode) The name of the executing command. The value format is an alphanumeric string
with a maximum of 48 bytes. The following value is valid:
Current CPU Percent Used Relative percent of the CPU used by this SQL Server process compared to all
other SQL Server processes. The value format is a percentage with two decimal places allowed; for
example, 80.00. This dynamic information is from the sysprocesses table. Set alerts for processes using an
abnormal amount of CPU, relative to all other SQL Server processes. The following value is valid:
Database Name The name of the database. The value format is an alphanumeric string with a maximum
of 30 characters; for example, KOQ3. Each database name is unique. The SQL server also assigns each
database its own identification number. The following value is valid:
Database Name (Unicode) The database name. The value format is an alphanumeric string with a
maximum of 384 bytes. The following value is valid:
Duration How long, in seconds, the process has been running. The following value is valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Login Name ID used by the process to log into the SQL Server. The value format is an alphanumeric
string with a maximum of 30 characters. The following value is valid:
NT User User name associated with the process. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
OS Process ID The Microsoft Windows thread ID. The following value is valid:
Process ID The ID of the process. The value format is an alphanumeric string with a maximum of 10
characters; for example, 42168. The following value is valid:
Value Description
Alarm sleep Process is waiting for an alarm.
Background Process is a Microsoft SQL Server process.
Bad status Process has errors.
Infected Process is infected.
Lock sleep Process is waiting for a lock to be released.
Log suspend Process is suspended by the log transaction.
Recv sleep Process is waiting for a network read.
Runnable Process is in the queue.
Running Process is running.
Sleeping Process is sleeping.
Stopped Process is stopped.
Send sleep Process is waiting on a network send.
Dormant Process is resetting.
Not Collected The value could not be collected.
Program Name The name of the program (front-end module) for the process. The value format is an
alphanumeric string with a maximum of 16 characters; for example, ISQL. The following value is valid:
Program Name (Unicode) The Program Name. The value format is an alphanumeric string with a
maximum of 384 bytes. The following value is valid:
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Total CPU Time The amount of CPU time, in seconds, the process has used on the host since the process
started. The value format is an integer; for example, 60. This value is based on the statistics collected by
the SQL server. Use this value to check for processes that use abnormal amounts of CPU time. The
following value is valid:
Total Disk IO The number of accesses to hard disk since the process started. The value includes accesses
to hard disk for physical reads and physical writes. The value format is an integer; for example, 10. The
following value is valid:
Total Memory Alloc KB The number of KB allocated for this process, based on the number of pages in
the procedure cache. A negative number indicates that the process is freeing memory allocated by another
process. The following value is valid:
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Percent Processes Blocked The percentage of processes that are being blocked. The value format is a
percentage with two decimal places allowed; for example, 4.00. This value is based on information from
the sysprocesses table. The value includes all processes currently in a waiting state.
Percent Processes Infected The percentage of processes with a status of infected. The value format is a
percentage with two decimal places allowed; for example, 2.00. This value is based on information from
the sysprocesses table. An infected process is associated with a serious error condition.
Percent Processes Locksleep The percentage of processes with a status of locksleep. The value format is a
percentage with two decimal places allowed; for example, 10.00. This value is based on information from
the sysprocesses table. The processes are waiting to obtain locks on resources.
Percent Processes Othersleep The percentage of processes with a status of alarm sleep, recv sleep, send
sleep, or sleeping. The value format is a percentage with two decimal places allowed; for example, 10.00.
Percent Processes Sleeping The percentage of processes with a status of sleep. The value format is a
percentage with two decimal places allowed; for example, 20.00. This value is based on information from
the sysprocesses table.
Percent Processes Stopped The percentage of processes with a status of stopped. The value format is a
percentage with two decimal places allowed; for example, 2.00. This value is based on information from
the sysprocesses table.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Server CPU Percent Application The percentage of CPU time the SQL server application processes are
using on the host. The value format is a percentage with two decimal places allowed; for example, 20.00.
Server CPU Percent System The percentage of CPU time the SQL server processes are using on the host.
The value format is a percentage with two decimal places allowed; for example, 25.00.
Total Log Suspend The number of processes with a status of log suspend. A process with a status of log
suspend is a process that cannot complete until there is free space in the transaction log. The value
format is an integer; for example, 1.
Total Processes The number of processes. The value includes background processes, processes for
applications, and user processes. The value format is an integer; for example, 50. This value includes
background processes, processes for applications, and user processes.
Total Processes Bad The number of processes with a status of bad. The value format is an integer; for
example, 1.
Total Processes Blocked The number of processes that are being blocked. The value format is an integer;
for example, 2.
Total Processes Infected The number of processes with a status of infected. A process with a status of
infected is a process that cannot be completed. The value format is an integer; for example, 1.
Total Processes Locksleep The number of processes with a status of locksleep. A process with a status of
locksleep is a process waiting for a lock on a resource to be released. The value format is an integer; for
example, 5.
Total Processes Stopped The number of processes with a status of stopped. The value format is an
integer; for example, 1.
Connection Level The connection level for the remote SQL server. The value format is an integer; for
example, 3. If the SQL server is not a Microsoft SQL Server Secure SQL server, the value is 0.
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub. The following values are valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Network Name The name of the network for the remote SQL server. The value format is an
alphanumeric string with a maximum of 16 characters; for example, REM_NET.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Remote Server Name The name of the remote SQL server. The value format is an alphanumeric string
with a maximum of 12 characters; for example, REM_SVR5.
Remote Server Status The status of the remote SQL server. The server status is displayed as Unknown
when the collector process of the SQL Server agent is not running. The server status is displayed as
Inactive when the collector process of the SQL Server agent is running, but the SQL Server is not
responding to the request. The following values are valid:
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Active Memory™ Grant Amount The total amount of granted memory in megabytes in the resource pool.
The format is an integer. The following values are also valid:
Active Memory Grants Count The count of memory grants that are assigned to pool workers. The
format is an integer. The following values are also valid:
Compile Memory Target The current memory target for compile memory in megabytes. The format is an
integer. The following values are also valid:
CPU Control Effect Percent The effect of the resource governor on the resource pool calculated as (CPU
Usage Percent)/(CPU Usage Percent without RG). The format is an integer. The following values are also
valid:
CPU Usage Percent The system CPU Usage by all requests in the specified instance of the performance
object. The format is an integer. The following values are also valid:
CPU Usage Target Percent The target value of CPU Usage Percent for the resource pool based on the
configuration settings and the system load. The format is an integer. The following values are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Max Memory The maximum amount of memory in megabytes the resource pool can have based on the
settings and the server state. The format is an integer. The following values are also valid:
Memory Grant Timeouts Per Sec The number of query memory grant timeouts per second occurring in
the resource pool. The format is an integer. The following values are also valid:
Pending Memory Grants Count The number of queries waiting for memory grants in the resource pool.
The format is an integer. The following values are also valid:
Query Exec Memory Target The current memory target for query execution in megabytes. The format is
an integer. The following values are also valid:
Resource Pool Name The resource governor resource pool name. The following values are valid:
Target Memory The target amount of memory in megabytes the resource pool tries to attain based on the
settings and the server state. The format is an integer. The following values are also valid:
Used Memory The used amount of memory in megabytes in the resource pool. The format is an integer.
The following values are also valid:
Blocking Session ID The ID of the session that is currently blocking the execution of a query on the SQL
Server. The following value is valid:
Client Host Name The name of the client workstation that is associated with the SQL query that is
currently running on the SQL Server. The following value is valid:
Command Type The type of command that is currently being processed by the SQL Server. The following
value is valid:
CPU Time (Sec) The CPU time (in seconds) of the SQL query that is currently running on the SQL
Server. The following value is valid:
Database Name (Unicode) The name of the database against which the SQL query is currently running
on the SQL Server. The following value is valid:
Granted Query Memory The number of pages that are currently allocated to the execution of a query.
The following value is valid:
Login Name The name that is used to log on to the SQL Server on which the query is currently running.
The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS.
Percent Work Complete The percentage of completed work for the database command that is currently
running. The name of the command that is currently running is displayed in the Command Type
attribute. The following list displays the database commands:
v ALTER INDEX REORGANIZE
v AUTO_SHRINK option with ALTER DATABASE
Program Name The name of the client program that initiated the request, which is currently running on
the SQL Server. The following value is valid:
Query Start Time The time when the query arrived on the SQL Server. The following value is valid:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL Server on
Friday, January 25, 2002 at 8:00 a.m.
Query Status The status of the SQL query that is currently running on the SQL Server. The following
values are valid:
Query Reads The number of query read operations completed by the SQL query that is currently
running on the SQL Server. The following value is valid:
Query Writes The number of query write operations completed by the SQL query that is currently
running on the SQL Server. The following value is valid:
Row Count The number of rows returned to the client by the SQL query that is currently running on the
SQL Server. The following value is valid:
Running Query Text The SQL text of the query that is currently running on the SQL Server. The value
format is an alphanumeric string with a maximum of 2048 characters. The following value is valid:
Session ID The session ID of the query that is currently running on the SQL Server. The following value
is valid:
SQL Handle The SQL handle of the query that is currently running on the SQL Server. The following
value is valid:
Total Elapsed Time (Sec) The total time (in seconds) that has elapsed since the SQL query arrived on the
SQL Server. The following value is valid:
Total Tasks Started The total number of activated tasks that are currently started. The following value is
valid:
Database Name (Unicode) The name of the database in the Unicode format.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, this
attribute is available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Server The name of the SQL Server. The value is an alphanumeric string with a maximum of 30
characters.
Stored Procedure Invoked Per Sec The number of stored procedures that are currently called per second.
Task Limit Reached Per Sec The number of times that the task limit that is currently activated for a
queue has been reached per second.
Tasks Aborted Per Sec The number of activated tasks that are currently ended per second. The following
value is valid:
Tasks Started Per Sec The number of activated tasks that are currently being started per second. The
following value is valid:
Total Task Limit Reached The number of times that the task limit that is currently activated for a queue
has been reached. The following value is valid:
Broker Transaction Rollbacks The current number of transactions related to the Service Broker that have
been rolled back. The following value is valid:
Enqueued Local Messages Per Sec The number of messages per second from local endpoints that are
currently being delivered into the queues. The following value is valid:
Enqueued Transport Messages Per Sec The number of messages from the transport that are being
delivered into the queues per second. The following value is valid:
Enqueued Messages Per Sec The number of messages from local endpoints and the transport that are
currently delivered into the queues per second.
Forwarded Messages Discarded Per Sec The number of forwarded messages that are currently discarded
per second because of memory limits for forwarded messages, age limits, and so on. The following value
is valid:
Forwarded Pending Messages The number of forwarded messages that are currently in the queue, and
that are not yet sent.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, this
attribute is available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
SQL Receives Per Sec The number of SQL RECEIVE commands that are processed per second by the
Service Broker. The following value is valid:
SQL Sends Per Sec The number of SQL SEND commands that are processed per second by the Service
Broker. The following value is valid:
Total Enqueued Local Messages The total number of message fragments from the local endpoints that
are currently being delivered into the queues. The following value is valid:
Total Enqueued Messages The total number of message fragments from the local endpoints and the
transport that are currently being delivered into the queues. The following value is valid:
Total Enqueued Transport Messages The total number of messages from the transport that are currently
delivered into the queues. The following value is valid:
Total Forwarded Messages The total number of forwarded messages from the local endpoints and the
transport that are currently being sent. The following value is valid:
Total Forwarded Messages Discarded The total number of forwarded messages that are currently
discarded because of memory limits for forwarded messages, age limits, and so on. The following value
is valid:
Total SQL Receives The total number of SQL RECEIVE commands that are currently processed by the
Service Broker. The following value is valid:
Total SQL Sends The total number of SQL SEND commands that are currently processed by the Service
Broker. The following value is valid:
Average Size Message Fragments Received The average byte size of the message fragments that are
received by the transport receive I/O operations. The following value is valid:
Average Size Message Fragments Sent The average byte size of the message fragments that are sent by
the transport send I/O operations. The following value is valid:
Current Message Fragments for Send I/O The number of message fragments that are to be read by the
transport send I/O operations that are currently running. The following value is valid:
Current Bytes for Receive I/O The number of bytes that are to be read by the transport receive I/O
operations that are currently running. The following value is valid:
Current Bytes for Send I/O The number of buffer bytes that are to be read by the transport send I/O
operations that are currently running. The following value is valid:
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, this
attribute is available for reports, queries, and workspaces.
Message Fragments Sent Per Sec The number of message fragments that are currently sent per second in
the transport send I/O operations. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Pending Bytes For Receive I/O The number of bytes that are currently present in the completed
transport receive I/O operations whose message fragments are not yet sent to the queue, or are not yet
discarded. The following value is valid:
Pending Bytes for Send I/O The current number of buffer bytes of the message fragments that are being
sent to the queue, and that are ready to be sent by the transport send I/O operations. The following
value is valid:
Pending Message Fragments for Receive I/O The current number of message fragments that are received
by transport receive I/O operations, and that are not yet sent to the queue or are not yet discarded. The
following value is valid:
Pending Message Fragments for Send I/O The current number of message fragments that are being sent
to the queue, and that are ready to be sent through the transport layer. The following value is valid:
Receive I/Os Per Sec The current number of transport receive I/O operations per second. A transport
receive I/O might contain more than one message fragment. The following value is valid:
Server The name of the SQL Server. The value is an alphanumeric string with a maximum of 30
characters.
Total Open Connection Count The total number of transport connections that are currently open. The
following value is valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Service State Current service state. The following values are also valid:
Service Start Mode Defined start mode for the service. The following values are also valid:
Service Status Current service status. The following values are also valid:
Service Type The service type for this service to the Microsoft SQL Server. The following values are also
valid:
Current Locks The number of current locks for the SQL server. The value format is an integer; for
example, 73.
Data Cache Size The number of kilobytes (KB) allocated for the data cache memory. The SQL server uses
the data cache to store data and index pages. The value format is an integer; for example, 1000. The cache
is sometimes referred to as the buffer cache.
Error Log Name The name of the file that contains the error log for the SQL server. The value format is
an alphanumeric string with a maximum of 64 characters; for example, SQL_Error_Log. The error log
tracks fatal and kernel errors. It also contains startup and system information. Check the error log for
message content and details. This attribute is not available for use in situations. Otherwise, this attribute
is available to use like any other attribute, for example it is available for reports, queries, and workspaces.
Error Log Name (Unicode) The name of the file that contains the error log for the SQL server (Unicode).
Valid values include text strings with a maximum of 392 characters. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Error Log Size The number of bytes in the error log file. The value format is an integer; for example,
50000. The error log contains the fatal error and kernel error messages issued by the SQL server.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Max Locks Allowed The maximum number of allowable locks. The value format is an integer; for
example, 2000. This value is a configuration parameter.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
OS Type The operating system for the SQL server. The value format is an alphanumeric string; for
example, AIX. The following values are valid:
OS Version The version of the operating system for the SQL server. The value format is the version in
the format version.release; for example, 2.5.
Percent Max Locks The percentage of locks on resources of the maximum number of locks allowed by
the SQL server. The value format is a percentage with two decimal places allowed; for example, 10.00.
Setting a higher limit for the maximum number of locks does not impair performance. If your operations
exceed the number of available locks, you can increase this limit.
Procedure Buffers Percent Active The percentage of slots with a procedure that is currently executing.
Use this attribute to see how much of the cache these procedures use in relation to the cache size as a
whole. The value format is an integer.
Procedure Buffers Percent Used The percentage of slots that have a procedure in them. A procedure
buffer is considered used when it is associated with a procedure cache entry. A used procedure buffer can
be active or not active. Use this attribute to see how much of the cache is being used by currently
compiled procedures in relation to the cache size as a whole. The value format is an integer.
Procedure Buffers Total The number of procedure buffers that are in the procedure cache. This number is
a fixed number based on the procedure cache that is allocated. Use this attribute to see how much of the
cache currently executing procedures use in relation to the cache size as a whole. The value format is an
integer.
Procedure Cache Pages The number of pages that are allocated for the procedure cache. The SQL server
uses the procedure cache to compile queries and store procedures that are compiled. The value format is
an integer; for example 1000.
Procedure Cache Percent The percentage of cache memory the SQL server uses for the procedure cache.
This value does not apply to Microsoft SQL Server version 7. The value format is a percentage with two
decimal places allowed; for example, 20.00.
Note: This attribute is deprecated from the SQL Server agent V6.2.1.1.
Procedure Cache Percent Active The total size of the procedure cache in pages. The size of the procedure
cache can fluctuate depending on the activity of other database server processes that might require
procedure cache slots, such as query plans. Use the attribute to see the current size of the procedure
cache. The value format is an integer.
Procedure Cache Percent Used The percentage of the procedure cache that has procedures in it. Use this
attribute to see how much of the cache currently executing procedures use in relation to the cache size as
a whole. The value format is an integer.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Server Status Indicates the status of the SQL server. The server status is displayed as Unknown when the
collector process of the SQL Server agent is not running. The server status is displayed as Inactive when
the collector process of the SQL Server agent is running, but the SQL Server is not responding to the
request. The following values are valid:
Server Type The type of SQL server. The value format is an alphanumeric string; for example, SQL
Server.
Server Version The version of the SQL Server. The value format is the version in the format w.x.y.z; for
example, 10.0.2531.0.
Server Version (Superceded) The version of the SQL Server. The value format is the version in the format
x.y.z; for example, 10.0.253.
Note: For the complete version of the SQL Server, see the Server Version attribute.
Startup Timestamp The timestamp that indicates the date and time the SQL server was started. The
format is YYY/MM/DD HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
Time Since Startup The number of minutes that have elapsed since the SQL server was started. The
value format is an integer; for example, 360.
Collation The name of the default collation for the server. The value format is a string. The following
value is valid:
Collation ID The identification number of this SQL Server collation. The following value is valid:
Edition The installed product edition of this instance of the SQL Server. The following value is valid:
Edition ID The identification number that represents the installed product edition of this instance of the
SQL Server. The following value is valid:
Engine Edition The database engine edition of the instance of the SQL Server that is currently installed.
The value format is an integer. The following value is valid:
FileStream Level The current level of FileStream support that is enabled for the SQL Server instance. The
following values are valid:
FileStream Share Name The Windows share name where the FileStream data is stored. The value format
is an alphanumeric string. The following values are valid:
HADR Manager Status Indicates whether the HADR manager for the AlwaysOn availability group has
started. The value format is an integer. The following values are valid:
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, this
attribute is available for reports, queries, and workspaces.
Is Clustered Indicates whether the SQL Server instance is configured in the Windows Server Failover
Clustering (WSFC) cluster. The value format is an integer. The following value is valid:
Is HADR Enabled Indicates whether the AlwaysOn Availability Group feature is enabled on the SQL
Server instance. The value format is an integer. The following values are valid:
Is Integrated Security Only The server is in the integrated security mode. The value format is an integer.
The following value is valid:
Is Single User The server is currently in the single-user mode, in which only a single user can connect to
the server. The value format is an integer. The following value is valid:
License Type The mode of this instance of the SQL Server. The mode can be per-seat or per-processor.
The following value is valid:
Num licenses The number of client licenses that are currently registered for this instance of the SQL
Server if the SQL Server is in the per-seat mode. The number of processors that are currently licensed for
this instance of the SQL Server if the SQL Server is in the per-processor mode. The following value is
valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Physical NetBIOS Name The NetBIOS name of the machine where this instance of the SQL Server is
currently running. The following value is valid:
Qualified Server Name The name of the qualified SQL Server instance in the format hostname:SQL
server instance. For the default SQL Server instance, the format is hostname. The value format is an
alphanumeric string with a maximum of 128 characters. The following value is valid:
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters.
Server Version The version of the SQL Server. The value format is the version in the format w.x.y.z; for
example, 10.0.2531.0.
Cache Average Free Scan The average number of buffers scanned by the LazyWriter when the
LazyWriter searches the data cache for an unused buffer to replenish the free buffer pool. If Microsoft
Cache Free Buffers The current number of cache buffers in the free buffer pool. Use this attribute as an
alert when the number of buffers is getting low. A low number of free buffers might degrade server
performance. The value format is an integer. The following values are valid:
Cache Hit Ratio The current ratio of data cache hits to total requests. Use this attribute to check the
effectiveness of the data cache. For optimal performance, the returned value must be approximately 95%
or greater. The value format is an integer.
Cache Maximum Free Page Scan The maximum value for the number of buffers scanned by the
LazyWriter when the LazyWriter searches the data cache for an unused buffer to replenish the free buffer
pool. Use this attribute to check the effectiveness of the data cache. The value format is an integer.
Checkpoint Pages per Sec The number of pages flushed to disk per second by a checkpoint or other
operation that require all dirty pages to be flushed.
Collection Status Indicates the status of the data collector on a remote node. The data collector is the part
of the product that collects information about the SQL server. The following values are also valid:
CPU Idle Delta The difference in the CPU Idle between the current and the previous samples.
CPU Idle Sec The time (in seconds) that the SQL Server has been idle since it was last started. The value
is in seconds even though the column name would imply milliseconds.
CPU Percent Idle The percentage of time that a database server has been idle during the current
monitoring interval. Use this attribute to gauge how much of the CPU resource the database server uses
so that you can allocate resources more efficiently. Also, you can use this attribute to determine how
resource-intensive certain operations are. The value format is an integer.
CPU Usage Delta The difference in the CPU Usage between the current and the previous samples.
CPU Usage Sec The time (in seconds) that the CPU has spent working since the SQL Server was last
started. The value is in seconds even though the column name would imply milliseconds.
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub.
Data Cache Size The number of kilobytes (KB) allocated for the data cache memory. The SQL server uses
the data cache to store data and index pages. The value format is an integer; for example, 1000. The cache
is sometimes referred to as the buffer cache.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Lazy Writes per Sec The number of buffers written per second by the buffer manager lazy writer. The
lazy writer is a system process that flushes out batches of dirty, aged buffers and make them available to
user processes. The lazy writer eliminates the need to perform frequent checkpoints to create available
buffers.
Mixed Page Allocations Per Sec The number of pages that are allocated from mixed extents per second.
These pages can be used for storing the Index Allocation Map (IAM) pages. The first eight pages from
mixed extents are allocated to an allocation unit.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Page Life Expectancy The duration (in seconds) for which an SQL Server block or page is stored in the
memory.
Page Reads per Sec The number of physical database page reads that are issued per second. This statistic
displays the total number of physical page reads across all databases. Because physical IO is expensive,
you might be able to minimize the cost, either by using a larger data cache, intelligent indexes, and more
efficient queries, or by changing the database design.
Page Writes per Sec The number of physical database page writes issued.
Percent Max Locks The percentage of locks on resources of the maximum number of locks allowed by
the SQL server. The value format is a percentage with two decimal places allowed; for example, 10.00.
Setting a higher limit for the maximum number of locks does not impair performance. If your operations
exceed the number of available locks, you can increase this limit.
Procedure Cache Size The number of kilobytes (KB) allocated for the procedure cache. The SQL server
uses the procedure cache to compile queries and store procedures that are compiled. The value format is
an integer; for example, 1000.
Readahead Pages per Sec The number of pages read in anticipation of use.
Repl Distribution Delivered Cmds per Sec The number of distribution commands delivered per second
to the Subscriber.
Repl Distribution Delivered Trans per Sec The number of distribution transactions delivered per second
to the Subscriber.
Repl Distribution Delivery Latency The distribution latency (in MS), the time it takes for transactions to
be delivered to the Distributor and applied at the Subscriber.
Repl Logreader Delivered Cmds per Sec The number of Log Reader Agent commands delivered per
second to the Distributor.
Repl Logreader Delivered Trans per Sec The number of Log Reader Agent transactions delivered per
second to the Distributor.
Repl Merge Conflicts per Sec The number of conflicts per second that occurred in the Publisher or
Subscriber upload and download. If the value is not zero, the value might require notifying the losing
side, overriding the conflict, and so on.
Repl Merge Downloaded Changes per Sec The number of rows merged (inserted, updated, and deleted)
per second from the Publisher to the Subscriber.
Repl Merge Uploaded Changes per Sec The number of rows merged (inserted, updated, and deleted)
per second from the Subscriber to the Publisher.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Server CPU Pct IO The percentage of time used for I/O operations during the current monitoring
interval. Use this attribute to gauge how much of the CPU resource the database server uses for I/O so
you can allocate resources more efficiently. You also can use this attribute to determine how I/O
resource-intensive certain operations are. The value format is an integer.
Server CPU Percent The percentage of CPU time the SQL server process is using on the host. The value
format is a percentage with two decimal places allowed; for example, 20.00.
Server Status Indicates the status of the SQL server. The server status is displayed as Unknown when the
collector process of the SQL Server agent is not running. The server status is displayed as Inactive when
the collector process of the SQL Server agent is running, but the SQL Server is not responding to the
request. The following values are also valid:
Server Type The type of SQL server. The value format is an alphanumeric string; for example, SQL
Server.
Server Version The version of the SQL Server. The value format is the version in the format w.x.y.z; for
example, 10.0.2531.0.
Note: For the complete version of the SQL Server, see the Server Version attribute.
SQLServerAgent Failed Jobs Reports any jobs run by the SQLServerAgent service that have failed in the
last monitoring interval. The first time you retrieve this attribute, it returns 0. The next time you retrieve
it, it returns the total number of SQLServerAgent failed jobs found in the system history tables since the
first run. These jobs include replication and user-defined jobs, such as maintenance or backup tasks. Use
this attribute to alert you when scheduled tasks have failed. The value format is an integer.
Stolen Pages The number of pages used for miscellaneous server purposes. The following values are
valid:
Stolen Pages Growth The growth of the number of stolen pages between the current sample and
previous sample. The following values are valid:
Time Since Startup The number of minutes that have elapsed since the SQL server was started. The
value format is an integer; for example, 360.
Total Blocking Lock Requests The total number of current locks blocking other processes. A blocking
lock must be released before other processes requesting competing locks can progress. (For more
information on locks, see the Microsoft SQL Server Books online.) Use this attribute to show the number
of blocking locks active during server activity. This attribute can indicate that processes are being held up
through lock contention rather than hardware performance issues. The value format is an integer.
Total Locks Remaining The total number of locks that can still be taken out. The maximum number of
locks is configurable. In Microsoft SQL Server Version 8.0, you can have the number of locks configured
automatically. Use this attribute to show the number of locks active during server activity. The value
format is an integer.
Total OS CPU Percent The percentage of CPU time being used by all processes on the host. The value
format is a percentage with two decimal places allowed; for example, 40.00.
Total Pages The total number of stolen, free, and database pages in the buffer pool. The following values
are valid:
Total Server Memory The total amount of dynamic memory (in KB) that the server is using currently.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, this
attribute is available for reports, queries, and workspaces.
Longest Transactions Running Time The transaction that is currently active for the longest duration of
time (in seconds). The value format is an integer. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute. For
example, this attribute is available for reports, queries, and workspaces.
Server The name of the SQL Server. The value is an alphanumeric string with a maximum of 30
characters.
Tempdb Free Space The amount of free space (in KB) that is currently available in the tempdb database.
The value format is an integer. The following value is valid.
Total Active Transactions The number of transaction enlistments (local, dtc, and bound) that are currently
active. The value format is an integer. The following value is valid:
Total Non-Snapshot Version Transactions The number of currently active non-snapshot transactions that
generate version records. The value format is an integer. The following value is valid:
Total Snapshot Transactions The number of snapshot transactions that are currently active. The value
format is an integer. The following value is valid:
Update Conflict Ratio The percentage of snapshot transactions that currently have update conflicts. The
value format is an integer. The following value is valid:
Version Cleanup Rate The current rate (in KB per second) at which versions are removed from the
version store. The value format is an integer. The following value is valid:
Version Generation Rate The current rate (in KB per second) at which versions are generated in the
version store. The value format is an integer. The following value is valid:
Version Store Size The amount of space (in KB) that is currently available in the version store. The value
format is an integer. The following value is valid:
Version Store Unit Count The number of allocation units that are currently active in the version store.
The value format is an integer. The following value is valid:
Version Store Unit Creation The number of units that are currently created in the version store. The
value format is an integer. The following value is valid:
Version Store Unit Truncation The number of units that are currently truncated in the version store. The
value format is an integer. The following value is valid:
Average Value per Second The average value per second for the statistic since the SQL server was
started. The value format is a decimal with two decimal places allowed; for example, 5.00. This value
indicates the norm for the statistic during the current interval.
Current Value The value for the statistic during the current interval. The value format is an integer; for
example, 40. This is a cumulative value for the statistic.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Maximum Seen The greatest value per second for the statistic since the SQL server was started. The
value format is an integer; for example, 2000. This is a benchmark value.
Minimum Seen The smallest value per second for the statistic since the SQL server was stated. The value
format is an integer; for example, 10. This is a benchmark value.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Statistic Name The name of the statistic. The value format is an alphanumeric string with a maximum of
32 characters; for example, cpu_busy. The following values are also valid:
Total Since Startup The total of all the values for the statistic since the SQL server was started. The value
format is an integer; for example, 9000.
Client Count The number of client workstations currently connected to the database server. Use this
attribute as an alert when you are running out of client connections, which can result in server access
problems. This attribute is also useful for tracking client access patterns. The value format is an integer.
Client Count Percent Used The number of client workstations currently connected to the database server
and returns the ratio percentage of the number of possible connections. For example, if you have 10 client
connections and eight are currently in use, this attribute returns a value of 80%. Running out of client
connections can result in server access problems. The value format is an integer.
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data the product collects
about each SQL server. New data becomes available if a new interval has occurred and data has been
refreshed at the CMS hub.
Current Logons The number of active connections (logons). The value format is an integer; for example,
50.
Disk IO Current Interval The number of times the SQL server accessed hard disk during the current
interval. The value includes access to hard disk for physical reads and physical writes. The value format
is an integer; for example, 50.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
IO ErrorsCurrent Interval The number of I/O errors that occurred when the SQL server accessed hard
disk during the current interval. The value format is an integer; for example, 5.
IO Errors Since Startup The number of I/O errors that have occurred when the SQL server accessed
hard disk since startup. The value format is an integer; for example, 2.
Network Read Rate The rate at which tabular data stream (TDS) packets are read from the network, in
packets per second. This statistic is an indicator of network throughput. When this statistic is high, it
indicates heavy network traffic. The value format is an integer.
Network Write Rate The rate at which tabular data stream (TDS) packets are written to the network, in
packets per second. This statistic is an indicator of network throughput. When this statistic is high, it
indicates heavy network traffic. The value format is an integer.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Percent IO Errors Current Interval The percentage of the accesses to hard disk that had errors occur
during the current interval. The value format is a percentage with two decimal places allowed; for
example, 1.00.
Percent Max Logons Active The percentage of active connections (logons) of the maximum number of
active connections allowed for the SQL server. The value format is a percentage with two decimal places
allowed; for example, 50.00.
Percent User Connections Remaining The current number of remaining user connections as a percentage
of the maximum number of available user connections for the database server. Use this attribute to gain
an overview of high and low access periods and to warn you of impending availability problems. The
value format is an integer.
Physical Reads per Second The average number of physical reads per second during the current interval.
The value format is a decimal with two decimal places allowed; for example, 5.00.
Physical Writes per Second The average number of physical writes per second during the current
interval. The value format is a decimal with two decimal places allowed; for example, 5.00.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Total Logons per Second The average number of active connections (logons) per second during the
current interval. The value format is a decimal with two decimal places allowed; for example, 15.00.
Total Logouts per Second Total number of logout operations started per second.
Total OS CPU Percent Busy The percentage of CPU seconds the SQL server has used during the current
interval of all the CPU seconds used since the SQL server was started. The value format is a percentage
with two decimal places allowed; for example, 20.00.
Total OS IO Percent Busy The percentage of I/O the SQL server used during the current interval of all
the I/O used since the SQL server was started. The value format is a percentage with two decimal places
allowed; for example, 25.00.
Database ID ID number of this database. The format is an integer. The following value is valid:
Database Name The Database name. The value format is an alphanumeric string with a maximum of 30
characters. The following value is valid:
Fragmentation The degree of fragmentation for the table. Use this attribute to determine if fragmentation
is reaching a level that causes performance degradation. Performance degradation is due to
non-contiguous table reads that require additional extent switches. The format is an integer. The
following value is valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Index Name The table index name. The following value is valid:
FileTable Indicates whether the current table is a FileTable. The format is an integer. The following values
are valid:
Number of Rows The number of rows that are present in a database table. The format is an integer. The
following value is valid:
Optimizer Statistics Age The time (in minutes) since statistics were updated for the table. Use this
attribute to ensure that queries base their query plans on up-to-date information. If query plans are based
on old information, they might be inefficient. The format is an integer. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Space Used (MB) The amount of space (in megabytes) used by the specified table. Use this attribute to
determine how much of the database space is used by a table. You can monitor the growth of individual
tables and compare the actual growth to the expected growth. The format is an integer. The following
value is valid:
Table ID ID number of this table. The format is an integer. The following value is also valid:
Table Name The table name. The value format is an alphanumeric string with a maximum of 30
characters. The following value is valid:
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute. For example, it is
available for reports, queries, and workspaces.
Last Collection Duration The time (in minutes) that is required to collect data of the MS SQL Table
Detail attribute group. The following value is valid:
Last Collection Start Time The date and time when data collection of the MS SQL Table Detail attribute
group last started. The following value is valid:
Maximum Fragmentation Percent Since Startup The highest value of fragmentation (in a percent) among
all tables since the agent was started. The following value is valid:
Maximum Table Size (MB) The maximum space in MB that is used among all the tables in the current
instance of the SQL Server. The following value is valid:
Maximum Fragmentation Percent The highest fragmentation value (in a percent) among all the tables in
the current interval. The following value is valid:
Minimum Optimizer Statistics Age (Min) The minimum age of the optimizer statistic in minutes among
all the tables in the current instance of the SQL Server. The following value is valid:
Minimum Table Size (MB) The minimum space in MB that is used among all the tables of the SQL
Server. The following value is valid:
Minimum Fragmentation Percent The lowest value of fragmentation (in a percent) among all the tables
in the current interval. The following value is valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Server The name of the SQLServer. The value format is an alphanumeric string with a maximum of 32
characters
Total FileTables The total number of FileTables that are present in the current instance of the SQL Server.
The following value is valid:
Note: For custom queries, this attribute group displays data only for the specified available process ID.
Client Host Name The host name of the client where the command was issued. The value format is an
alphanumeric string with a maximum of 16 characters.
Client Process ID The process ID assigned by the host client. The value format is an alphanumeric string
with a maximum of 16 characters.
Database Name The name of the database. The value format is an alphanumeric string with a maximum
of 30 characters; for example, KOQ3. Each database name is unique. The SQL server also assigns each
database its own identification number.
Database Name (Unicode) The Database name. Valid values include text strings with a maximum of 384
bytes.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces.
Process ID The ID of the process that is requesting or holding the lock on the resource. The value format
is an alphanumeric string with a maximum of 10 characters; for example, 42168.
Process Status Indicates the status of the process. The following values are also valid:
Value Description
Alarm sleep Process is waiting for an alarm.
Background Process is a Microsoft SQL Server process.
Bad status Process has errors.
Infected Process is infected.
Lock sleep Process is waiting for a lock to be released.
Log suspend Process is suspended by the log transaction.
Recv sleep Process is waiting for a network read.
Runnable Process is in the queue.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5.
Text The SQL text for the process. The value format is an alphanumeric string with a maximum of 255
characters.
Total CPU Time The amount of CPU time, in seconds, the process has used on the host since the process
started. The value format is an integer; for example, 60. This value is based on the statistics collected by
the SQL server. Use this value to check for processes that use abnormal amounts of CPU time.
Note: This attribute group is not supported on the SQL Server 2005 and 2008 Express Edition.
Active Parallel Threads The number of threads used by parallel queries in the workload group. Serial
queries and the main thread of parallel queries are not included in this number. The format is an integer.
The following values are also valid:
Active Requests The number of requests currently running in the workload group. The format is an
integer. The following values are also valid:
CPU Usage Percent The system CPU usage by all requests in the specified instance of the performance
object. The format is an integer. The following values are also valid:
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Max Requests CPU Time The maximum requests for CPU time in milliseconds. The format is an integer.
The following values are also valid:
Max Requests Memory Grant The maximum value of memory grant in megabytes used by a query in
the workload group. The format is an integer. The following values are also valid:
Query Optimization Per Sec The number of query optimizations per second occurring in the workload
group. The format is an integer. The following values are also valid:
Queued Requests The number of requests waiting in the queue due to resource governor limits in the
workload group. The format is an integer. The following values are also valid:
Reduced Memory Grants Per Sec The number of queries reduced per second from the memory in the
workload group. The format is an integer. The following values are also valid:
Requests Completed Per Sec The number of completed requests per second in the workload group. The
format is an integer. The following values are also valid:
Sample Timestamp The time when data is collected. The format is an integer. The following values are
also valid:
Suboptimal Plans Per Sec The number of suboptimal query plans generated per second in the workload
group. The format is an integer. The following values are also valid:
Workload Group Name The name of the workload group. The following values are valid:
Connection Level The connection level for the remote SQL server. The value format is an integer; for
example, 3. If the SQL server is not a Microsoft SQL Server Secure SQL server, the value is 0. This
attribute is not available for use in situations. Otherwise, this attribute is available to use like any other
attribute, for example it is available for reports, queries, and workspaces. To create a situation, use the MS
SQL Remote Servers attribute group.
Current Interval The number of seconds that have elapsed between the previous sample and the current
sample. The value format is an integer; for example, 90. A sample contains the data that IBM Tivoli
Monitoring for Microsoft SQL Server collects about each SQL server. New data becomes available if a
new interval has occurred and data has been refreshed at the CMS hub. This attribute is not available for
use in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Remote Servers
attribute group. The following values are valid:
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Remote Servers
attribute group.
Network Name The name of the network for the remote SQL server. The value format is an
alphanumeric string with a maximum of 16 characters; for example, REM_NET. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces. To create a situation, use the MS SQL Remote
Servers attribute group.
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces. To create a situation, use the MS SQL Remote
Servers attribute group.
Remote Server ID The ID of the remote SQL server. The value format is an alphanumeric string with a
maximum of 12 characters; for example, SERV_ID. This attribute is not available for use in situations.
Otherwise, this attribute is available to use like any other attribute, for example it is available for reports,
queries, and workspaces. To create a situation, use the MS SQL Remote Servers attribute group. To create
a situation, use the MS SQL Remote Servers attribute group.
Remote Server Name The name of the remote SQL server. The value format is an alphanumeric string
with a maximum of 12 characters; for example, REM_SVR5. This attribute is not available for use in
situations. Otherwise, this attribute is available to use like any other attribute, for example it is available
for reports, queries, and workspaces. To create a situation, use the MS SQL Remote Servers attribute
group.
Remote Server Status The status of the remote SQL server. The server status is displayed as Unknown
when the collector process of the SQL Server agent is not running. The server status is displayed as
Inactive when the collector process of the SQL Server agent is running, but the SQL Server is not
responding to the request. The following values are valid:
This attribute is not available for use in situations. Otherwise, this attribute is available to use like any
other attribute, for example it is available for reports, queries, and workspaces. To create a situation, use
the MS SQL Remote Servers attribute group.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m. This attribute is not available for use in situations. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Remote Servers attribute group.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5. This attribute is not available for use in situations. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Remote Servers attribute group.
Age of Last Error The age in minutes of the last error encountered. The value format is an integer. This
attribute is not available for use in situations or for historical data collection. Otherwise, this attribute is
available to use like any other attribute, for example it is available for reports, queries, and workspaces.
To create a situation, use the MS SQL Server Enterprise View attribute group.
Collection Status Indicates the status of the data collector. The data collector is the part of the product
that collects information about the SQL server. The following values are also valid:
This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Current Logons The number of logons and connections that are currently active. The value format is an
integer. This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Database Max Blocks The name of the database blocking the largest number of processes. This attribute
is not available for use in situations or for historical data collection. Otherwise, this attribute is available
to use like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Database Max Blocks (Unicode) The name of the database blocking the largest number of processes.
Database Max Locks The name of the database with largest number of locks. The value format is an
alphanumeric string with a maximum of 32 characters. This attribute is not available for use in situations
or for historical data collection. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces. To create a situation, use the MS SQL Server
Enterprise View attribute group.
Database Max Locks (Unicode) The name of the database with largest number of locks. Valid values
include text strings with a maximum of 32 bytes. This attribute is not available for use in situations or for
Error Log Size The size in bytes of the error log. The value format is an integer. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Host Name The name of the computer on which the SQL Server is running. The value format is an
alphanumeric string with a maximum of 64 characters, for example, Voyager. This attribute is not
available for use in situations or for historical data collection.
Hub Timestamp The time when this data was inserted at the hub. This attribute is not available for use
in situations or for historical data collection. Otherwise, this attribute is available to use like any other
attribute, for example it is available for reports, queries, and workspaces. To create a situation, use the MS
SQL Server Enterprise View attribute group.
IO Errors Current Interval The number of disk errors in the current interval. The value format is an
integer. This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Maximum Sev Level The highest severity level of an error message since startup. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Maximum Sev Timestamp The timestamp of the of the error message with the highest severity level
since startup. The format is MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m. This attribute is not available for use in situations or for historical
data collection. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise
View attribute group.
Minimum Pct Data Freespace The lowest percentage of free space in data only and data and log
segments on a device allocated to a database. The value format is a percentage with two decimal places
allowed; for example, 5.00. The amount of space needed by the database depends on its anticipated
activity. Set alerts for abnormal conditions. Evaluate the possibility of adding more space to the database.
This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Minimum Pct Log Freespace The lowest percentage of free space in the log. The value format is a
decimal number 0.00 through 100.00. This attribute is not available for use in situations or for historical
Mirror Name The name of the database. The following values are valid:
Mirroring Role The current role of the local database in the database mirroring session. The format is an
integer. The following values are also valid:
Mirroring State The state of the mirror database. The format is an integer. The following values are also
valid:
Originnode The key for the table view in the format serverid:hostname:MSS. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Pct Max Locks The percentage of locks on resources of the maximum number of locks allowed by the
SQL server. The value format is a percentage with two decimal places allowed; for example, 10.00. Setting
a higher limit for the maximum number of locks does not impair performance. If your operations exceed
the number of available locks, you can increase this limit. This attribute is not available for use in
situations or for historical data collection. Otherwise, this attribute is available to use like any other
attribute, for example it is available for reports, queries, and workspaces. To create a situation, use the MS
SQL Server Enterprise View attribute group.
Percent Max Logons Active The percentage of the maximum user connections that are currently active.
The value format is a decimal number in the range 0.00 to 100.00. This attribute is not available for use in
situations or for historical data collection. Otherwise, this attribute is available to use like any other
attribute, for example it is available for reports, queries, and workspaces. To create a situation, use the MS
SQL Server Enterprise View attribute group.
Percent Process Block The percentage of total processes in conflict. The value format is a decimal number
in the 0.00 through 100.00. This attribute is not available for use in situations or for historical data
Physical Reads per Second The number of physical reads per second during the current interval. The
value format is a decimal number with 2 decimal places. This attribute is not available for use in
situations or for historical data collection. Otherwise, this attribute is available to use like any other
attribute, for example it is available for reports, queries, and workspaces. To create a situation, use the MS
SQL Server Enterprise View attribute group.
Physical Writes per Second The Number of physical writes per second during the current interval. The
value is a decimal number with 2 decimal places. This attribute is not available for use in situations or
for historical data collection. Otherwise, this attribute is available to use like any other attribute, for
example it is available for reports, queries, and workspaces. To create a situation, use the MS SQL Server
Enterprise View attribute group.
Sample Timestamp The timestamp that indicates the date and time the product collected the sample for
the SQL server. A sample is the data the product collects about the SQL server. The format is
MM/DD/YY HH:mm:SS, where:
MM Month
DD Day
YY Year
HH Hour
mm Minute
SS Second
For example, 01/25/02 08:00:00 indicates that the product collected the data from the SQL server on
Friday, January 25, 2002 at 8:00 a.m. This attribute is not available for use in situations or for historical
data collection. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise
View attribute group.
Server The name of the SQL server. The value format is an alphanumeric string with a maximum of 30
characters; for example, CFS_SVR5. This attribute is not available for use in situations or for historical
data collection. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise
View attribute group.
Server CPU Percent The percentage of CPU time the SQL server process is using on the host. The value
format is a percentage with two decimal places allowed; for example, 20.00. This attribute is not available
for use in situations or for historical data collection. Otherwise, this attribute is available to use like any
other attribute, for example it is available for reports, queries, and workspaces. To create a situation, use
the MS SQL Server Enterprise View attribute group.
Server CPU Percent Application The percentage of CPU being used by application processes for the
server. The value format is a decimal number in the range 0.00 through 100.00. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Server CPU Percent System The percentage of CPU being used by system processes for the server. The
value format is a decimal number in the range 0.00 through 100.00. This attribute is not available for use
Server Status Indicates the status of the SQL server. The server status is displayed as Unknown when the
collector process of the SQL Server agent is not running. The server status is displayed as Inactive when
the collector process of the SQL Server agent is running, but the SQL Server is not responding to the
request.The following values are also valid:
This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Server Version The version of the SQL Server. The value format is the version in the format w.x.y.z; for
example, 10.0.2531.0.
Server Version (Superceded) The version of the SQL Server. The value format is the version in the format
x.y.z; for example, 10.0.253. This attribute is not available for use in situations or for historical data
collection. Otherwise, this attribute is available to use like any other attribute, for example it is available
for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise View
attribute group.
Note: For the complete version of the SQL Server, see the Server Version attribute.
Synchronization State The synchronization state (is failover possible). The format is an integer. The
following values are also valid:
Table Max Locks The name of the table with largest number of locks. The value format is an
alphanumeric string with a maximum of 32 characters.
Table Max Locks (Unicode) The name of the table with largest number of locks. Valid values include text
strings with a maximum of 32 bytes. This attribute is not available for use in situations or for historical
data collection. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise
View attribute group.
Time Since Startup The number of minutes that have elapsed since the SQL server was started. The
value format is an integer; for example, 360. This attribute is not available for use in situations or for
historical data collection. Otherwise, this attribute is available to use like any other attribute, for example
it is available for reports, queries, and workspaces. To create a situation, use the MS SQL Server
Enterprise View attribute group.
Total Databases The number of databases for the SQL server. The value format is an integer; for example,
10. This attribute is not available for use in situations or for historical data collection. Otherwise, this
Total Errors High Sev The total number of messages with a severity of 17 or higher since the server was
started. The value format is an integer. This attribute is not available for use in situations or for historical
data collection. Otherwise, this attribute is available to use like any other attribute, for example it is
available for reports, queries, and workspaces. To create a situation, use the MS SQL Server Enterprise
View attribute group.
Total Lock Conflicts The total number of processes involved in lock conflicts. The value format is an
integer. This attribute is not available for use in situations or for historical data collection. Otherwise, this
attribute is available to use like any other attribute, for example it is available for reports, queries, and
workspaces. To create a situation, use the MS SQL Server Enterprise View attribute group.
Total Locks The total number of locks for the server. The value format is an integer. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Total OS CPU Percent The percentage of CPU time being used by all processes on the host. The value
format is a percentage with two decimal places allowed; for example, 40.00. This attribute is not available
for use in situations or for historical data collection. Otherwise, this attribute is available to use like any
other attribute, for example it is available for reports, queries, and workspaces. To create a situation, use
the MS SQL Server Enterprise View attribute group.
Total Processes The total number of processes. The value format is an integer. This attribute is not
available for use in situations or for historical data collection. Otherwise, this attribute is available to use
like any other attribute, for example it is available for reports, queries, and workspaces. To create a
situation, use the MS SQL Server Enterprise View attribute group.
Total Processes Blocked The total number of processes blocked. The value format is an integer. This
attribute is not available for use in situations or for historical data collection. Otherwise, this attribute is
available to use like any other attribute, for example it is available for reports, queries, and workspaces.
To create a situation, use the MS SQL Server Enterprise View attribute group.
Transaction Delay The time (in milliseconds) awaited by the transaction termination to receive an
acknowledgment per second. The format is an integer. The following values are also valid:
Calculate expected disk space consumption by multiplying the number of bytes per instance by the
expected number of instances, and then multiplying that product by the number of samples. Table 8 on
page 223 provides the following information required to calculate disk space for the Microsoft SQL Server
agent:
v DB table name is the table name as it would appear in the warehouse database, if the attribute group is
configured to be written to the warehouse.
For more information about historical data collection, see the IBM Tivoli Monitoring Administrator's Guide.
About situations
A situation is a logical expression involving one or more system conditions. Situations are used to monitor
the condition of systems in your network. You can manage enterprise situations from the Tivoli
Enterprise Portal by using the Situation editor. You can manage enterprise situations from the Tivoli
Enterprise Portal by using the Situation Editor or from the command line interface using the tacmds for
situations.
The IBM Tivoli Monitoring agents that you use to monitor your system environment are shipped with a
set of predefined situations that you can use as-is or you can create new situations to meet your
requirements. Predefined situations contain attributes that check for system conditions common to many
enterprises.
Using predefined situations can improve the speed with which you can begin using the Microsoft SQL
Server agent. You can examine and, if necessary, change the conditions or values being monitored by a
predefined situation to those best suited to your enterprise.
Note: The predefined situations provided with this monitoring agent are not read-only. Do not edit these
situations and save over them. Software updates will write over any of the changes that you make to
these situations. Instead, clone the situations that you want to change to suit your enterprise.
You can display predefined situations and create your own situations using the Situation editor. The left
frame of the Situation editor initially lists the situations associated with the Navigator item that you
selected. When you click a situation name or create a new situation, the right frame opens with the
following tabs:
Formula
Condition being tested
Distribution
List of managed systems (operating systems, subsystems, or applications) to which the situation
can be distributed.
Expert Advice
Comments and instructions to be read in the event workspace
Action
Command to be sent to the system
Until Duration of the situation
IBM Tivoli Monitoring situations are distributed to managed systems and the Microsoft SQL Server agent
only has one type of managed system, the SQL server instance. When a situation is distributed to an SQL
server instance, the situation obtains all rows of data for the attribute group that is used by that situation.
If all database rows are returned, the situation occurs for all of the databases.
To restrict a situation to evaluate only a subset of data rows, add filters to modify the situation. You can
add one or more situation filters so that the situation evaluates only the desired database or database
table targets. For example, add the name of the database you want to monitor, such as Database Name =
"Northwind", to the situation so that the situation only monitors the Northwind database.
The IBM Tivoli Monitoring User's Guide contains more information about predefined and custom situations
and how to use them to respond to alerts.
For a list of the predefined situations for this monitoring agent and a description of each situation, see
Predefined situations and the information for each individual situation.
Predefined situations
This monitoring agent contains the following predefined situations:
v MS_SQL_Block_Critical
v MS_SQL_Block_Warning
v MS_SQL_Cache_Ave_FreePage_Crit
v MS_SQL_Cache_Ave_FreePage_Warn
v MS_SQL_Cache_Hit_Ratio_Crit
v MS_SQL_Cache_Hit_Ratio_Warn
v MS_SQL_Cache_Max_FreePage_Crit
v MS_SQL_Cache_Max_FreePage_Warn
v MS_SQL_Client_Cnt_Pct_Used_Crit
v MS_SQL_Client_Cnt_Pct_Used_Warn
v MS_SQL_Collection_Status_Warning
v MS_SQL_CPU_Critical
v MS_SQL_CPU_Warning
v MS_SQL_DB_Error_Status
v MS_SQL_DB_FreeSpace_Critical
v MS_SQL_DB_FreeSpace_Warning
v MS_SQL_DB_Num_Errors_Warning
v MS_SQL_DB_Space_Pct_Used_Crit
v MS_SQL_DB_Space_Pct_Used_Warn
v MS_SQL_DB_Status_Crit
v MS_SQL_DB_Suspect_Crit
v MS_SQL_Device_Free_PCT_Warning
v MS_SQL_Error_Warning
v MS_SQL_ErrorLog_Size_Warning
v MS_SQL_Failed_Jobs_Crit
v MS_SQL_Fragmentation_Warn
v MS_SQL_Fragmentation_Crit
v MS_SQL_IO_Disk_Errors_Crit
v MS_SQL_IOERR_Startup_Warning
v MS_SQL_IOError_Curintvl_Warning
v MS_SQL_Log_Freespace_Critical
v MS_SQL_Log_Freespace_Warning
v MS_SQL_Log_Shipping_Warning
v MS_SQL_Log_Shipping_Status_Err
v MS_SQL_Log_Space_Pct_Used_Crit
v MS_SQL_Log_Space_Pct_Used_Warn
MS_SQL_Block_Critical
Declares a critical condition if the number of processes in conflict is greater than or equal to 60.
MS_SQL_Block_Warning
Declares a warning condition if the number of processes in conflict is greater than or equal to 20 and less
than 60.
MS_SQL_Cache_Ave_FreePage_Crit
Declares a critical condition if the average number of cache buffers scanned to find a free buffer exceeds
the critical threshold. The default threshold is Cache Average Free Scan greater than 15.
MS_SQL_Cache_Ave_FreePage_Warn
Declares a warning condition if the average number of cache buffers scanned to find a free buffer exceeds
the warning threshold. The default threshold is Cache Average Free Scan greater than 10 and less than or
equal to 15.
MS_SQL_Cache_Hit_Ratio_Crit
Declares a critical condition if the ratio of data cache hits to total data requests exceeds the critical
threshold. The default threshold is Cache Hit Ratio less than 70.00.
MS_SQL_Cache_Hit_Ratio_Warn
Declares a warning condition if the ratio of data cache hits to total data requests exceeds the warning
threshold. The default threshold is Cache Hit Ratio less than 90.00 and greater than or equal to 70.00.
MS_SQL_Cache_Max_FreePage_Crit
Declares a critical condition if the maximum number of cache buffers scanned to find a free buffer
exceeds the critical threshold. The default threshold is Cache Maximum Free Page Scan greater than 15.
MS_SQL_Cache_Max_FreePage_Warn
Declares a warning condition if the maximum number of cache buffers scanned to find a free buffer
exceeds the warning threshold. The default threshold is Cache Maximum Free Page Scan greater than 5
and less than or equal to 15.
MS_SQL_Client_Cnt_Pct_Used_Crit
Declares a critical condition if the percentage of client licenses being used exceeds the critical threshold.
The default threshold is Client Count Pct Used greater than 90.00.
MS_SQL_Client_Cnt_Pct_Used_Warn
Declares a warning condition if the percentage of client licenses being used exceeds the warning
threshold. The default threshold is Client Count Pct Used greater than 70.00 and less than or equal to
90.00.
MS_SQL_Collection_Status_Warning
Declares a warning condition if the collection status is not Active.
MS_SQL_CPU_Warning
Declares a warning condition if the percentage of CPU usage is greater than or equal to 60 and less than
80 and elapsed time since the SQL server was started is at least 10 minutes.
MS_SQL_DB_Error_Status
Provides an alert if the database has a serious error.
MS_SQL_DB_Freespace_Critical
Declares a critical condition if the percentage of freespace on the database is less than or equal to 10.
MS_SQL_DB_Join_State_Warn
Declares a warning condition if the availability database is in the Not Joined state.
MS_SQL_DB_Space_Pct_Used_Warn
Declares a warning condition if the percentage of space used in the database compared to the total space
allowed exceeds the warning threshold. The default threshold is Database Space Pct Used greater than
70.00 and less than or equal to 90.00.
MS_SQL_DB_Space_Pct_Used_Crit
Declares a critical condition if the percentage of space used in the database compared to the total space
allowed exceeds the critical threshold. The default threshold is Database Space Pct Used greater than
90.00.
MS_SQL_DB_Num_Errors_Warning
Declares a warning condition if the number of databases with an error status is greater than 0.
MS_SQL_DB_Freespace_Warning
Declares a warning condition if the percentage of freespace in the database is less than or equal to 20 and
greater than 10.
MS_SQL_DB_Status_Crit
Declares a critical condition if the database is unavailable because of an error or being taken offline.
MS_SQL_DB_Suspect_Crit
Declares a critical condition if the database is in an inconsistent state because it cannot be restored.
MS_SQL_DB_Sync_Health_Crit
Declares a critical situation when the synchronization health of an availability database is Not Healthy.
MS_SQL_DB_Sync_State_Warn
Declares a warning condition if an availability database is in the Not Synchronizing state.
MS_SQL_Device_Free_PCT_Warning
Declares a warning condition if the percentage of freespace on the device is less than or equal to 10.
MS_SQL_Error_Warning
Declares a warning condition if the number of SQL Server errors during the current interval is greater
than 0.
MS_SQL_ErrorLog_Size_Warning
Declares a warning condition if the error log size is greater than or equal to 10000 bytes.
MS_SQL_Failed_Jobs_Crit
Declares a critical condition if the number of jobs run by the SQLServerAgent service that have failed
over the last monitoring interval has exceeded the critical threshold. The default threshold is
SQLServerAgent Failed Jobs greater than 0.
MS_SQL_Fragmentation_Crit
Declares a critical condition if the percentage of fragmentation exceeds the critical threshold. The default
threshold is Fragmentation greater than 80.00.
MS_SQL_Fragmentation_Warn
Declares a warning condition if the percentage of fragmentation exceeds the warning threshold. The
default threshold is Fragmentation greater than 30.00 and less than or equal to 80.00.
MS_SQL_Group_Role_Crit
Declares a critical condition if the role of an SQL Server instance in an availability group changes from
Primary to Secondary or Resolving, or if the role changes to Invalid.
MS_SQL_IOERR_Startup_Warning
Declares a warning condition if the number of IO errors since startup is greater than or equal to 10 and
the percentage of IO errors in the current interval is greater than or equal to 5.
MS_SQL_IO_Disk_Errors_Crit
Declares a critical condition if the number of SQL Server read/write disk errors exceeds the critical
threshold. The default threshold is Statistics Name equals IO errors and the Current Value is greater than
0.
MS_SQL_IOError_Curintvl_Warning
Declares a warning condition if the percentage of IO errors during the current interval is greater than or
equal to 80.
MS_SQL_Log_Freespace_Critical
Declares a critical condition if the percentage of freespace in the log is less than or equal to 10.
MS_SQL_Log_Freespace_Warning
Declares a warning condition if the percentage of freespace in the log is less than or equal to 20 and
greater than 10.
MS_SQL_Log_Shipping_Warning
Declares a warning condition if the configured threshold, minutes between backup or restore jobs are
exceeded. Test for Threshold Exceeded = Yes.
MS_SQL_Log_Space_Pct_Used_Crit
Declares a critical condition if the percentage of space used by the transaction log compared to the total
allocated transaction log size exceeds the critical threshold. The default threshold is Log Space Pct Used
greater than 90.00.
MS_SQL_Log_Space_Pct_Used_Warn
Declares a warning condition if the percentage of space used by the transaction log compared to the total
allocated transaction log size exceeds the warning threshold. The default threshold is Log Space Pct Used
greater than 70.00 and less than or equal to 90.00.
MS_SQL_Log_Suspend_Warning
Declares a warning condition if the number of processes in log suspend is greater than or equal to 1.
MS_SQL_LogonPct_Crit
Declares a critical condition if the number of current user connections as a percentage of the available
user connections has exceeded the critical threshold. The default threshold is Pct Max Logons Active
greater than 90.00.
MS_SQL_LogonPct_Warning
Declares a warning condition if the percentage of active logins is greater than or equal to 90.
MS_SQL_Long_Running_Transaction_Warning
Declares a warning condition if the same database transaction is identified to be the longest running
transaction over two consecutive 15 minutes interval cycles.
MS_SQL_Mirror_Failover_Critical
Declares a critical condition that is found only on the principal server after a failover, but the server is
not changed to the mirror role (Mirroring_State is equal to 'Pending Failover').
MS_SQL_Mirror_Lagging_Warning
Declares a warning condition if the contents of the mirror database lag the contents of the principal
database (Mirroring State is equal to 'Synchronizing'). The principal server instance sends log records to
the mirror server instance, which applies the changes to the mirror database to roll it forward.
MS_SQL_Mirror_Suspended_Warning
Declares a warning condition if the mirror copy of the database is not available (Mirroring_State is equal
to 'Suspended'). The principal database runs without sending any logs to the mirror server, a condition
known as running exposed.
MS_SQL_Network_Read_Rate_Warn
Declares a warning condition if the rate (packets per second) of Tabular Data Stream (TDS) packets being
read from the network exceeds the warning threshold. The default threshold is Network Read Rate (per
Sec.) greater than 50 and less than or equal to 150.
MS_SQL_Network_Write_Rate_Crit
Declares a critical condition if the rate (packets per second) of Tabular Data Stream (TDS) packets being
written from the network exceeds the critical threshold. The default threshold is Network Write Rate (per
Sec.) greater than 150.
MS_SQL_Network_Write_Rate_Warn
Declares a warning condition if the rate (packets per second) of Tabular Data Stream (TDS) packets being
written from the network exceeds the warning threshold. The default threshold is Network Write Rate
(per Sec.) greater than 50 and less than or equal to 150.
MS_SQL_Num_Process_Blocked_Crit
Declares a critical condition if the number of blocked processes exceeds the critical threshold. The default
threshold is Total Processes Blocked greater than 10.
MS_SQL_Num_Process_Blocked_Warn
Declares a warning condition if the number of blocked processes exceeds the warning threshold. The
default threshold is Total Processes Blocked greater than 2 and less than or equal to 10.
MS_SQL_Oldest_Transaction_Crit
Declares a critical condition if the age (in minutes) of the oldest transaction in the database's transaction
log exceeds the critical threshold. The default threshold is Oldest Open Transaction (min) greater than 15.
MS_SQL_Oldest_Transaction_Warn
Declares a warning condition if the age (in minutes) of the oldest transaction in the database's transaction
log exceeds the warning threshold. The default threshold is Oldest Open Transaction (min) greater than 5
and less than or equal to 15.
MS_SQL_Opt_Stats_Age_Crit
Declares a critical condition if the time (in minutes) since the table statistics were last updated exceeds
the critical threshold. The default threshold is Optimizer Statistics Age (in Min.) greater than 1440.
MS_SQL_Opt_Stats_Age_Warn
Declares a warning condition if the time (in minutes) since the table statistics were last updated exceeds
the warning threshold. The default threshold is Optimizer Statistics Age (in Min.) greater than 180 and
less than or equal to 1440.
MS_SQL_Pct_Block_Warning
Declares a warning condition if the percentage of processes in conflict is greater than or equal to 50.
MS_SQL_Pct_CPU_Yields_Warning
Declares a warning condition if the percentage of CPU yields is greater than 75.
MS_SQL_PCT_MAX_Locks_Critical
Declares a critical condition if the number of locks reaches or exceeds 80 percent of the maximum locks
allowed.
MS_SQL_PCT_MAX_Locks_Warning
Declares a warning condition if the number of locks ranges from 60 to 80 percent of the maximum locks
allowed.
MS_SQL_ProbAge_GT_17_Warning
Declares a warning condition if the age of the last error is 30 minutes or greater and the highest severity
level is greater than or equal to 17.
MS_SQL_Proc_Buffs_Active_Crit
Declares a critical condition if the percentage of active procedure buffers (buffers containing procedure(s)
actively being executed) to total available procedure buffers exceeds the critical threshold. The default
threshold is Procedure Buffers Pct Active less than 75.00.
MS_SQL_Proc_Buffs_Active_Warn
Declares a warning condition if the percentage of active procedure buffers (buffers containing one or
more procedures) actively being executed) to total available procedure buffers exceeds the warning
threshold. The default threshold is Procedure Buffers Pct Active less than 95.00 and greater than or equal
to 75.00.
MS_SQL_Proc_Buffs_Used_Crit
Declares a critical condition if the percentage of used procedure buffers to total available procedure
buffers exceeds the critical threshold. The default threshold is Procedure Buffers Pct Used less than 75.00.
MS_SQL_Proc_Buffs_Used_Warn
Declares a warning condition if the percentage of used procedure buffers to total available procedure
buffers exceeds the warning threshold. The default threshold is Procedure Buffers Pct Used less than
95.00 and greater than or equal to 75.00.
MS_SQL_Proc_Cache_Active_Crit
Declares a critical condition if the percentage of the procedure buffer cache with currently executing
procedures exceeds the critical threshold. The default threshold is Procedure Cache Pct Active less than
75.00.
MS_SQL_Proc_Cache_Active_Warn
Declares a warning condition if the percentage of the procedure buffer cache with procedures in it
exceeds the warning threshold. The default threshold is Procedure Cache Pct Active less than 95.00 and
greater than or equal to 75.00.
MS_SQL_Proc_Cache_Used_Crit
Declares a critical condition if the percentage of used procedure buffers to total available procedure
buffers exceeds the critical threshold. The default threshold is Procedure Cache Pct Used less than 75.00.
MS_SQL_Process_Blocked_Warning
Declares a warning condition if the percentage of blocked processes is greater than or equal to 25 and the
number of blocked processes is greater than or equal to 5.
MS_SQL_Process_Infected_Warning
Declares a warning condition if the number of infected processes is greater than or equal to 1.
MS_SQL_Processes_Bad_Warning
Declares a warning condition if the number of bad processes is greater than or equal to 1.
MS_SQL_Processes_Stop_Warning
Declares a warning condition if the number of stopped processes is greater than or equal to 5 and the
percentage of stopped processes is greater than or equal to 10.
MS_SQL_ProcessLockSleep_Warning
Declares a waning condition if the percentage of processes in locksleep is greater than or equal to 10 and
the number of processes in locksleep is greater than or equal to 5.
MS_SQL_ProcessOthSleep_Warning
Declares a warning condition if the number of processes in other sleep is greater than or equal to 2 and
the percentage of processes in othersleep is greater than or equal to 50.
MS_SQL_Rem_Serv_Stat_Critical
Declares a critical condition if the remote server has a status of Inactive.
MS_SQL_Repl_Latency_Crit
Declares a critical condition if the time (in milliseconds) between the time a transaction marked for
replication is entered into the transaction log and the time the transaction is read out of the log and
delivered to the distribution database exceeds the critical threshold. The default threshold is Replication
Latency (ms) greater than 900,000.
MS_SQL_Repl_Latency_Warn
Declares a warning condition if the time (in milliseconds) between the time a transaction marked for
replication is entered into the transaction log and the time the transaction is read out of the log and
delivered to the distribution database exceeds the warning threshold. The default threshold is Replication
Latency (ms) greater than 120,000 and less than or equal to 900,000.
MS_SQL_Replica_Join_State_Warn
Declares a warning condition if the availability replica is in the Not Joined state.
MS_SQL_Replica_Role_Health_Crit
Declares a critical condition if the role of the availability replica is not Primary or Secondary. This
situation is supported for SQL Server 2012, or later.
MS_SQL_Replicas_Conn_State_Crit
Declares a critical condition if the state of an availability replica is Disconnected.
MS_SQL_Status_Critical
Declares a critical condition if the SQL Server status is not active.
MS_SQL_Status_Inactive
Initiates an action if the SQL server is inactive.
MS_SQL_Total_Locks_Critical
Declares a critical condition if the number of locks reaches or exceeds 4000.
MS_SQL_Total_Locks_Warning
Declares a warning condition if the number of locks reaches or exceeds 200.
Take Action commands can be run from the desktop or included in a situation or a policy.
When included in a situation, the command executes when the situation becomes true. A Take Action
command in a situation is also called reflex automation. When you enable a Take Action command in a
situation, you automate a response to system conditions. For example, you can use a Take Action
command to send a command to restart a process on the managed system or to send a text message to a
cell phone.
Advanced automation uses policies to perform actions, schedule work, and automate manual tasks. A
policy comprises a series of automated steps called activities that are connected to create a workflow.
After an activity is completed, Tivoli Enterprise Portal receives return code feedback, and advanced
automation logic responds with subsequent activities prescribed by the feedback.
For more information about working with Take Action commands, see the IBM Tivoli Monitoring User's
Guide.
For a list of the Take Action commands for this monitoring agent and a description of each command, see
“Predefined Take Action commands” section and the information for each individual command.
All Take Actions for this monitoring agent can optionally use an explicit user ID and password when
connecting to the MS SQL Server. If you specify a blank user ID and password, the "Log on as" Windows
user ID and password credentials of the Microsoft SQL Server agent are used and the connection to the
server is established using Windows authentication. Table 9 describes possible combinations for specifying
the user ID and password.
Table 9. User ID and password combinations
User ID Password Outcome
A given string A given string Both strings are used for user ID and password when connecting to
the server.
A given string Blank (use double The user ID string and blank password are used when connecting
quotation marks ) to the server.
Blank (use double A given string The windows authentication information associated with the agent
quotation marks ) process (service) is used when connecting to the server.
Blank (use double Blank (use double The windows authentication information associated with the agent
quotation marks ) quotation marks ) process (service) is used when connecting to the server.
Note: For information about specifying the SQL Server login ID, see the "User ID and
password combinations" table in the "Take Action commands reference" chapter of the
IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
SQL Server Password (sql_server_password)
Note: For information about specifying the SQL Server login password, see see the "User
ID and password combinations" table in the "Take Action commands reference" chapter of
the IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
Destination system
Managed system
Usage notes
Not applicable
Note: The available backup options vary by version of Microsoft SQL Server.
v Checks the readability of the backup after it is complete. Verification consists of reading header
information to ensure that the backup set is complete and all volumes are readable. Data structure in
the backup volume is not verified.
v Writes some statistics on the backup procedure along with the header information on the backup
device to a log file.
Authorization role
Microsoft SQL Server permissions are sysadmin, db_owner, or db_backupoperator.
Arguments
See the Microsoft SQL Server documentation for more detailed information about the arguments,
including which options are required and formatting.
SQL Server Name (sql_server_name)
SQL Server instance name
Note: The Dump Database take action does not work if you specify physical backup
device name for this parameter.
Backup Options (backup_options)
A comma-separated list of options. For all options that take an argument, use either a
Microsoft SQL Server variable or literal text. You can use the following options:
BLOCKSIZE=number
Sets the block size to use when writing the backup. When writing to disk or tape,
the size is set automatically unless overridden. When writing to PIPE, the default
size is 65,536 unless overridden.
DESCRIPTION='text'
Specifies a description for the backup set. The maximum length is 255 characters.
The default value is a blank.
DIFFERENTIAL
Specifies a differential backup rather than a full backup. The default value is a
full backup.
EXPIREDATE=date or RETAINDAYS=number
Specifies when the backup file can be overwritten. Only one of the following
options may be used:
v EXPIREDATE specifies the expiration date.
v RETAINDAYS specifies how many days to retain the backup.
FORMAT or NOFORMAT
Writes the media header on all volumes used for the backup and rewrites the
backup device. An existing media header is overwritten, and all media contents
are invalidated. Any existing password is ignored.
Use this option on complete backup sets only. Using it on a single tape that
belongs to an existing striped backup set makes the entire backup set useless.
Using FORMAT implicitly sets INIT and SKIP. They do not have to be specified
separately.
INIT or NOINIT
INIT means the backup overwrites any previous backup on the backup device.
The media header is preserved. NOINIT means the backup is appended to the
previous backup, if any. The default value is NOINIT.
The backup does not overwrite if it encounters any of the following conditions:
v The media contains unexpired backup sets. You can specify SKIP to override
this condition.
v An explicitly given backup set name does not match the name on the backup
media. You can specify SKIP to override this condition.
v The backup media is password-protected.
v The backup media is encrypted.
MEDIADESCRIPTION= 'text'
Specifies a description for the media set. The maximum length is 128 characters.
The default value is BLANK.
Note: For information about specifying the SQL Server login ID, see the "User ID and
password combinations" table in the "Take Action commands reference" chapter of the
IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
SQL Server Password (sql_server_password)
Note: For information about specifying the SQL Server login password, see the "User ID
and password combinations" table in the "Take Action commands reference" chapter of
the IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
Destination system
Managed system
Usage notes
When using this Take Action, consider the following information:
v To do backups to remote machines, this monitoring agent must have rights on the remote
machine and cannot be running under the local system account.
v Because the Take Action could fail and return a warning, do not make master backups to
striped devices.
Note: The Dump Transaction Log take action does not work if you specify physical
backup device name for this parameter.
Backup Options (backup_options)
A comma-separated list of options. For all options that take an argument, use either a
Microsoft SQL Server variable or literal text. You can use the following options:
BLOCKSIZE=number
Sets the block size to use when writing the backup. When writing to disk or tape,
the size is set automatically unless overridden. When writing to PIPE, the default
size is 65,536 unless overridden.
DESCRIPTION='text'
Specifies a description for the backup set. The maximum length is 255 characters.
The default value is a blank.
DIFFERENTIAL
Specifies a differential backup rather than a full backup. The default value is a
full backup.
Note: The dump option names should be passed literally as strings when issuing this
Take Action.
Use one of the following valid choices:
v backup backs up the transaction log, but does not truncate it.
v BackupAndTruncate backs up the transaction log and truncates it. Truncating the log
clears it of all non-active transactions. Use this option only when the transaction log
and the data are on separate device fragments.
v Truncate truncates the transaction log, but does not back it up. This operation is
logged.
v TruncateNoLog, which is used when log is full, truncates the transaction log, but does
not back it up. It is the only choice when the log is full. This operation is not logged.
Use Last Backup Device (use_last_backup_device)
You can use the same backup device that you used the last time you backed up the
database. Specify 1 for this argument if you want to use the previous backup device. If
you specify 0, you must provide the name of the backup device, and the integrity of the
database is not validated.
SQL Server ID (sql_server_id)
Note: For information about specifying the SQL Server login ID, see the "User ID and
password combinations" table in the "Take Action commands reference" chapter of the
IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
SQL Server Password (sql_server_password)
Note: For information about specifying the SQL Server login password, see the "User ID
and password combinations" table in the "Take Action commands reference" chapter of
the IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
Destination system
Managed system
Usage notes
When using this Take Action, observe the following information:
v If the media fails, specify backup so that the transaction log can be dumped even if the
database is inaccessible. The backup option provides up-to-the-minute media recovery when
the master database and the log portion of the user database reside on undamaged database
devices and when only the data portion of the user database is damaged. Specify the backup
option to back up the master database log on its own.
v The “Dump Database action” on page 241 backs up both the data and the log. The Dump
Transaction Take Action backs up only the transaction log and not the data. When you dump a
database, you are doing a database backup. When you dump a transaction log, you could be
backing it up, truncating it, or both.
Note: For information about specifying the SQL Server login ID, see the "User ID and
password combinations" table in the "Take Action commands reference" chapter of the
IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
SQL Server Password (sql_server_password)
Note: For information about specifying the SQL Server login password, see the "User ID
and password combinations" table in the "Take Action commands reference" chapter of
the IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
Table 10 shows how entries in the Table Name and Index Name arguments determine which
indexes and tables are updated.
Table 10. Index and table updates
Table Name Table Exists Index Name Index Exists Outcome
Entered Y Entered Y Updates the specified index on the specified
table.
Entered Y Entered N Error. Specified index does not exist.
Entered Y Blank (use - Updates all indexes on the specified table.
double
quotation
marks “”)
Entered N Entered Y Error. Specified index does not exist.
Entered N Entered N Error. Specified index does not exist.
Destination system
Managed system
Usage notes
You can improve table fragmentation only if the table has a clustered index that can be rebuilt.
Table data is directly related to the clustered index because it is the leaf level of the index. The
Take Action first checks the clustered index (INDID = 1).
Rebuilding the clustered index reorders the data pages and causes all other indexes to be rebuilt.
If a table has no clustered index or the clustered index is not fragmented (non-clustered index
fragmentation), you might still want to run this Take Action. It checks the non-clustered indexes
for fragmentation, which the Take Action automatically rebuilds on an individual basis if
necessary. Non-clustered indexes have an INDID > 1.
Note: For information about specifying the SQL Server login password, see the "User ID
and password combinations" table in the "Take Action commands reference" chapter of
the IBM Tivoli Monitoring for Microsoft Applications: Microsoft SQL Server User's Guide.
Table 11 shows how entries in the Table Name and Index Name arguments determine which
indexes and tables are updated.
Table 11. Index and table updates
Table Name Table Exists Index Name Index Exists Outcome
Entered Y Entered Y Updates the specified index on the specified
table.
Entered Y Entered N Error. Specified index does not exist.
Entered Y Blank (use - Updates all indexes on the specified table.
double
quotation
marks "")
Entered N Entered Y Error. Specified index does not exist.
Entered N Entered N Error. Specified index does not exist.
Entered N Blank (use - Error. Specified index does not exist.
double
quotation
marks “”)
Blank (use - Entered Y Updates all indexes on the specified table.
double
quotation
marks “”)
Blank (use - Entered N Error. Specified index does not exist.
double
quotation
marks “”)
Blank (use - Blank (use - Updates all indexes.
double double
quotation quotation
marks “”) marks “”)
Destination system
Managed system
Usage notes
This Take Action is limited by the sp_recompile stored procedure. For example, you cannot use
sp_recompile with system tables. If you must have stored procedures based solely on system
tables that were dropped and recreated, use the “Database Check-up and Tune-up action” on
page 240. If you update a single index on a table, all stored procedures based on that table are
recompiled.
A policy is a set of automated system processes that can perform actions, schedule work for users, or
automate manual tasks. You use the Workflow Editor to design policies. You control the order in which
the policy executes a series of automated steps, which are also called activities. Policies are connected to
create a workflow. After an activity is completed, Tivoli Enterprise Portal receives return code feedback
and advanced automation logic responds with subsequent activities prescribed by the feedback.
Note: The predefined policies provided with this monitoring agent are not read-only. Do not edit these
policies and save over them. Software updates will write over any of the changes that you make to these
policies. Instead, clone the policies that you want to change to suit your enterprise.
For more information about working with policies, see the IBM Tivoli Monitoring User's Guide.
For information about using the Workflow Editor, see the IBM Tivoli Monitoring Administrator's Guide or
the Tivoli Enterprise Portal online help.
For a list of the policies for this monitoring agent and a description of each policy, see Predefined policies
section and the information for each individual policy.
Predefined policies
You can create policies for any agent. The Microsoft SQL Server agent provides one predefined policy.
Policy descriptions
The policy descriptions provide information about the actions that you can take when situations are
triggered in your network.
MS_SQL_DB_free_space_critical
This policy provides actions to take on low free space on the MS SQL server. This policy is triggered by
the MS_SQL_DB_Freespace_Critical situation. When triggered, the workflow requires that you select one
of the following actions:
v Run the koqignor command.
v Run the koqmail command as follows:
Where:
database user id
Connection user ID
password
Password as a sysadmin authority
email id
Email address of the database administrator
IBM Tivoli Monitoring for Microsoft Applications V6.3 reports are historical reports that include
summarized data that is collected in the Tivoli Data Warehouse. These reports are built to run only
against the IBM Tivoli Monitoring for Microsoft SQL Server agent V6.3.
The reports can be administered and run on Tivoli Common Reporting V1.3, V2.1, and V2.1.1, Fix Pack 6.
For more information about Tivoli Common Reporting, see the developerWorks® website
(http://www.ibm.com/developerworks/spaces/tcr).
This version of Tivoli Common Reporting includes Cognos Business Intelligence and Reporting V8.4.
You can use the Cognos reports to analyze resource information such as availability, utilization,
performance, and so on. With Cognos reports, you can evaluate the key metrics of the computers that are
on the managed environment of your organization.
Prerequisites
Before you run the Cognos-based reports, ensure that the prerequisites that are required for installing and
running Tivoli Common Reporting packages are met.
Procedure
1. Install Tivoli Common Reporting. For more information, see the documentation in the IBM Tivoli
Common Reporting Information Center (http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/
topic/com.ibm.tivoli.tcr.doc_211/ic-home.html).
Note: Historical collection and daily and hourly summarization must be enabled for all attribute
groups of Microsoft SQL Server agent V6.3.
To ensure that the required views are present, run the following query against the Tivoli Data
Warehouse:
v DB2: Select distinct "VIEWNAME" from SYSCAT.VIEWS where "VIEWNAME" like ’ %V’
v Oracle: Select distinct "OBJECT_NAME" from OBJ where "OBJECT_TYPE" like ’%V’
v MS SQL Server: Select distinct "NAME" from SYS.OBJECTS where "TYPE_DESC" like ’%V’
6. Prepare the Tivoli Data Warehouse to support Cognos dimensions.
Preparing the Tivoli Data Warehouse for Tivoli Common Reporting includes creating the IBM_TRAM
dimensions, which are required for running the Cognos reports and using the data models.
See "Creating shared dimension tables and populating the time dimensions table" in the IBM Tivoli
Monitoring Administrator's Guide at the IBM Tivoli Monitoring V6.2.3, Fix Pack 1 Information Center
(http://pic.dhe.ibm.com/infocenter/tivihelp/v15r1/topic/com.ibm.itm.doc_6.2.3fp1/adminuse/
tcr_reports_dimensionsshared.htm).
7. Connect to the Tivoli Data Warehouse by using the database client over Open Database Connectivity
(ODBC).
Cognos uses ODBC to connect to the database. Install a database client on the Tivoli Common
Reporting Server and connect it to the Tivoli Data Warehouse.
See "Connecting to the Tivoli Data Warehouse using the database client over ODBC" in the IBM Tivoli
Monitoring Administrator's Guide at the IBM Tivoli Monitoring V6.2.3, Fix Pack 1 Information Center
(http://pic.dhe.ibm.com/infocenter/tivihelp/v15r1/topic/com.ibm.itm.doc_6.2.3fp1/adminuse/
tcr_tdwconnect.htm).
Important: All prerequisites described here must be met or the reports cannot run.
For Tivoli Common Reporting V1.3, use one of the following options to import the Cognos report
package:
v Importing by running the reports installer – For information about running the reports installer to
import the Cognos report package, see "Installing and running IBM Cognos reports" in the IBM Tivoli
Monitoring Administrator's Guide at the IBM Tivoli Monitoring V6.2.2, Fix Pack 2 Information Center
(http://pic.dhe.ibm.com/infocenter/tivihelp/v15r1/topic/com.ibm.itm.doc_6.2.2fp2/
tcr_install_itm.htm).
v Importing manually – For information about manually importing the reports package, see “Importing
report packages” at the IBM Tivoli Systems Management Information Center (http://pic.dhe.ibm.com/
infocenter/tivihelp/v3r1/topic/com.ibm.tivoli.tcr_cog.doc/ttcr_cog_import.html).
For Tivoli Common Reporting V2.1, or later, see "Importing report packages" at the Tivoli Common
Reporting Information Center (http://pic.dhe.ibm.com/infocenter/tivihelp/v3r1/topic/
com.ibm.tivoli.tcr.doc_211/ttcr_import.html).
If you are using a schema other than ITMUSER, you must complete the following steps for the data
model and reports to run:
1. Verify that you have completed the following steps:
a. Altered the schema name in the database scripts when you prepared the Tivoli Data Warehouse
for Cognos dimensions in Step 6 on page 256 of “Prerequisites” on page 255.
b. Installed the reports package by using the Reports installer as explained in "Importing reports by
using the report installer" topic in the IBM Tivoli Monitoring Administrator's Guide. To verify that
you have installed the reports package, go to Tivoli Common Reporting and make sure you can
see "ITCAMMA SQLServer V630 Cognos Reports" in the Public Folders of IBM Cognos
Connection.
2. Install and configure the Cognos Framework Manager, which is the data modeling tool. See the
instructions at the Tivoli Common Reporting Information Center (http://pic.dhe.ibm.com/
infocenter/tivihelp/v3r1/topic/com.ibm.tivoli.tcr.doc_211/ttcr_import.html).
3. Open the Framework Manager. Select File > Open. Browse to the extracted ITCAMMA SQLServer
V630 Cognos Reports reports package. Browse to the model folder and select the ITCAMMA SQLServer
V630 Cognos Reports.cpf file.
4. If you are prompted to enter login credentials, enter your tipadmin user ID and password.
5. After the IBM Tivoli Monitoring for SQL Servers data model in the Framework Manager opens,
expand Data Sources under Tivoli Reporting and Analytics Model in the Project Viewer.
6. Select TDW under Data Sources.
7. When you select TDW, the Properties view is updated with information about the Tivoli Data
Warehouse data source. By default, the Properties view is located at the bottom center of the screen.
If the Properties view is not visible, select View > Properties.
8. In the Properties, edit the Schema field. Change it from ITMUSER to your schema name.
9. Save the project.
10. In the Project Viewer, expand Packages.
11. Right-click ITCAMMA SQLServer V630 Cognos Reports.
12. Select Publish Packages. The Publish Wizard opens.
13. Keep the default selection and click Next.
14. Click Next on the next screen.
In Tivoli Common Reporting, the historical data that is collected by the agent is used to build ad hoc
reports and queries. The package that you import into Tivoli Common Reporting contains a Cognos data
model. All the reports that you create in Tivoli Common Reporting are based on the data model.
Cognos data models are virtual star schema models that contain facts and dimensions. Facts are
measurable quantities that can be aggregated, such as CPU utilization and number of processors.
Dimensions are the main identifiers by which facts can be grouped, aggregated, and organized. For
example, time and server are dimensions by which the fact CPU utilization can be grouped.
The facts in the data model are organized into the folders by their summarization type, such as Daily and
Hourly. The Daily and the Hourly folders contain attribute groups that correspond to tables or views in
the data warehouse. Each attribute group contains a group of facts and measures.
The data model is built on top of the data warehouse to organize data. The data model contains the
Tivoli Reporting and Analytics Model (TRAM) Shared Dimensions, which are shared across Tivoli by
products such as Time.
To create reports in Tivoli Common Reporting tool, you can use one of the following report authoring
tools:
v Query Studio: A web-based product that is used mostly for ad hoc reporting. Users can create simple
queries and reports, and apply basic formatting to the reports.
v Report Studio: A web-based tool that is used by technical users and professional report writers for
creating advanced reports. Users can retrieve data from multiple databases and create sophisticated
reports that have multiple pages and multiple queries.
You can verify whether the reporting functionality is installed and configured correctly by running the
reports for the Microsoft SQL Server agent. The Microsoft SQL Server agent reporting package that you
imported into Tivoli Common Reporting includes 10 reports. By using these reports, you can monitor the
reporting activity and see what a typical Cognos report includes. These reports are available in the
Common Reporting panel in Tivoli Common Reporting. The following tables describe these reports.
Table 13. Top Processes by CPU report
Name Top Processes by CPU report
Description This report displays the relative percentage of the CPU that is used by the selected server
processes compared to other server processes and the percentage of processes that are being
blocked.
Tables/Views v MS_SQL_Process_Detail_%V
Used
v MS_SQL_Process_Summary_%V
Output The Top Processes by Current CPU % Used chart displays the current percentage of CPU that is
used for different processes on a selected server.
Note: You can change the number of processes to display to any positive integer. However, the
default value is 5.
The Processes Blocked % chart displays the percentage of processes that are blocked on a server
for a selected period.
Usage The administrators can use this report to observe the relative percentage of the CPU that is
used and the percentage of processes that are blocked.
The AVG Transactions Per Sec chart displays the number of transactions per second for selected
databases on a server.
The Number of Active Transactions chart displays the maximum number of active transactions
for the selected databases on a server.
The Database Details table that follows the preceding charts, displays the same information
Usage The IT administrator can use this report to observe hindrance in the replication Reports 19
process, transactions started per second in the current interval, and the number of active
transactions for the database.
The Total Number of Blocking Lock Requests line chart displays the number of lock requests
that block the other processes over a period of time.
Usage The IT administrators can use this report to observe the total wait time for locks in the last
second and the number of locks that block the other processes over a period of time.
The Average Database Free Space % Per Hour Over a Period of Time chart displays the
percentage of the used space (in megabytes) of the selected database over a period of time.
The Average Log Free Space % Per Hour Over a Period of Time chart displays the percentage of
the used space of the selected database log over a period of time.
Usage The IT administrators can use this report to observer the used space for data and used space for
log, for a selected database.
The Minimum Log Free Space % per hour over a period of time chart displays the minimum
percentage of log free space that is allocated to a database transaction log for a selected server.
Usage The IT administrator can use this report to observe the free space in a database and in a log.
The Average Total CPU % Used Per Hour by All Processes over a period of time chart displays
the total percentage of the CPU time that is utilized by the operating system.
Usage The IT administrator can use this report to compare the relative CPU percentage used by the
processes.
The Average Processes Blocked (%) per hour over a period of time chart displays the percentage
of processes that are blocked for a selected period.
Usage The IT administrator can use this report to compare the number of blocked processes with the
number of total processes that are present.
The Average Total Wait Time in Last Sec line chart displays total wait time (in milliseconds) for
locks in the last second for the selected server.
The table following the chart displays bar charts for average blocking requests and maximum
lock wait time. Click the server name in the table to drill down to the Wait Time and Requests
of Locks report.
Usage The IT administrator can use this report to observe the number of new locks and lock
conversions, and the number of timed out lock requests. The total wait time (in milliseconds) for
locks to release in the last second and the number of blocking locks indicate that the processes
are held up because of lock contention. Click the server name in the table to drill down to the
Wait Time and Requests of Locks report.
Note: You can resolve some problems by ensuring that your system matches the system requirements
listed in the Prerequisites topic for the agent in the information center.
This chapter provides agent-specific troubleshooting information. See the IBM Tivoli Monitoring
Troubleshooting Guide for general troubleshooting information. Also see “Support information” on page
307 for other problem-solving options.
Trace data captures transient information about the current operating environment when a component or
application fails to operate as designed. IBM Software Support personnel use the captured trace
information to determine the source of an error or unexpected condition. See “Trace logging” on page 270
for more information.
This chapter provides symptom descriptions and detailed workarounds for these problems, as well as
describing the logging capabilities of the monitoring agent. See the IBM Tivoli Monitoring Troubleshooting
Guide for general troubleshooting information.
Trace logging
Trace logs capture information about the operating environment when component software fails to
operate as intended. The principal log type is the RAS (Reliability, Availability, and Serviceability) trace
log. These logs are in the English language only. The RAS trace log mechanism is available for all
components of IBM Tivoli Monitoring. Most logs are located in a logs subdirectory on the host computer.
See the following sections to learn how to configure and use trace logging:
v “Principal trace log files” on page 271
v “Viewing trace logs” on page 274
v “Enabling detailed tracing in the collector trace log” on page 274
v “RAS trace parameters” on page 275
Note: The documentation refers to the RAS facility in IBM Tivoli Monitoring as "RAS1".
IBM Software Support uses the information captured by trace logging to trace a problem to its source or
to determine why an error occurred. The default configuration for trace logging, such as whether trace
logging is enabled or disabled and trace level, depends on the source of the trace logging. Trace logging
is always enabled.
where:
v hostname is the host name of the computer on which the monitoring component is running.
v product is the two-character product code. For Microsoft SQL Server agent, the product code is oq.
v instance is the name of a database instance that is being monitored.
v program is the name of the program being run.
v timestamp is an 8-character hexadecimal timestamp representing the time at which the program started.
v nn is a rolling log suffix. See “Examples of trace logging” for details of log rolling.
As the program runs, the first log (nn=01) is preserved because it contains program startup information.
The remaining logs roll. In other words, when the set of numbered logs reach a maximum size, the
remaining logs are overwritten in sequence. Each time a program is started, a new timestamp is assigned
to maintain a short program history. For example, if the Microsoft SQL Server agent is started twice, it
might have log files as follows:
server01_oq_dbinst02_koqagent_437fc59-01.log
server01_oq_dbinst02_koqagent_437fc59-02.log
server01_oq_dbinst02_koqagent_437fc59-03.log
server01_oq_dbinst02_koqagent_537fc59-01.log
server01_oq_dbinst02_koqagent_537fc59-02.log
server01_oq_dbinst02_koqagent_537fc59-03.log
Each program that is started has its own log file. For example, the Microsoft SQL Server agent would
have agent logs in this format:
server01_oq_dbinst02_koqagent_437fc59-01.log
Other logs, such as logs for collector processes and Take Action commands, have a similar syntax, as in
the following example:
server01_oq_dbinst02_koqsql_447fc59-01.log
Note: When you communicate with IBM Software Support, you must capture and send the RAS1 log
that matches any problem occurrence that you report.
The agent trace log file is named An agent trace log file is produced by
hostname_oq_instance_agt.out. The file is located in Microsoft SQL Server agent. New log
the install_dir\tmaitm6\logs path. files are created each time the agent is
started. One backup copy, renamed from
*.out to *.ou1, is kept for historical
purposes.
The *.LG0 file is located in the install_dir\tmaitm6\
logs path. A new version of this file is generated
every time the agent is restarted. IBM
Tivoli Monitoring generates one backup
copy of the *.LG0 file with the tag .LG1.
View .LG0 to learn the following details
regarding the current monitoring
session:
v Status of connectivity with the
monitoring server.
v Situations that were running.
v The success or failure status of Take
Action commands.
Typically IBM Software Support applies specialized knowledge to analyze trace logs to determine the
source of problems. However, you can open trace logs in a text editor to learn some basic facts about
your IBM Tivoli Monitoring environment. Use a text editor that is enabled for UTF-8, such as Notepad.
On Windows, you can use the following alternate method to view trace logs:
Procedure
1. In the Windows Start menu, choose Program Files > IBM Tivoli Monitoring > Manage Tivoli
Monitoring Service. The Manage Tivoli Enterprise Monitoring Services window is displayed.
2. Right-click a component and select Advanced > View Trace Log in the pop-up menu. The program
displays the Select Log File window that lists the RAS1 logs for the monitoring agent.
3. Select a log file from the list and click OK. You can also use this viewer to access remote logs.
Note: The viewer converts time stamps in the logs to a readable format.
Procedure
Complete the following steps to enable detailed logging for the collector trace log:
1. Open the koqtrac.ctl file. The file is located in the following path: install_dir\tmaitm6, where
install_dir is the location of the IBM Tivoli Monitoring component.
2. Remove the two semicolons (;;) from the beginning of the line that contains trace_all;.
3. Save the file.
4. Restart the monitoring agent for the database instance that you want to trace. Logging goes to a
collector trace log file that is named in Table 24 on page 272. The log file is stored in the following
path: install_dir\tmaitm6\logs where install_dir is the path where you installed IBM Tivoli
Monitoring.
5. When you complete an analysis of detailed trace logs, turn off detailed logging as follows, because
trace logs can consume a large amount hard disk space.
a. Open the koqtrac.ctl file mentioned in Step 1.
b. Type two semicolons (;;) at the beginning of the line that contains trace_all;.
c. Save the file.
d. Restart the monitoring agent for the database instance that you have been tracing.
You can modify trace logging for the collector log by setting the following environment variables:
COLL_WRAPLINES
By default, new collector log files are created each time you start the agent or when the log file
reaches the limit specified by the COLL_WRAPLINES environment variable. COLL_WRAPLINES defines
the number of lines in the col.out file and is 90000 lines by default (about 2 MB).
COLL_NUMOUTBAK
By default, the product creates one backup copy of the collector log file. The file tag is changed
from *.out to *.ou1. You can configure the product to create up to nine backup files by defining
COLL_NUMOUTBAK to be an integer from one to nine. By default, the number of backup files is 5.
Procedure
1. In the Windows Start menu, choose Program Files > IBM Tivoli Monitoring > Manage Tivoli
Monitoring Service. The Manage Tivoli Enterprise Monitoring Services window is displayed.
2. Right-click the row that contains the name of the monitoring agent whose environment variables you
want to set.
3. Select Advanced > Edit Variables in the pop-up menu.
4. If the agent is running, accept the prompt to stop the agent. A restart is necessary so that the
environment variable that you create takes effect.
5. The list dialog is displayed. When only the default settings are in effect, there are no variables
displayed. The variables are listed after you override them.
6. Override the variable settings as follows:
a. Click Add.
b. Select the variable you want to modify in the Variable pull-down menu. For example, select
COLL_NUMOUTBAK.
c. Type a value in the Value field. For example, type the number 9, the maximum number of backup
files that can be generated.
d. Select OK two times.
e. Restart the agent.
See“Overview of log file management” on page 270 to ensure that you understand log rolling and can
reference the correct log files when you manage log file generation.
The IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft SQL Server Agent
uses RAS1 tracing and generates the logs described in “Principal trace log files” on page 271. The default
RAS1 trace level is ERROR.
Note: As this example shows, you can set multiple RAS tracing options in a single statement.
4. Modify the value for Maximum Log Size Per File (MB) to change the log file size (changes LIMIT
value).
5. Modify the value for Maximum Number of Log Files Per Session to change the number of log files
per startup of a program (changes COUNT value).
6. Modify the value for Maximum Number of Log Files Total to change the number of log files for all
startups of a program (changes MAXFILES value).
7. Optional: Click Y (Yes) in the KDC_DEBUG Setting menu to log information that can help you
diagnose communications and connectivity problems between the monitoring agent and the
monitoring server. The KDC_DEBUG setting and the Maximum error tracing setting can generate a large
amount of trace logging. Use these settings only temporarily, while you are troubleshooting problems.
Otherwise, the logs can occupy excessive amounts of hard disk space.
8. Click OK. You see a message reporting a restart of the monitoring agent so that your changes take
effect.
What to do next
Monitor the size of the logs directory. Default behavior can generate a total of 45 - 60 MB for each agent
that is running on a computer. For example, each database instance that you monitor can generate 45 - 60
MB of log data. See the "Procedure" section to learn how to adjust file size and numbers of log files to
prevent logging activity from occupying too much disk space.
Regularly prune log files other than the RAS1 log files in the logs directory. Unlike the RAS1 log files
that are pruned automatically, other log types can grow indefinitely.
Note: The KDC_DEBUG setting and the Maximum error tracing setting can generate a large amount of trace
logging. Use these settings only temporarily while you are troubleshooting problems. Otherwise, the logs
can occupy excessive amounts of hard disk space.
The Microsoft SQL Server agent uses RAS1 tracing and generates the logs described in “Principal trace
log files” on page 271. The default RAS1 trace level is ERROR.
Procedure
1. Open the trace options file:
v Windows systems:
What to do next
Monitor the size of the logs directory. Default behavior can generate a total of 45 - 60 MB for each agent
that is running on a computer. For example, each database instance that you monitor can generate 45 - 60
MB of log data. See the "Procedure" section to learn how to adjust file size and numbers of log files to
prevent logging activity from occupying too much disk space.
Regularly prune log files other than the RAS1 log files in the logs directory. Unlike the RAS1 log files
that are pruned automatically, other log types can grow indefinitely.
Note: The KDC_DEBUG setting and the Maximum error tracing setting can generate a large amount of trace
logging. Use these settings only temporarily while you are troubleshooting problems. Otherwise, the logs
can occupy excessive amounts of hard disk space.
Note: You can resolve some problems by ensuring that your system matches the system requirements
listed in the Prerequisites topic for the agent in the information center for IBM Tivoli Composite
Application Manager for Microsoft Applications.
This chapter provides agent-specific troubleshooting information. See the IBM Tivoli Monitoring
Troubleshooting Guide for general troubleshooting information.
Table 26. Problems and solutions for installation and configuration of the Microsoft SQL Server agent
Problem Solution
The procedure for launching the This problem happens when the KOQENV file is missing. If the KOQENV file
Microsoft SQL Server agent Trace is missing from the install_dir\tmaitm6 directory, the Microsoft SQL
Parameters window in “RAS trace Server agent must be reinstalled.
parameters” on page 275 fails because no
trace settings are available in the Enter
RAS1 Filters field.
Review the information in “Trace logging” on page 270 to ensure that
Collector trace logs are not receiving you are consulting the correct log file. The file is located in the following
error information. path: install_dir\tmaitm6, where install_dir is the location of IBM Tivoli
Monitoring.
After running the agent successfully, you
reinstall the agent software, and Consult the list of supported versions in the configuration chapter of the
collection of monitoring data stops. agent user's guide for SQL Server. Confirm that you are running a valid
version of the target application. If you are monitoring a supported
version of the database application, gather log files and other
information and contact IBM Software Support, as described in
“Gathering product information for IBM Software Support” on page 269.
Alert summary report of Tivoli
Enterprise Portal shows no information. Ensure that the configuration setting of agent's error log file defines a
valid path. Confirm that the error log file is correct. If the error log file is
correct, the problem can occur because the logon account that you are
using does not have sufficient permissions in the IBM Tivoli Monitoring
environment. For details see Chapter 2, “Agent installation and
configuration,” on page 15.
Error counts are displayed in the Alert
summary report in the Tivoli Enterprise Check the time stamp for the reports. If you have set up historical data
Portal, however, error messages are not collection for Alert summary report, it is recommended that you set up
displayed in the Alert detail report. historical data collection for the Alert detail report, too.
When installing the SQL Server agent You can continue using the SQL Server agent despite this error. However,
support file for the Tivoli Enterprise the Enterprise Database Mirroring data collection is affected.
Monitoring Server, you see the following
error message:
RC=350
The length of the name that IBM Tivoli Monitoring generates is limited
to 32 characters. Truncation can result in multiple components having the
same 32-character name. If this problem happens, shorten the
subsystem_name portion of the name as described in the steps as below:
v On Windows:
Note: This procedure involves editing the Windows Registry. An error
in editing the Registry may cause other system errors. It is best
practice to make a backup copy of the Registry prior to modifying the
Registry. If you do not feel comfortable editing the Registry, contact
IBM Software Support.
1. Run the Registry editor, regedit. Select Start > Run. Type regedit
in the field and click OK.
2. Locate the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Candle\KOQ\610\instance_name
If you also want to uninstall the monitoring agent, use the procedure
described in the IBM Tivoli Monitoring Installation and Setup Guide.
Attempting a remote uninstallation of the The agent is uninstalled and no other known errors are associated with
Microsoft SQL Server agent through the this problem at this time.
Tivoli Enterprise Portal client triggers a
timeout error that does not correctly
identify the managed system where the
timeout is said to have occurred. The
error text does not display another
managed system; instead it displays
incorrect text in place of the managed
system name. However, the agent does
appear to be uninstalled. The error
message returned is KFWITM290E.
You have installed Tivoli Enterprise Remove the SQL Server agent instances from the Manage Tivoli
Monitoring Agent Framework V6.2.2, Fix Enterprise Monitoring Service window manually.
Pack 2 on a managed system. If you
uninstall the SQL Server agent by using
the Modify option in the Add or
Remove Programs window, the entry for
the SQL Server agent is not removed
from the Manage Tivoli Enterprise
Monitoring Service window.
This chapter provides agent-specific troubleshooting information. See the IBM Tivoli Monitoring
Troubleshooting Guide for general troubleshooting information.
Table 29. General agent problems and solutions
Problem Solution
The system experiences high CPU usage View the memory usage of the KOQCMA process. If CPU usage seems to
after you install or configure Microsoft be excessive, recycle the monitoring agent.
SQL Server agent.
A monitoring agent seems to be offline. 1. Allow several minutes to pass whenever you restart the Tivoli
Enterprise Portal Server. A monitoring agent will seem to be down
while the portal server is restarting.
2. Select Physical View and highlight the Enterprise Level of the
navigator tree.
3. Select View > Workspace > Managed System Status to see a list of
managed systems and their status.
4. If a system is offline, check network connectivity and status of the
specific system or application.
Some TEC events from the Microsoft Solution This problem can be caused by a wrong data type, as shown in
SQL Server agent have PARSING_FAILED the following wtdumprl output:
status in wtdumprl output of TEC 1~14560~1~1158832838(??? 21 14:00:38 2006)
server. ### EVENT ###
ITM_MS_SQL_Process_Summary;source=’ITM’;sub_source=’TW06210:
TW06210:MSS’;cms_hostname=’tps06072.tw.twnet’;cms_port=’3661
’;integration_type=’U’;master_reset_flag=’’;appl_label=’’;si
tuation_name=’MS_SQL_ProcessOthSleep_Warning’;situation_orig
in=’TW06210:TW06210:MSS’;situation_time=’09/21/2006 \
14:00:37.000’;situation_status=’Y’;hostname=’TW06210’;origin
=’192.168.192.120’;adapter_host=’HUB_TPS06072’;severity=’WAR
NING’;date=’09/21/2006’;msg=’MS_SQL_ProcessOthSleep_Warning[
(Total_Other_Sleep>=2 AND Percent_Processes_Othersleep>=50.0
0 ) ON TW06210:TW06210:MSS (Total_Other_Sleep=46 Percent_ \
Processes_Othersleep=74.19)]’;situation_displayitem=
’’;current_interval=’193’;host_name=’TW06210’;hub_timestamp=
’1060921135139000’;originnode=’TW06210:TW06210:MSS’;percent_
processes_bad=’0.00’;percent_processes_blocked=’0.00’;percent
_processes_infected=’0.00’;percent_processes_locksleep=’0.00’
;percent_processes_othersleep=’74.19’;percent_processes_sleep
ing=’74.19’;percent_processes_stopped=’0.00’;sample_timestamp
=’1060921134858000’;server=’TW06210’;server_cpu_percent_appli
cation=’0.00’;server_cpu_percent_system=’0.00’;total_log_susp
end=’0’;total_other_sleep=’46’;total_processes=’62’;total_pro
cesses_bad=’0’;total_processes_blocked=’0’;total_processes_in
fected=’0’;total_processes_locksleep=’0’;total_processes_stop
ped=’0’;situation_eventdata=’~’;END
Use the odadmin environ command as follows to set en_US in the oserv
environment:
1. odadmin environ get > /tmp/env.out
2. Edit /tmp/env.out and set LANG=en_US
3. odadmin reexec all
"IP.PIPE" is the name given to Tivoli TCP/IP protocol for RPCs. The RPCs
are socket-based operations that use TCP/IP ports to form socket
addresses. IP.PIPE implements virtual sockets and multiplexes all virtual
socket traffic across a single physical TCP/IP port (visible from the
netstat command).
The Server Status attribute of the Server Ensure that the SQL Server is running. It might take a few minutes for
Summary or Server Detail attribute the agent to successfully connect to the SQL Server and return a Server
groups returns a value of Inactive or Status value of Active. If the SQL Server is running and the Collection
Unknown. Status value is still Inactive, then restart the SQL Server agent.
The Collection Status attribute of the Ensure that the SQL Server is running. If the SQL Server is running and
Server Summary attribute group returns the Collection Status value is still Inactive, then restart the SQL Server
a value of Inactive. agent.
When you create two SQL Server The space at the beginning of the database name is truncated by the
databases with the same name, but portal, making the two databases look identical.
precede one database name with a space
and the other database name without a Avoid spaces at the beginning of a database name.
space, the portal does not display data
properly.
Release the locks.
If the table level locking hint (Holdlock,
Tablock, and so on) is specified with the
SELECT, INSERT, UPDATE and DELETE
statements on multiple tables in an SQL
Server database, the portal does not
display data till the lock is released.
This is a limitation with the Windows 2008 environment.
The memory usage of data collector
service is high (approximately 150
megabytes) in the case of the SQL Server
agent that runs on the Windows Server
2008 operating system, whereas the
memory usage is about 50 megabytes in
a Windows 2003 environment.
If you restart the workstation where the This problem occurs when the SQL Server service is not started.
SQL Server agent is installed, the agent
service koqcoll.exe stops and the event If the agent is in the stopped state even though the agent workstation is
viewer displays the following error restarted, recycle the agent from the Manage Tivoli Enterprise Monitoring
message: Services window.
Faulting application koqcoll.exe,
version 0.0.0.0, faulting
module ntdll.dll, version
5.2.3790.4455, fault address
0x00000000.
None.
If a linked server is configured on the
SQL Server, the portal displays incorrect
data for the Network Name attribute of
the Remote Server attribute group.
For the English language, update koqErrConfig.ini the file to reflect the
following format:
[SQL_Latin1_General_CP1_CI_AS]
Error=Error:
Severity=Severity:
State=State:
Note: If you are using the 32-bit Microsoft SQL Server agent, the
koqErrConfig.ini file is saved in the candle_home\TMAITM6 directory. If
you are using the 64-bit SQL Server agent, the koqErrConfig.ini file is
saved in the candle_home\TMAITM6_x64 directory.
If the device type is FILESTREAM for There is no solution to this problem.
any database, the attributes in the MS
SQL Device Detail attribute group
display negative or incorrect values for
the database.
This section describes problems and solutions for remote deployment and removal of agent software
Agent Remote Deploy:
Table 30. Remote deployment problems and solutions
Problem Solution
Remote deployment fails because the process Increase the amount of time allowed for remote deployment,
exceeds the communication timeout. as described in the "Troubleshooting Tivoli Enterprise
Monitoring Agent problems" chapter of the IBM Tivoli
Monitoring Troubleshooting Guide.
You have one of following problems after you use Ensure that you have typed the correct values for the
the tacmd addSystem command to perform a remote parameters in the tacmd addSystem command. For example,
deployment: to run the command successfully, you must provide correct
v The Tivoli Enterprise Portal fails to display values for the following parameters:
workspaces for the monitoring agent. v the home directory of the database server
—OR— v the name of the Microsoft SQL Server that you want to
v You see the KDY1008E error message and a return monitor
code of 4. v the name of the Microsoft SQL Server instance that you
want to monitor
See Chapter 2, “Agent installation and configuration,” on
page 15 for more information on these parameters.
Workspace troubleshooting
Table 31 shows problems that might occur with workspaces. This chapter provides agent-specific
troubleshooting information. See the IBM Tivoli Monitoring Troubleshooting Guide for general
troubleshooting information.
Table 31. Workspace problems and solutions
Problem Solution
No data is displayed for the monitoring 1. Confirm that the computer that hosts the monitoring agent is
agent in the workspaces of the Tivoli communicating with the Tivoli Enterprise Monitoring Server.
Enterprise Portal.
2. Verify the Microsoft SQL Server configuration credentials that you
used during configuration of the monitoring agent. The credentials
must match the options listed in Chapter 2, “Agent installation and
configuration,” on page 15.
The SQL Server ID configured for use by the MS SQL agent requires
System Administrators SQL Server Role authorization to access the SQL
text data. If you want to display SQL test information, give System
Administrators authorization to the MS SQL agent's SQL Server user ID.
Refer to the Chapter 2, “Agent installation and configuration,” on page 15
section in this book.
The Microsoft SQL Server agent The absence of the target MS SQL Server performance counters causes
workspace views have empty data, and this problem. If these prerequisite counters are not installed and enabled,
there is no hostname_OQ_sql server the monitoring agent is not able to properly collect monitoring data for
instance name__regtitls.txt file in the the target MS SQL Server. When this happens, the RAS1 trace log contains
TMAITM6\logs subdirectory. the following error trace message: SQL Server Instance performance data
is not enabled!
Situation troubleshooting
This section provides information about both general situation problems and problems with the
configuration of situations. See the IBM Tivoli Monitoring Troubleshooting Guide for more information about
troubleshooting for situations.
Be aware that the Table Detail attribute group can consume significant
system resources because it gathers data from each table and index in
each database that you monitor.
A formula that uses mathematical This formula is incorrect because situation predicates support only logical
operators appears to be incorrect. For operators. Your formulas cannot have mathematical operators.
example, if you were monitoring Linux, Note: The Situation Editor provides alternatives to math operators.
a formula that calculates when Free Regarding the example, you can select % Memory Free attribute and
Memory falls under 10 percent of Total avoid the need for math operators.
Memory does not work: LT
#’Linux_VM_Stats.Total_Memory’ / 10
Situations that you create display the For a situation to have the correct severity in TEC for those situations
severity UNKNOWN in IBM Tivoli which are not mapped, you need to ensure that an entry exists in the
Enterprise Console. tecserver.txt file for the situation and that SEVERITY is specified.
This section provides information for troubleshooting for agents. Be sure to consult the IBM Tivoli
Monitoring Troubleshooting Guide for more general troubleshooting information.
Table 33. Problems with configuring situations that you solve in the Situation Editor
Problem Solution
Note: To get started with the solutions in this section, perform these steps:
1. Launch the Tivoli Enterprise Portal.
2. Click Edit > Situation Editor.
3. In the tree view, choose the agent whose situation you want to modify.
4. Choose the situation in the list. The Situation Editor view is displayed.
The situation for a specific agent is v Open the Situation Editor. Access the All managed servers view. If the
not visible in the Tivoli Enterprise situation is absent, confirm that application support for Microsoft SQL Server
Portal. agent has been added to the monitoring server. . If not, add application
support to the server, as described in the IBM Tivoli Monitoring Installation
and Setup Guide.
v Click the Action tab and check whether the situation has an automated
corrective action. This action can occur directly or through a policy. The
situation might be resolving so quickly that you do not see the event or the
update in the graphical user interface.
Incorrect predicates are present in In the Formula tab, analyze predicates as follows:
the formula that defines the 1. Click the fx icon in the upper-right corner of the Formula area. The Show
situation. For example, the formula window is displayed.
managed object shows a state that
a. Confirm the following details in the Formula area at the top of the
normally triggers a monitoring
window:
event, but the situation is not true
v The attributes that you intend to monitor are specified in the formula.
because the wrong attribute is
v The situations that you intend to monitor are specified in the formula.
specified in the formula.
v The logical operators in the formula match your monitoring goal.
v The numerical values in the formula match your monitoring goal.
b. (Optional) Click the Show detailed formula check box in the lower left
of the window to see the original names of attributes in the application
or operating system that you are monitoring.
c. Click OK to dismiss the Show formula window.
2. (Optional) In the Formula area of the Formula tab, temporarily assign
numerical values that will immediately trigger a monitoring event. The
triggering of the event confirms that other predicates in the formula are
valid.
Note: After you complete this test, you must restore the numerical values
to valid levels so that you do not generate excessive monitoring data based
on your temporary settings.
Table 34. Problems with configuration of situations that you solve in the Workspace area
Problem Solution
Situation events are not displayed Associate the situation with a navigator item.
in the Events Console view of the Note: The situation does not need to be displayed in the workspace. It is
workspace. sufficient that the situation be associated with any navigator item.
You do not have access to a Note: You must have administrator privileges to perform these steps.
situation. 1. Select Edit > Administer Users to access the Administer Users window.
2. In the Users area, select the user whose privileges you want to modify.
3. In the Permissions tab, Applications tab, and Navigator Views tab, select
the permissions or privileges that correspond to the user's role.
4. Click OK.
Table 35. Problems with configuration of situations that you solve in the Manage Tivoli Enterprise Monitoring Services
window
Problem Solution
After an attempt to restart the Check the system status and check the appropriate IBM Tivoli Monitoring logs.
agents in the Tivoli Enterprise
Portal, the agents are still not
running.
The Tivoli Enterprise Monitoring Check the system status and check the appropriate IBM Tivoli Monitoring logs.
Server is not running.
For information about troubleshooting for the Tivoli Common Reporting tool, see http://
publib.boulder.ibm.com/infocenter/tivihelp/v3r1/topic/com.ibm.tivoli.tcr.doc/tcr_welcome.html.
Table 37. Tivoli Common Reporting for Microsoft SQL Server agent problems and solutions
Problem Solution
When you simultaneously query two tables in the Query This problem occurs when a relationship between the
Studio interface, no data is displayed. However, when tables is not defined. To resolve this problem, ensure that
you query the two tables separately, data is displayed. all the ad hoc queries have at least one identifier.
When you create an ad hoc query by dragging some This is an SQL error related to arithmetic flow. This error
columns in the Query Studio interface, the following is generated because the average or the sum for certain
error message is displayed: columns is more than the threshold size that is defined
RQP-DEF-0177 An error occurred in the database. To resolve this error, use the limited
while performing columns and add a standard timestamp while creating
operation ’sqlPrepareWithOptions’ an ad hoc query.
status=’-232’.
If a view or a table for the selected summarization type To resolve this problem, complete the following tasks:
does not exist in the database for a report, the report v Verify that the summarization and pruning agent is
does not open and the following error message is working correctly.
displayed:
v Generate data for all the summarization types.
RQP-DEF-0177 An error occurred
while performing v Verify that the warehouse is collecting historical data.
operation ’sqlPrepareWithOptions’
status=’-232’.
IBM provides the following ways for you to obtain the support you need:
Online
The following websites contain troubleshooting information:
v Go to the IBM Software Support website (http://www.ibm.com/support/entry/portal/
software) and follow the instructions.
v Go to the Application Performance Management Wiki (http://www.ibm.com/developerworks/
servicemanagement/apm/index.html). Feel free to contribute to this wiki.
IBM Support Assistant
The IBM Support Assistant (ISA) is a free local software serviceability workbench that helps you
resolve questions and problems with IBM software products. The ISA provides quick access to
support-related information and serviceability tools for problem determination. To install the ISA
software, go to the IBM Support Assistant website (http://www.ibm.com/software/support/isa).
The Microsoft SQL Server agent made changes to the warehouse collection and summarization
characteristics for some agent attribute groups. These changes correct and improve the way warehouse
data is summarized, producing more meaningful historical reports. This appendix explains those changes
and the implications to your warehouse collection and reporting.
Warehouse summarization is controlled on a per-table basis. How the rows in each table are summarized
is determined by a set of attributes in each table that are designated as primary keys. There is always one
primary key representing the monitored resource, and data is minimally summarized based on this value.
For all agents, this primary key is represented internally by the column name, ORIGINNODE; however,
the external attribute name varies with each monitoring agent.
One or more additional primary keys are provided for each attribute group to further refine the level of
summarization for that attribute group. For example, in an OS agent disk attribute group, a primary key
might be specified for the logical disk name that allows historical information to be reported for each
logical disk in a computer.
These additional columns are provided only for attributes that are not primary keys. In the cases when
an existing attribute is changed to be a primary key, the Summarization and Pruning agent no longer
creates summarization values for the attributes, but the previously created column names remain in the
table with any values already provided for those columns. These columns cannot be deleted from the
warehouse database, but as new data is collected, these columns will not contain values. Similarly, when
the primary key for an existing attribute has its designation removed, that attribute has new
summarization columns automatically added. As new data is collected, it is used to populate these new
column values, but any existing summarization records do not have values for these new columns.
The overall effect of these primary key changes is that summarization information is changing. If these
changes result in the old summarization records no longer making sense, you can delete them. As a part
of warehouse upgrade, summary views are dropped. The views will be recreated by the Summarization
and Pruning agent the next time it runs. Dropping and recreating the views ensure that they reflect the
current table structure.
For the warehouse agents to automatically modify the warehouse table definitions, they must have
permission to alter warehouse tables. You might not have granted these agents these permissions,
choosing instead to manually define the raw tables and summary tables needed for the monitoring
agents. Or, you might have granted these permissions initially, and then revoked them after the tables
were created.
You have two options to effect the required warehouse table changes during the upgrade process:
v Grant the warehouse agents temporary permission to alter tables
If using this option, grant the permissions, start historical collection for all the desired tables, allow the
Warehouse Proxy agent to add the new data to the raw tables, and allow the Summarization and
Pruning agent to summarize data for all affected tables. Then, remove the permission to alter tables
EIF events specify an event class and the event data is specified as name value pairs that identify the
name of an event slot and the value for the slot. An event class can have subclasses. IBM Tivoli
Monitoring provides the base event class definitions and a set of base slots that are included in all
monitoring events. Agents extend the base event classes to define subclasses that include agent-specific
slots. For Microsoft SQL Server agent events, the event classes correspond to the agent attribute groups,
and the agent-specific slots correspond to the attributes in the attribute group.
A description of the event slots for each event class is provided in this topic. The situation editor in the
Tivoli Enterprise Portal can be used to perform custom mapping of data to EIF slots instead of using the
default mapping described in this topic. For more information about EIF slot customization, see theTivoli
Enterprise Portal User's Guide .
Tivoli Enterprise Console requires that event classes and their slots are defined in BAROC (Basic Recorder
of Objects in C) files. Each agent provides a BAROC file that contains event class definitions for the agent
and is installed on the Tivoli Enterprise Monitoring Server in the TECLIB directory (install_dir/cms/
TECLIB for Windows systems and install_dir/tables/TEMS_hostname/TECLIB for UNIX systems) when
application support for the agent is installed. The BAROC file for the agent and the base BAROC files
provided with Tivoli Monitoring must also be installed onto the Tivoli Enterprise Console. For details, see
"Setting up event forwarding to Tivoli Enterprise Console" in the IBM Tivoli Monitoring Installation and
Setup Guide.
Each of the event classes is a child of KOQ_Base and is defined in the oq.baroc (version 6.3) file. The
KOQ_Base event class can be used for generic rules processing for any event from the IBM Tivoli
Composite Application Manager for Microsoft Applications: Microsoft SQL Server Agent..
The Book file follows the Discovery Library IdML schema and is used to populate the Configuration
Management Database (CMDB) and Tivoli Business Service Manager products. The Tivoli Management
Services DLA discovers Microsoft SQL Server resources. For all VMware systems that are active and
online at the Tivoli Enterprise Portal Server, information is included in the discovery book for those
resources. The Tivoli Management Services DLA discovers active resources. It is run on demand and can
be run periodically to discover resources that were not active during previous discoveries.
The following sources contain additional information about using the DLA program with all monitoring
agents:
v The IBM Tivoli Monitoring Administrator's Guide contains information about using the Tivoli
Management Services Discovery Library Adapter.
v For information about using a DLA with Tivoli Application Dependency Discovery Manager (TADDM),
see the TADDM Information Center (http://publib.boulder.ibm.com/infocenter/tivihelp/v10r1/topic/
com.ibm.taddm.doc_7.2/welcome_page/welcome.html).
The Microsoft SQL Server agent has the following Discovery Library Adapter data model classes:
v SqlServer
v SqlServerDatabase
v SqlServerTable
SqlServer class
The ActiveDirectory class represents an instance of the domain controller.
CDM class name
app.db.mssql.SqlServer
Relationships
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.ComputerSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-ComputerSystem
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-OperatingSystem
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerDatabase
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
SqlServerDatabase
contains
v Source: app.db.mssql.SqlServerDatabase
v Target: app.db.mssql.SqlServerTable
v Example: SQLServer:SQLInstance:MSS-1-SqlServerDatabase contains
SQLServer:SQLInstance:MSS-1-0-spt_monitor-SqlServerTable
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerProcess
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
7412-SqlServerProcess
installedOn
v Source: app.TMSAgent
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-TMSAgent is installedOn 9.65.44.55-OperatingSystem
v Source: app.TMSAgent
v Target: app.db.mssql.SqlServer
v Example: SQLServer:SQLInstance:MSS-TMSAgent monitors SQLServer:SQLInstance:MSS-
SqlServer
CDM attributes, agent attributes, descriptions, and examples
v CDM attribute: Id (IdML)
Agent attribute: INODESTS.HOSTADDR
Description: The host address of the workstation where the Microsoft SQL Server instance is
running.
Example: INSTANCE1_2005:PS3213W2K3:MSS-SqlServer
SqlServerDatabase class
The ServiceAccessPoint class represents the instance of the services that are used by the Microsoft Active
Directory.
CDM class name
app.db.mssql.SqlServerDatabase
Superior CDM class
SqlServer
Relationships
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.ComputerSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-ComputerSystem
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-OperatingSystem
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerDatabase
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
SqlServerDatabase
contains
Appendix C. Discovery Library Adapter for the Microsoft SQL Server agent 387
v Source: app.db.mssql.SqlServerDatabase
v Target: app.db.mssql.SqlServerTable
v Example: SQLServer:SQLInstance:MSS-1-SqlServerDatabase contains
SQLServer:SQLInstance:MSS-1-0-spt_monitor-SqlServerTable
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerProcess
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
7412-SqlServerProcess
installedOn
v Source: app.TMSAgent
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-TMSAgent is installedOn 9.65.44.55-OperatingSystem
v Source: app.TMSAgent
v Target: app.db.mssql.SqlServer
v Example: SQLServer:SQLInstance:MSS-TMSAgent monitors SQLServer:SQLInstance:MSS-
SqlServer
CDM attributes, agent attributes, descriptions, and examples
v CDM attribute: Id (IdML)
Agent attribute: INODESTS.HOSTADDR
Description: The host address of the workstation where the Microsoft SQL Server instance is
running.
Example: INSTANCE1_2005:PS3213W2K3:MSS-2-SqlServerDatabase
v CDM attribute: ManagedSystemName
Agent attribute: INODESTS.NODE
Description: The name of the IBM Tivoli Monitoring component that provides data for the
management of the Microsoft SQL Server instance.
Example: INSTANCE1_2005:PS3213W2K3:MSS
v CDM attribute: Name
Agent attribute: KOQDBD.DBNAME
Description: The name of the Microsoft SQL Server database.
Example: tempdb
v CDM attribute: DbId
Agent attribute: KOQDB.DBID
Description: The ID of the Microsoft SQL Server database.
Example: 2
v CDM attribute: Label
Agent attribute: KOQDBD.DBNAME
Description: The label of the Microsoft SQL Server database.
Example: INSTANCE1_2005:PS3213W2K3:MSS
SqlServerTable class
The BindAddress class represents an IP protocol endpoint on which a service is provided.
CDM class name
app.db.mssql.SqlServerTable
Superior CDM class
SqlServerDatabase
Relationships
Appendix C. Discovery Library Adapter for the Microsoft SQL Server agent 389
Agent attribute: KOQTBLD.UTBLNAME
Description: The label of the Microsoft SQL Server table.
Example: spt_monitor
SqlServerProcess class
The IpAddress class represents the instance of an IP address.
CDM class name
app.db.mssql.SqlServerProcess
Superior CDM class
SqlServer
Relationships
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.ComputerSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-ComputerSystem
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-OperatingSystem
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerDatabase
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
SqlServerDatabase
contains
v Source: app.db.mssql.SqlServerDatabase
v Target: app.db.mssql.SqlServerTable
v Example: SQLServer:SQLInstance:MSS-1-SqlServerDatabase contains
SQLServer:SQLInstance:MSS-1-0-spt_monitor-SqlServerTable
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerProcess
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
7412-SqlServerProcess
installedOn
v Source: app.TMSAgent
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-TMSAgent is installedOn 9.65.44.55-OperatingSystem
v Source: app.TMSAgent
v Target: app.db.mssql.SqlServer
v Example: SQLServer:SQLInstance:MSS-TMSAgent monitors SQLServer:SQLInstance:MSS-
SqlServer
CDM attributes, agent attributes, descriptions, and examples
v CDM attribute: Id (IdML)
Agent attribute: INODESTS.HOSTADDR
TMSAgent class
The IpAddress class represents the instance of an IP address.
CDM class name
app.TMSAgent
Relationships
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.ComputerSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-ComputerSystem
runsOn
v Source: app.db.mssql.SqlServer
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-SqlServer runsOn 9.65.44.55-OperatingSystem
Appendix C. Discovery Library Adapter for the Microsoft SQL Server agent 391
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerDatabase
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
SqlServerDatabase
contains
v Source: app.db.mssql.SqlServerDatabase
v Target: app.db.mssql.SqlServerTable
v Example: SQLServer:SQLInstance:MSS-1-SqlServerDatabase contains
SQLServer:SQLInstance:MSS-1-0-spt_monitor-SqlServerTable
contains
v Source: app.db.mssql.SqlServer
v Target: app.db.mssql.SqlServerProcess
v Example: SQLServer:SQLInstance:MSS-SqlServer contains SQLServer:SQLInstance:MSS-1-
7412-SqlServerProcess
installedOn
v Source: app.TMSAgent
v Target: sys.OperatingSystem
v Example: SQLServer:SQLInstance:MSS-TMSAgent is installedOn 9.65.44.55-OperatingSystem
v Source: app.TMSAgent
v Target: app.db.mssql.SqlServer
v Example: SQLServer:SQLInstance:MSS-TMSAgent monitors SQLServer:SQLInstance:MSS-
SqlServer
CDM attributes, agent attributes, descriptions, and examples
v CDM attribute: Id (IdML)
Agent attribute: INODESTS.HOSTADDR
Description: The host address of the workstation where the Microsoft SQL Server instance is
running.
Example: INSTANCE1_2005:PS3213W2K3:MSS-TMSAgent
v CDM attribute: ManagedSystemName
Agent attribute: INODESTS.NODE
Description: The name of the IBM Tivoli Monitoring component that provides data for the
management of the Microsoft SQL Server instance.
Example: INSTANCE1_2005:PS3213W2K3:MSS
v CDM attribute: ManagedObjectName
Agent attribute: INODESTS.NODE
Description: The name of the IBM Tivoli Monitoring component that provides data for the
management of the Microsoft SQL Server instance.
Example: p@INSTANCE1_2005:PS3213W2K3:MSS
v CDM attribute: SoftwareVersion
Agent attribute: INODESTS.VERSION
Description: The version of the Microsoft SQL Server agent.
Example: 06.12.00
v CDM attribute: ProductCode
Agent attribute: INODESTS.PRODUCT
Description: The product code of Microsoft SQL Server agent.
Example: OQ
v CDM attribute: Affinity
Agent attribute: INODESTS.AFFINITIES
Appendix C. Discovery Library Adapter for the Microsoft SQL Server agent 393
394 Microsoft SQL Server agent: User’s Guide
Appendix D. Integration with Tivoli Business Service Manager
Microsoft SQL Server agent provides data to create, update the status of, and view IBM Tivoli Business
Service Manager services.
The Tivoli Management Services Discovery Library Adapter (DLA) and Discovery Library Toolkit
provides data for the Tivoli Business Service Manager service models. The Tivoli Event Integration
Facility (EIF) probe updates the status of these services, and you use the Tivoli Enterprise Portal to view
the data for the services. To implement the integration of the agent with Tivoli Business Service Manager,
perform the integration tasks.
By using data from the Tivoli Management Services Discovery Library Adapter, you can build Tivoli
Business Service Manager service models that include resources monitored by the Microsoft SQL Server.
The DLA files can be imported directly into Tivoli Business Service Manager using the Discovery Library
Toolkit or they can be loaded into IBM Tivoli Application Dependency Discovery Manager (Tivoli
Business Service Manager) and then fed into Tivoli Business Service Manager using the Discovery Library
Toolkit.
See the following sources for more information about the DLA and Discovery Library Toolkit:
v Resources and relationships that are discovered by the Microsoft SQL Server and included in Tivoli
Management Services DLA files: Appendix C, “Discovery Library Adapter for the Microsoft SQL Server
agent,” on page 385
v Using the Tivoli Management Services DLA: IBM Tivoli Monitoring Administrator's Guide
v Using the Discovery Library Toolkit: Tivoli Business Service Manager Customization Guide
Situation events detected by the Microsoft SQL Server can update the status of services in Tivoli Business
Service Manager.
The situation events are forwarded from IBM Tivoli Monitoring to the Netcool/OMNIbus Probe for the
Tivoli Event Integration Facility. The Microsoft SQL Server provides a probe rules file that updates its
events with information to identify the affected service in Tivoli Business Service Manager. The EIF probe
then forwards the events to the Netcool/OMNIbus ObjectServer. Tivoli Business Service Manager
monitors the Netcool/OMNIbus ObjectServer for new events and updates the status of affected services.
See the following sources for more information about event integration:
v Installation (using an existing EIF probe and Netcool/OMNIbus ObjectServer installation or using
Tivoli Business Service Manager to install these components): Netcool/OMNIbus Information Center or
the Tivoli Business Service Manager Installation Guide.
You can use the integration of the Tivoli Enterprise Portal Server with Tivoli Business Service Manager to
view the services in the Tivoli Business Service Manager console.
For more detailed examination and analysis, you can easily link from the Tivoli Business Service Manager
console to the Tivoli Enterprise Portal Server to view the data within the Microsoft SQL Server.
To integrate the Microsoft SQL Server agent with Tivoli Business Service Manager and view the data,
complete the following tasks:
v Install the Discovery Library Toolkit on theTivoli Business Service Manager server.
v Configure the Tivoli Event Integration Facility (EIF) probe to enrich Microsoft SQL Server agent events.
v Create a service in the Tivoli Business Service Manager console that you want to monitor.
v Create a data source mapping for each data source that you want to access within the Tivoli Business
Service Manager.
v Configure an additional IBM Tivoli Monitoring web service for each Tivoli Enterprise Portal Server.
v View data in the Tivoli Enterprise Portal for the services that you have created to monitor through
Tivoli Business Service Manager.
The Discovery Library Toolkit imports data from the DLA files and TADDM, which includes information
about the hardware and the applications that are discovered by the source.
See "Installing the Discovery Library Toolkit" in the Tivoli Business Service Manager Installation Guide.
Install and configure the Netcool/OMNIbus ObjectServer and EIF probe and set up event integration
between IBM Tivoli Monitoring and Netcool/OMNIbus.
To enable event enrichment, configure the EIF probe to use the rules file for the agent.
Procedure
1. Locate the Microsoft SQL Server agent rules file (koq_tbsm.rules) on a computer system where the
Microsoft SQL Server agent, Tivoli Enterprise Monitoring Server, or Tivoli Enterprise Portal Server is
installed. The file is in the following locations:
v On Windows systems
The file is in the installdir\cms\TECLIB directory of the monitoring server, in the
installdir\cnps\TECLIB directory of the portal server, or in the installdir\TMAITM6\EIFLIB
directory of the agent, where installdir is the IBM Tivoli Monitoring or ITCAM for Microsoft
Applications installation directory.
v On Linux and UNIX systems
The file is in the installdir/tables/cicatrsq/TECLIB directory of the monitoring server or in the
installdir/platform/xx/TECLIB directory of the agent, where installdir is the IBM Tivoli Monitoring
or ITCAM for Microsoft Applications directory, platform is the architecture directory for the agent,
and xx is the product code for the agent.
2. Copy the koq_tbsm.rules file to the following directory on the computer system where the EIF probe
is installed:
v On Windows systems
%OMNIHOME%\probes\arch
v On UNIX systems
$OMNIHOME/probes/arch
Where:
OMNIHOME
System-defined variable defining the installation location of Netcool/OMNIbus
arch Operating system directory where the probe is installed; for example, solaris2 when running
on a Solaris system, and win32 for a Windows system.
3. Edit the tivoli_eif.rules file and uncomment the include statement for koq_tbsm.rules. (The
tivoli_eif.rules file is located in the same directory as the koq_tbsm.rules file.) If you are using a
version of the tivoli_eif.rules file without an include statement for koq_tbsm.rules, add the
following line after the include statement for itm_event.rules:
include "koq_tbsm.rules"
4. Restart the EIF probe.
To create the services that you want to monitor in the Tivoli Business Service Manager console, see
"Configuring services" in the IBM Tivoli Business Service Manager Service Configuration Guide.
Also, you can create the data fetchers and use the data to create incoming status rules that are populated
in your service templates.
To configure an additional IBM Tivoli Monitoring web service for each Tivoli Enterprise Portal server, see
"Configure TBSM charts" in the IBM Tivoli Business Service Manager Scenarios Guide.
You can also launch Tivoli Business Service Manager from the Tivoli Enterprise Portal.
For more information about launching applications, see "Launching to and from applications" in the Tivoli
Business Service Manager Customization Guide.
The IBM Tivoli Monitoring, OMEGAMON XE, and Composite Application Manager products: Documentation
Guide contains information about accessing and using publications. You can find the Documentation
Guide in the following information centers:
v IBM Tivoli Monitoring and OMEGAMON XE (http://publib.boulder.ibm.com/infocenter/tivihelp/
v15r1/index.jsp)
v IBM Tivoli Composite Application Manager (http://publib.boulder.ibm.com/infocenter/tivihelp/
v24r1/index.jsp)
To open the Documentation Guide in the information center, select Using the publications in the
Contents pane.
To find a list of new and changed publications, click What's new in the information center on the
Welcome page of the IBM Tivoli Monitoring and OMEGAMON XE Information Center.
To find publications from the previous version of a product, click Previous versions under the name of
the product in the Contents pane.
The documentation for this agent and other product components is located in the IBM Tivoli Composite
Application Manager for Microsoft Applications Information Center (http://publib.boulder.ibm.com/
infocenter/tivihelp/v24r1/topic/com.ibm.itcamms.doc_6.3/welcome_msapps63.html).
One document is specific to the Microsoft SQL Server agent. The IBM Tivoli Composite Application
Manager for Microsoft Applications: Microsoft SQL Server Agent User’s Guide provides agent-specific
information for configuring, using, and troubleshooting the Microsoft SQL Server agent.
The Offering Guide also provides information about installing and configuring the component products in
the offering.
The Prerequisites topic in the information center contains information about the prerequisites for each
component.
Use the information in the user's guide for the agent with the Tivoli Enterprise Portal User's Guide to
monitor Microsoft SQL Server resources.
Prerequisite publications
See the following publications to gain the required prerequisite knowledge:
v IBM Tivoli Monitoring Troubleshooting Guide
v IBM Tivoli Monitoring: Upgrading from Tivoli Distributed Monitoring
v IBM Tivoli Monitoring: Upgrading from V5.1.2
v IBM Tivoli Monitoring Universal Agent User's Guide
v IBM Tivoli Monitoring Universal Agent API and Command Programming Reference Guide
v Tivoli Enterprise Portal User's Guide
Related publications
The publications in related information centers provide useful information.
See the following information centers, which you can find by accessing Tivoli Documentation Central
(http://www.ibm.com/developerworks/wikis/display/tivolidoccentral/Home):
v IBM Tivoli Monitoring
v IBM Tivoli Netcool/OMNIbus
v IBM Tivoli Application Dependency Discovery Manager
v IBM Tivoli Enterprise Console
The major accessibility features in this product enable users in the following ways:
v Use assistive technologies, such as screen-reader software and digital speech synthesizer, to hear what
is displayed on the screen. Consult the product documentation of the assistive technology for details
on using those technologies with this product.
v Operate specific or equivalent features using only the keyboard.
v Magnify what is displayed on the screen.
In addition, the product documentation was modified to include the following features to aid
accessibility:
v All documentation is available in both HTML and convertible PDF formats to give the maximum
opportunity for users to apply screen-reader software.
v All images in the documentation are provided with alternative text so that users with vision
impairments can understand the contents of the images.
Standard shortcut and accelerator keys are used by the product and are documented by the operating
system. See the documentation provided by your operating system for more information.
You can enlarge information in the product windows using facilities provided by the operating systems
on which the product is run. For example, in a Microsoft Windows environment, you can reduce the
resolution of the screen to enlarge the font sizes of the text on the screen. See the documentation
provided by your operating system for more information.
IBM may have patents or pending patent applications covering subject matter described in this
document. The furnishing of this document does not give you any license to these patents. You can send
license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property
Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law:
Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore,
this statement might not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes will be incorporated in new editions of the publication.
IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in
any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of
the materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
IBM Corporation
2Z4A/101
11400 Burnet Road
Austin, TX 78758 U.S.A.
Such information may be available, subject to appropriate terms and conditions, including in some cases
payment of a fee.
The licensed program described in this document and all licensed material available for it are provided
by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or
any equivalent agreement between us.
Any performance data contained herein was determined in a controlled environment. Therefore, the
results obtained in other operating environments may vary significantly. Some measurements may have
been made on development-level systems and there is no guarantee that these measurements will be the
same on generally available systems. Furthermore, some measurement may have been estimated through
extrapolation. Actual results may vary. Users of this document should verify the applicable data for their
specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their
published announcements or other publicly available sources. IBM has not tested those products and
cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM
products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of
those products.
All statements regarding IBM's future direction or intent are subject to change or withdrawal without
notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject to change without
notice. Dealer prices may vary.
This information is for planning purposes only. The information herein is subject to change before the
products described become available.
This information contains examples of data and reports used in daily business operations. To illustrate
them as completely as possible, the examples include the names of individuals, companies, brands, and
products. All of these names are fictitious and any similarity to the names and addresses used by an
actual business enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs
in any form without payment to IBM, for the purposes of developing, using, marketing or distributing
application programs conforming to the application programming interface for the operating platform for
which the sample programs are written. These examples have not been thoroughly tested under all
conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these
programs. You may copy, modify, and distribute these sample programs in any form without payment to
IBM for the purposes of developing, using, marketing, or distributing application programs conforming
to IBM‘s application programming interfaces.
© IBM 2009. Portions of this code are derived from IBM Corp. Sample Programs. © Copyright IBM Corp.
2009. All rights reserved.
If you are viewing this information in softcopy form, the photographs and color illustrations might not be
displayed.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International Business
Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be
trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at
“Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States
and other countries.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the
United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, and service names may be trademarks or service marks of others.
Notices 407
408 Microsoft SQL Server agent: User’s Guide
Index
A data from operating system or MS SQL Server files
data from SELECT statements 8
13
E
B Error Log File 27
event
built-in troubleshooting features 269 mapping 313
C F
cache duration for attribute groups 6 files
calculate historical data disk space 222 agent trace 271
capacity planning for historical data 222 installation trace 271
changes other trace log 271
baroc file updated 2 trace logs 270
cluster environment
creating a resource 38
installing and configuring the monitoring agent 37
making configuration changes 39 G
requirements 37 gathering support information 269
setting up the monitoring agent 36 granting permission 19
commands
tacmd 25
tacmd addSystem 35 H
tacmd configureSystem 35 historical data
tacmd startAgent 36 calculate disk space 222
components 4 disk capacity planning 222
IBM Tivoli Monitoring 4 Home Directory 27
configuration
local 23
Manage Tivoli Enterprise Monitoring Services window 23
parameters 25 I
procedures 18 IBM Software Support 269
remote 34 IBM Tivoli Composite Application Manager for Microsoft
settings 25 Applications: Microsoft SQL Server Agent
tacmd command line 35 performance considerations 301
Tivoli Enterprise Portal 34 IBM Tivoli Enterprise Console
creating user ID 19 event mapping 313
IBM Tivoli Monitoring 4
overview 1
D include file 396
information, additional
data policies 253
trace logs 270 situations 227
data collection Take Action commands 239
processes 6 installation
data collection for attribute groups 6 log file 271
U
uninstallation
log file 271
problems 277
upgrading for warehouse summarization 309
upgrading your warehouse with limited user
permissions 310
User ID 26
user ID, creating 19
user interfaces options 5
user permissions, upgrading your warehouse with
limited 310
W
warehouse summarization
upgrading for
overview 309
warehouse summarization upgrading
effects on summarized attributes 309
tables in the warehouse 309
Windows agent installation problems 277
workarounds 277
agents 287
remote deployment 296
situations 301
Take Action commands 304
Tivoli Common Reporting 305
workspaces 297
workspaces
troubleshooting 297
Index 411
412 Microsoft SQL Server agent: User’s Guide
Printed in USA
SC23-8880-06