SCOM: Disable discovery / Exclude Group of Servers from the Version-Agnostic SQL MP

Kochev 26 Reputation points
2020-09-10T08:08:14.913+00:00

Hi,

We have successfully migrated one of our environments to the Version-Agnostic SQL Management Pack. Now, we have multiple SQL servers that have to be excluded from the management pack discovery. I am aware that the target for the “MSSQL on Windows: Discover SQL Server Database Engines (Local)” cannot be a Group of servers. In the MP guide description, Microsoft writes, that I have to create an override, which is pointing to every DB instance by name (this is crazy!). Is there another way to exclude those servers?

Best,

Deyan

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,492 questions
0 comments No comments
{count} votes

Accepted answer
  1. CyrAz 5,181 Reputation points
    2020-09-10T14:25:30.693+00:00

    You should be able to Override -> Enable -> False the MSSQL on Windows: Discover SQL Server Database Engines (Local) discovery for a group of Windows Computer objects, since that discovery is targeted at the MSSQL on Windows: Local Discovery Seed class which itself is hosted by the Windows Computer class.
    Then run Remove-SCOMDisabledClassInstance to remove the DB Engines that were already discovered.

    The Exclusion override is more designed for the case where you need to exclude a specifc instance from being discovered, not for when you need to entirely disable SQL discovery for a given server!

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.