Odnajdywanie grupy serwerów sieci Web usług IIS 10 systemu Nano
Microsoft.Windows.InternetInformationServices.10.0.NanoWebServerGroupDiscovery.Rule (Discovery)
Ta reguła powoduje wstawienie wszystkich serwerów sieci Web z systemem Windows Server Nano do grupy serwerów sieci Web usług IIS 10 systemu Nano.
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.InternetInformationServices.10.0.NanoWebServerGroupDiscovery.Rule" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.NanoWebServerGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.InternetInformationServices.10.0.NanoWebServerGroup.Contains.Microsoft.Windows.InternetInformationServices.10.0.WebServer"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WebServer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.NanoWebServerGroup.Contains.Microsoft.Windows.InternetInformationServices.10.0.WebServer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WebServer.NanoSeed"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>