Windows Server 2016 이상 포트 모니터링 사용 안 함 그룹 채우기
Microsoft.Windows.Server.10.0.PortMonitoringDisabled.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.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>