In my environment I have a couple of SQL severs that are being discovered by the System Center Management Pack for SQL Server where I don’t want to monitor the SQL Server application.
I took the following steps to complete this option:
- Create a Group with the client computers you don’t want to monitor
- Apply Overrides to Object Discoveries
- Run "Remove-SCOMDisabledClassInstance"
1. Create a Group with client Computers you don’t want to monitor
- Start the "System Center Operations Manager Console"
- In the System Center Operations Manager console, click "Authoring"
- Right-click "Groups", and then click "Create a new Group" to start the Create Group Wizard.
- On the "General Properties" page, Enter a "Name", "Description" and select the management pack you want to use. Click "Next"
- On the "Explicit Members" page, click "Add/ Remove Objects"
- On the "Create Group Wizard – Object Selection" page, enter the computer name you don’t want to monitor in the "Filter by part or name(Optional)" box. In the "Available Items" box select the computer object and click "Add" and click "Ok"
- On the "Explicit Members" page, click "Next"
- On the "Dynamic Members" page, click "Next"
- On the "Sub Groups" page, click "Next"
- On the "Excluded Members" page, click "Create"
2. Apply Overrides to Object Discoveries
- Start the "System Center Operations Manager Console"
- In the System Center Operations Manager console, click "Authoring"
- On the "Authoring" page, expand "Management Packs" and select "Object Discovery"
- Click the "Scope" button on the Operations Manager toolbar
- On the "Scope Management Pack Objects" page, in the look for bar type "SQL " and select the target "SQL Server 2005 DB Engine", “SQL Server 2008 DB Engine”, “SQL Server 2012 DB Engine” and click "OK"
- Click “Find Now”
- Right click on "Discover SQL Server 2005 Database Engines (Windows Server)" and click "Overrides", "Override the Object Discovery", "For a group"
- On the "Select Object" page, select the group that you created above
- On the "Override Properties" page, check "Enabled" and change the "Override Value" from “True", to "False" and select the "Management Pack" where you want to store the overrides. Click "Apply" and "OK"
- Repeat the above steps for "Discover SQL Server 2008 Database Engines (Windows Server)" and the "Discover SQL Server 2012 Database Engines (Windows Server)"
3. Run "Remove-SCOMDisabledClassInstance"
Now the SQL Servers that were discovered will not be discovered and be removed from the computers state view in the SQL Management Pack