Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include healthcheck results from sp_blitz #353
I would suggest the following columns to be relevant for filtering in a check:
I guess it gets really complicated if someone would like to combine filters like ignore finding "Active Tables Without Clustered Indexes" but just for database xyz.
The error message could be something like:
One potential downside of integrating sp_blitz would be that some checks are already existent in dbachecks as native checks (for example check for database owner or backups) and thus could lead to duplicate error message or at worst inconsistent error messages where dbachecks considers a different approach as best practice than sp_blitz does. However I would value the use of having more checks and benefitting from sp_blitz health checks as well much higher than the inconvenience of duplicate checks or different approaches. In the end I believe each tool has its right to exist on its own and together they could offer more value.
I have started the work already. IF you are interested it is here
My plan is to implement checks using sp_blitz first in a new checks file, just to keep them separate until they 'mature' a bit. Once we are happy with how they are tested and how they work I think the next step will be to figure out how to include them in appropriate categories, and perhaps based on configuration and whether the first responder kit is installed or not, to use them in stead of the original ones rather than duplicate the checks.
Main reason I took this approach is because a lot of those checks will be eventually in the