SQL Agent Jobs Owned By The Wrong Person

VN:RO [1.9.17_1161]
Rating: 0.0/5 (0 votes cast)
277 0
One or more SQL Agent jobs exist that are not owned by the database owner. You should fix these jobs so that they’re owned by the appropriate person. If the owning account is removed from Active Directory, the job may fail. Read more

Monitor Database Events

VN:RO [1.9.17_1161]
Rating: 5.0/5 (1 vote cast)
481 0 ,
This metric queries data from an Extended Events session to detect databases being dropped, created, started, stopped, attached or detached. It assigns a configurable “anxiety index” value (an integer from 1-10) to each detected event and then calculates a total based on the occurrences of these events over a period. First, create and start for […] Read more

Monitor TempDB Contention

VN:RO [1.9.17_1161]
Rating: 5.0/5 (2 votes cast)
1,103 0
Measures the total duration of latch waits on the tempdb database, in a one-minute time interval. First, create and start for the following Extended Events session on the monitored SQL Server instance: [crayon-5f28bedd6348c969858053/] The goal is to get the total duration of latch waits, in the last minute, so this session collects all the event […] Read more

Monitoring Changes in Permissions, Users, Roles and Logins

VN:RO [1.9.17_1161]
Rating: 4.0/5 (5 votes cast)
2,183 0
Reports the number of changes to logins, users, roles in the past 10 minutes. It measures every change but doesn’t tell you if this is a drift from what it should be, since it might only be a permission being temporarily created and then revoked. First, create the following function in the database on the […] Read more

Detect Suspicious Errors Typical of a SQL Injection Attack

VN:RO [1.9.17_1161]
Rating: 4.8/5 (5 votes cast)
2,818 0
Detects errors characteristic of a possible SQL Injection attack, or other attempts to gain illicit access to a database server. Returns the number of errors detected in the last 20 minutes. First, create an Extended Events session on the monitored SQL Server instance: [crayon-5f28bedd639f0762739782/] Start the event session, like this: [crayon-5f28bedd639f4853790800/] Read more