Agents Administration - Tests
 

Default Parameters for MsSqlUnusedIdxTest

This test helps you to quickly determine the number of unused indexes in each database, and also understand how badly that index impacts database performance.

This page depicts the default parameters that need to be configured for the MsSqlUnusedIdxTest.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed. 

  • If the MS SQL server being monitored is an SSL-enabled server, then set the SSL flag to Yes. If not, then set the SSL flag to No.

  • If a Microsoft SQL Server 7.0/2000 is monitored, then provide the name of a SQL user with the Sysadmin role in this text box. While monitoring a Microsoft SQL Server 2005/2008/2012, provide the name of a SQL user with the CONNECT SQL, VIEW SERVER STATE, VIEW ANY DEFINITION, VIEW ANY DATABASE, and PUBLIC roles in the USER text box.

  • Specify the password of the specified USER in the PASSWORD text box.

  • Confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • In the INSTANCE text box, enter the name of a specific Microsoft SQL instance that is to be monitored. The default value of this parameter is "default". To monitor a Microsoft SQL instance named "CFS", enter this as the value of the INSTANCE parameter.

  • 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 MS 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.

  • 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.

  • The test will report the count of those tables that are of a size greater than the value (in GB) specified in the TABLE SIZE GB text box.

  • If the value chosen against the ISPASSIVE parameter is Yes, then the SQL server under consideration is a passive server in an SQL cluster. No alerts will be generated if the server is not running. Measures will be reported as ‘Not applicable’ by the agent if the server is not up.

  • Once the above value is provided, click on the UPDATE button to register the changes made.

When changing default configurations of tests, the values with "$" indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to "xyz" and $port will be changed to "80" when configuring a test.