Populate Microsoft Windows Internet Information Services 2003 Servers Computer Group Discovery Rule

Microsoft.Windows.InternetInformationServices.2003.ComputerGroupDiscovery (Discovery)

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the Windows Internet Information Services 2003 Computer group named “IIS 2003 Computer Group” with instances of computers that are running any version of Microsoft Windows Internet Information Services.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2003.ComputerGroup
EnabledTrue
RemotableFalse

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.Windows.InternetInformationServices.2003.ComputerGroupDiscovery" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2003.ComputerGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<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.InternetInformationServices.2003.ServerRole"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>