擴展 Microsoft System center DPM 伺服器電腦群組

Microsoft.Windows.SystemCenterDPM.DPMServerGroupDiscovery.Rule (Discovery)

此搜索規則會擴展 DPM 伺服器電腦群組

Knowledge Base article:

摘要

此規則會執行一個指令碼,將所有的 DPM 伺服器歸類為一個群組。這項規則並不會發出警示。

Element properties:

TargetMicrosoft.Windows.SystemCenterDPM.DPMServerGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Microsoft.Windows.SystemCenterDPM.DPMServerGroupDiscovery.Rule" Enabled="true" Target="Microsoft.Windows.SystemCenterDPM.DPMServerGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.SystemCenterDPM.DPMServerGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.SystemCenterDPM.DPMServer"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>