SLD Sample - Microsoft.com Watcher Group Discovery
WebApplication_0483fe36bf634410b82439dea0bd071aWatcherComputersGroup.Discovery.Rule (Discovery)
Discovery for SLD Sample - Microsoft.com watcher computers
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="WebApplication_0483fe36bf634410b82439dea0bd071aWatcherComputersGroup.Discovery.Rule" Enabled="true" Target="WebApplication_0483fe36bf634410b82439dea0bd071aWatcherComputersGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="WebApplication_0483fe36bf634410b82439dea0bd071aWatcherComputersGroup"/>
</DiscoveryTypes>
<DataSource ID="GroupPopulationDataSource" TypeID="SystemCenter!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SystemCenter!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<IncludeList>
<MonitoringObjectId>c25f3ad9-dee2-dcfd-0baa-e46b5a988223</MonitoringObjectId>
</IncludeList>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SystemCenter!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<Expression>
<Contains maxDepth="1">
<MonitoringClass>$MPElement[Name="WebApplication_0483fe36bf634410b82439dea0bd071aWatcherComputersGroup"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>