Ensure that your Microsoft SQL Server authentication mode is set to "SQL Server and Windows Authentication mode." For more information about this setting and how to change it, refer to:
http://msdn.microsoft.com/en-us/library/ms188670.aspx
Click the device in the device list.
Select Device under Monitoring Templates in the left panel.
Select Add Local Template from the Action menu.
The Add Local Template dialog appears.
Enter a name of the template, and then click Submit.
Click the newly created template in the left panel.
Enter a name for the data source, select
SQL
as the type, and then click Submit.Double-click the newly created data source.
The Edit Data Source dialog appears.
Change options as needed.
Table 54.2. MS SQL Server Transactions Data Source Options
Option Description Database Type
Enter
MS SQL
Host Name
Set the host name on which the database is located. This field accepts a TALES expression, such as
${here/id}
or${here/getManageIp}
Port
Set the port on which the database server is listening. If you do not specify a port number, then the default port for the database is used.
Database Name
Specify the name of the database (required).
User
Specify a user name with permission to connect to the database and run queries.
Password
Specify the user password.
SQL Queries
Specify the SQL queries that this data source should execute. A summary of MS SQL syntax is available in the documentation accompanying the software.
Click
to save your changes.Resource Manager creates a data point that corresponds to the total query time in milliseconds.
Click Test to verify that the database connection can be completed, and that the data returned from the queries are correct.
See the Administration Guide for more information about setting up thresholds and graphs. To create data points that store the results of queries, see the section titled "Data Points."