Skip to content

Commit e390993

Browse files
committed
#1041 sp_Blitz skip DBCCs from monitoring tools
Closes #1041.
1 parent e3c3ba5 commit e390993

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sp_Blitz.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4475,6 +4475,11 @@ IF @ProductVersionMajor >= 10
44754475
N'DBCC CLEANTABLE', N'DBCC CHECKPRIMARYFILE', N'DBCC OPENTRAN', 'DBCC SHOWFILESTATS' --Weird but okay
44764476
)
44774477
AND d.dbcc_event_full_upper NOT IN('DBCC SQLPERF(NETSTATS)', 'DBCC SQLPERF(LOGSPACE)')
4478+
AND d.application_name NOT LIKE 'Critical Care(R) Collector'
4479+
AND d.application_name NOT LIKE '%Red Gate Software Ltd SQL Prompt%'
4480+
AND d.application_name NOT LIKE '%Spotlight Diagnostic Server%'
4481+
AND d.application_name NOT LIKE '%SQL Diagnostic Manager%'
4482+
44784483
HAVING COUNT(*) > 0;
44794484

44804485
END;

0 commit comments

Comments
 (0)