Für Windows Server 2016 und höher (deaktivierte Portüberwachungsgruppe) auffüllen
Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group.Discovery (Discovery)
Diese Regel füllt die Gruppe auf, die Seeds der Betriebssysteme Windows Server 2016 und höher enthält, für die die Portüberwachung über "Assistent zum Hinzufügen von Monitoren" deaktiviert ist.
Knowledge Base article: Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group.Discovery" Target="Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.10.0.PortMonitoringDisabledGroup.ContainsWindowsServer.10.0.ProcessSeed"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.Server.10.0.PortMonitoringDisabledGroup.ContainsWindowsServer.10.0.ProcessSeed"]$</RelationshipClass>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/PortMonitoringEnabled$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>False</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<UnaryExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/PortMonitoringEnabled$</Property>
</ValueExpression>
<Operator>IsNull</Operator>
</UnaryExpression>
</Expression>
</Or>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>