Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Stale computer objects in SCOM 2007 R2.

$
0
0

Gateway and all agents behind it were deleted from Agent Managed, but servers are still in Windows Computers view (grey color). So I ran query:

select BME.FullName, DS.DiscoveryRuleID, D.DiscoveryName from typedmanagedentity TME 
Join BaseManagedEntity BME ON TME.BaseManagedEntityId = BME.BaseManagedEntityId 
JOIN DiscoverySourceToTypedManagedEntity DSTME ON TME.TypedManagedEntityID = DSTME.TypedManagedEntityID 
JOIN DiscoverySource DS ON DS.DiscoverySourceID = DSTME.DiscoverySourceID 
JOIN Discovery D ON DS.DiscoveryRuleID=D.DiscoveryID 
Where BME.Fullname like '%dc.gateway.net%'

Got DiscoveryName for gateway:  Microsoft.SystemCenter.SCManagedComputerPropertyDiscovery
I created a group with all stale computers and made override to disable “Discover Managed Computer Properties” discovery for this group. Ran “Remove-DisabledMonitoringObject” and computers still in monitoring pane. That was about one week ago.

The goal is I would like to re-add agents back to SCOM.


Любовь долготерпит, ...


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>