Microsoft SQL Server — Prerequisites

Prerequisites for monitoring Microsoft SQL Server with HEAL.

1 min read Updated SS

Prerequisites to complete before adding this component in the HEAL Control Center.

Ensure that the WMI Agent has been enabled. If the default WMI ports are used by other services, configure the WMI Agent to use other ports.

Create a JDBC user for HEAL. Ensure that the HEAL user can issue SYSPERFINFO command to the SQL server.

  1. Log on to the SQL database server as admin.
  2. Create a valid user. The user ${jdbcUser} should be able to issue SYSPERFINFO commands to SQLSERVER.The following example first creates a sqlserver login named monitor with a password <password>, and then creates a corresponding database user monitor in database_name:

    sqlserver> CREATE LOGIN monitor WITH PASSWORD = '<password>';
    USE master;
    CREATE USER monitor FOR LOGIN monitor;
    GO
    
    USE database_name;
    CREATE USER monitor FOR LOGIN monitor;
    GO
    
    USE master;
    GRANT SELECT ON database_name.sys.sysperfinfo TO monitor;
    GRANT VIEW SERVER STATE to username;
    GO
    

Note:

  • Make sure that the user has permissions to issue SYSPERFINFO commands to SQLSERVER.
  • Make sure that you use the same user details to configure the SQLSERVER instance in HEAL.

Ensure that MS SQL server connector port (default 1443) is opened for the component agent to make JDBC connection to collect database server and SQL KPIs.


See also: Microsoft SQL Server (what HEAL monitors)