Monitor Unauthorized Changes to SQL Server Configuration Settings

Install metric...

Metrics install automatically if you have SQL Monitor installed.

If you are using Redgate’s SQL Server monitoring tool, SQL Monitor, you can instantly install and run this metric on your servers.

Reports the number of server or database configuration option changes in the past five minutes.

First, create the following Extended Event session on the monitored SQL Server instance:

Metric definition

Name

ConfigurationItemsChanged

Description

Reports the number of server or database configuration option changes in the past five minutes.

The T-SQL query that will collect data

Instances to collect from

Default

Databases to collect from

master

Collection frequency

1 min

Use collected or calculated values

Leave the Use a calculated rate of change between collections check box unchecked

Metric collection

Enabled

Alert definition

Alert name

Someone Changed a Server or Database Configuration Setting

Description

There have been more than 5 configuration changes in the last 5 minutes

Raise an alert when the metric value goes

Above the defined threshholds

Default threshold values

High:
Medium:
Low:5

Raise an alert when the threshold is passed for

collections

Alert is

Enabled