IIS WCF Web Service Discovery Rule

Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery (Discovery)

Discovery rule used to find WCF Services deployed to IIS. The default pattern used by the discovery is to look for .svc files in the virtual directory, if any are found a WCF Service endpoint will be created. To specify additional file types that represent a WCF service override the AdditionalExtensions property and provide a semi-colon (;) delimited list of file extensions. An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent WCF Services.

Element properties:

TargetMicrosoft.SystemCenter.Apm.ApmAgent
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.Apm.IIS2008WcfApplicationDiscoveryDataSource Default

Source Code:

<Discovery ID="Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery" Priority="Normal" Remotable="false" ConfirmDelivery="false" Target="AI!Microsoft.SystemCenter.Apm.ApmAgent" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.Apm.IIS.2008.WCFServiceApplication">
<Property TypeID="Microsoft.SystemCenter.Apm.IIS.2008.WCFServiceApplication" PropertyID="ApplicationVRoot"/>
<Property TypeID="Microsoft.SystemCenter.Apm.IIS.2008.WCFServiceApplication" PropertyID="IISApplicationName"/>
<Property TypeID="Microsoft.SystemCenter.Apm.IIS.2008.WCFServiceApplication" PropertyID="Name"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.Apm.IIS2008WcfApplicationDiscoveryDataSource">
<ComputerPrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
<DiscoveryType>0</DiscoveryType>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<DiscoverEmptyDirectoriesAsWcfApplication>false</DiscoverEmptyDirectoriesAsWcfApplication>
<AdditionalExtensions/>
<IntervalSeconds>14400</IntervalSeconds>
</DataSource>
</Discovery>