填入已啟用處理序監視群組的 Windows Server 2016 及更新版本
Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group.Discovery (Discovery)
此規則會透過 [新增監視精靈] 填入包含已啟用處理序監視之 Windows Server 2016 及更新版本作業系統種子的群組。
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group.Discovery" Target="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.ContainsWindowsServer.10.0.Computer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Server2016!Microsoft.Windows.Server.10.0.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.ContainsWindowsServer.10.0.Computer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed"]$</MonitoringClass>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/ProcessMonitoringEnabled$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>True</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>