Skip to main content

MSSQL Database Version

Purpose

The objective of this solution is to centralize the retrieval of MSSQL server versions across the environment into a single location for auditing purposes.

Associated Content

Auditing Content

ContentTypeFunction
Internal Monitor - Execute Script - Get MSSQL Database VersionInternal MonitorThe internal monitor detects the MSSQL servers where the Script - Get MSSQL Database Version has not been executed within the last week.
Dataview - MSSQL Database VersionDataviewThe data view showcases the version and patch level details of MSSQL Servers, acquired through the Script - Get MSSQL Database Version.
Script - Get MSSQL Database VersionScriptThe script collects the Version and Patch Level information of the MSSQL Server.
△ Custom - Execute Script - Get MSSQL Database VersionAlert TemplateThe Alert Template executes the Script - Get MSSQL Database Version against the machines detected by the Internal Monitor - Execute Script - Get MSSQL Database Version.

Other Content

ContentTypeFunction
Custom Table - pvl_mssql_db_versionCustom TableThe custom table stores the data gathered by the Script - Get MSSQL Database Version.

Implementation

  1. Import the following content using the ProSync Plugin:

  2. Reload the System Cache
    Reload Cache

  3. Execute the Script - Get MSSQL Database Version against an online Windows Machine with the Set_Environment parameter set to 1, to create the Custom Table - pvl_mssql_db_version
    Execute Script

  4. Configure the solution as follows:

    • Navigate to Automation → Monitors within the CWA Control Center and set up the following: