MS SQL Server patch status


Job details

Name: MS SQL Server patch status
Platform: Sqlserver
Category: Security
Description: Checks latest updates for Microsoft SQL Server.
Long description: Checks latest updates for Microsoft SQL Server.
Version: 2.74
Default schedule: 16 1 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2005′ & hasengine=‘YES’ & eng_inst_priv = 0 & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]

Parameters

Name Default value Description
support end date threshold 30 Warning/Alarm threshold (in days) before support end date.
extended support end date threshold 30 Warning/Alarm threshold (in days) before extended support end date.
return status (support end) 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the “support end date threshold” has been reached.
last patch release threshold 60 The number of days after the last patch was released and still not deployed on the instance.
return status (extended support end) 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the “extended support end date threshold” has been reached.
return status (last patch release) 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the “last patch release threshold” has been reached.

Job Summary

Job Description

This monitoring job is designed to track and report on the patch status of Microsoft SQL Server installations. It verifies the installation against the latest patches released by Microsoft to determine if the SQL Server instances are currently up-to-date.

Key Functionalities

Detailed Implementation

The job involves several components and procedural calls to ensure comprehensive monitoring:

Expected Outputs

Depending on the current state of the SQL Server instances and their patches, the output can vary:

Schedule

Dependencies

Security and Compliance Information

This monitoring job is essential for maintaining the health, security, and compliance of Microsoft SQL Server installations in any environment.