Resources

Products

MSSQL Server Database Discovery on Windows and *nix targets

Modified on: Tue, 31 Mar, 2026 at 4:24 PM

Note: Available only for new signups after the 31 March, 2026 release. If you signed up earlier, refer to the existing ITAM documentation.


MSSQL server discovery requires a separate set of credentials to authenticate to the database instance.

Note: Ensure the discovery credentials have appropriate permissions to view the databases you want to discover.

Discovery supports the following MSSQL versions on Windows and *nix platforms:

  • MSSQL 2005

  • MSSQL 2008

  • MSSQL 11 on SQL Server 2012

  • MSSQL 12 on SQL Server 2014

  • MSSQL 13 on SQL Server 2016

  • MSSQL 14 on SQL Server 2017

  • Cluster MSSQL 12

Permissions requirements for MSSQL Discovery

To retrieve detailed instance information, the discovery credentials require View Server State permissions and read access to the following system views:

  • sys.dm_exec_connectionssys.dm_exec_sessions

  • sys.databasessys.master_filessys.tables

  • sys.dm_os_sys_infosys.dm_os_sys_memorysys.all_objects

The following snippet is necessary for retrieving data from some of the preceding views, such as sys.master_files, even when the user has read permissions enabled:

USE [master];
GO
GRANT VIEW ANY DEFINITION TO [discovery_user];
GO

Note: The discovery user must belong to the administrator's user group to discover databases successfully.

Create a MSSQL Discovery job

To set up a new discovery job, follow these steps:

  1. Go to Admin > Asset Management > Scan and discover and click the Discovery Jobs tab.

  2. Select Hypervisors/*nix/win Autodiscovery from the list of discovery jobs and click Add new.

  3. Select a Windows or *nix job type based on your target platform.

  4. Enable the Collect database server information toggle.

  5. Fill out both sets of credentials:

  • Database Username/Password(s) credentials for authenticating to the Microsoft SQL database itself.

  • Enter Username/Password(s) credentials to authenticate to the Windows server. You can enter multiple credentials in a preferred order. The job tries each credential in order and stops at the first successful authentication. Subsequent runs start with the last successful credential.

  1. In the Discovery Schedule section, click Add new to create an autodiscovery for the job. You can create multiple schedules.

  2. Click Save, then click Run Now to start the discovery.


As MSSQL databases are detected, discovery will import a list of all the instances, databases, and connection details it finds. You can see the status of the discovery job on the job setup section.

View MSSQL Discovery job results

Locate and analyze the details of your discovered database instances through multiple sections in the interface.

Application components

Narrow down your infrastructure list to focus specifically on detected database services.

  1. Go to Applications > Application Components.

  2. Search for SQL to narrow down the list.

  3. Click the Name of an application component to view specific database details and server instances.

Device record

You can also view results by navigating to the discovered Windows server instance's CI.

  1. In the side bar, click IT Asset Management > Inventory > All Devices and select the discovered server.

  2. From the details view, you can access Service InstancesSoftware, and Database Instances.

  3. Click the name of a Database Instance to view resource details, schema data, memory stats, and network details.

Available SQL database instance information

Access granular metadata and configuration details for every discovered Microsoft SQL instance within your inventory.

You can click the name of a Database Instance from the Application Component view or the Resources list page to view the following information:

  • Resource Details: General metadata for the MSSQL database, including the SQL Server start time and specific memory statistics.

  • Database/Schema: A comprehensive list of the databases within the instance. You can click individual database names to drill down into further details.

  • Database Instance Files: Information regarding the storage of the instance, including the specific file size and directory path for each resource.

  • Endpoints and Network Details: Connection points and networking configurations used by the database instance.

SQL cluster data

If your environment utilizes SQL cluster databases, discovery returns the following information about the clusters:

  • SQL Cluster Name: The identified name of the cluster group.

  • SQL Cluster Node Role: The specific role assigned to the node within the cluster architecture.

  • Node Status: Identification of whether the node is Active or a Read-Replica.

  • Passive Node Configurations: Details on whether a passive node uses Log Shipping or Database Mirroring for redundancy.