Agents Administration - Tests
 

Default Parameters for MsSqlErrorLogTest

The MsSqlErrorLogTest reports the number and type of errors logged in the SQL server error logs. This page depicts the default parameters that need to be configured for the MsSqlErrorLogTest.

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

  • By default, the FILEPATH is set to none, indicating that the eG agent autodiscovers the path to the Microsoft SQL error log file to be monitored. If required, you can manually specify the full path to the error log file to be monitored. For e.g., /user/john/error_egurkha.log.

  • If the error log file to be monitored is encoded with UTF-16, then, set the ISUTF16 flag to Yes. By default, this flag is set to No.

  • If the value chosen against ISPASSIVE is YES, then the server under consideration is a passive server in a 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.

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

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

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

  • The DD FREQUENCY parameter refers to the frequency with which detailed diagnosis measures are to be generated for this test. For this test, the DD FREQUENCY is set to 1:1 by default. This indicates that, by default, detailed measures will be generated every time this test runs and also every time the test detects a problem.

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