|
Configuration of MsSqlSpaceTest
The MsSqlSpaceTest reports statistics pertaining to the space usage in a Microsoft SQL server database.
Note:
Note that this test will report metrics only for Microsoft SQL Server 2008 R2 (and above).
The default parameters associated with this test are as follows:
The HOST text box, indicates the variable name of the host for which the test is to be configured.
The PORT text box, indicates the port number through which the MS SQL server communicates. The default port is 1433.
In the INSTANCE text box, enter the name of a specific MS SQL instance that is to be monitored. The default value of this parameter is “default”. To monitor an MS SQL instance named “CFS”, enter this as the value of the INSTANCE parameter.
Provide the name of a SQL user with the Sysadmin role. However, if you do not want to expose the credentials of a Sysadmin, then create a special user for this purpose on each of the databases to be monitored, and make sure that you assign any of the following privileges to that user:
Assign the db_datareader privilege to that user in each of the databases to be monitored; (OR)
Assign the PUBLIC role to that user, and grant execute permission to that user for the sp_spaceused procedure in every database to be monitored.
By default, none is displayed in the DOMAIN text box. If the ‘SQL server and Windows’ authentication has been enabled for the server being monitored, then the DOMAIN can continue to be none. On the other hand, if ‘Windows only’ authentication has been enabled, then, in the DOMAIN text box, specify the Windows domain in which the managed Microsoft SQL server exists. Also, in such a case, the USER name and PASSWORD that you provide should be that of a user authorized to access the monitored SQL server.
By default, the USEPERFMON flag is set to Yes, indicating that this test uses the Windows Perfmon utility by default to pull out the metrics of interest. To instruct the test to use queries for metrics collection and not Perfmon, set this flag to No. Typically, when monitoring a Microsoft SQL server in an agent-based manner, its best to go with the default setting - i.e., use Perfmon for metrics collection. However, when monitoring the Microsoft SQL server in an agentless manner, its ideal to use queries instead of Perfmon to collect the required metrics. In such cases, set this flag to No.
In some Windows networks, NTLM (NT LAN Manager) may be enabled. NTLM is a suite of Microsoft security protocols that provides authentication, integrity, and confidentiality to users. NTLM version 2 (“NTLMv2”) was concocted to address the security issues present in NTLM. By default, the ISNTLMV2 flag is set to No, indicating that NTLMv2 is not enabled by default on the target Microsoft SQL host. Set this flag to Yes if NTLMV2 is enabled on the target host.
Note:
If multiple tests associated with a component share the same set of parameters, then, when one of tests is reconfigured, eG will automatically update the other tests (related to that component) with the changes. However, the Microsoft SQL server is an exception to this rule. When an Microsoft SQL server-related test is reconfigured, then the changes so made will be applied to all the tests except the MsSqlSpaceTest. This test will therefore have to be reconfigured separately. Similarly, changes made to the MsSqlSpaceTest will not automatically affect the configuration pertaining to the other Microsoft SQL server-related tests.
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of "none" in the parameter value indicates that the corresponding parameter value can be changed if required.
|