IIS 7.0 Web Application Discovery DataSource Module

Microsoft.Windows.Server.IIS.IISAspDiscoveryDataSource.2008.Duplicate (DataSourceModuleType)

This probe module rule discovers all web applications that are installed.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsSystem.PrivilegedMonitoringAccount
OutputTypeSystem.Discovery.Data
CommentDuplicate IIS 7 Web Site Discovery DataSource recreated here because original DS in IIS 7 MP is internal.

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Discovery.Scheduler Default
Probe ProbeAction Microsoft.Windows.Server.IIS.IISAspDiscoveryProbe.2008.Duplicate Default

Overrideable Parameters:

IDParameterTypeSelector
PeriodInSecondsint$Config/PeriodInSeconds$
WebApplicationDiscoverEmptyDirectorybool$Config/WebApplicationDiscoverEmptyDirectory$Discover empty directories as ASP.NET Web ApplicationSet to True to treat applications with an empty root virtual directory as an ASP.NET Web Application.
WebApplicationDiscoverAllDirectoriesbool$Config/WebApplicationDiscoverAllDirectories$Discover all directories as ASP.NET Web ApplicationSet to True to discover an application that was not previously discovered as an ASP.NET Web Application or ASP.NET Web Service. This flag configures the IIS discovery workflow to discover the unknown applications as ASP.NET Web Applications so that you can monitor them with the .NET Application Performance Monitoring template.
WebApplicationAdditionalExtensionsstring$Config/WebApplicationAdditionalExtensions$Additional file extensions for ASP.NET Web Application discoveryProvide a list of file extensions, separated by a semi-colon (;), that should be used to identify an application as an ASP.NET Web Application. The default pattern used by the IIS 7 discovery is to look for .aspx files in the virtual directory, if any are found an ASP.NET Web Application endpoint will be created. An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent ASP.NET Web Applications.
WebServiceDiscoverEmptyDirectorybool$Config/WebServiceDiscoverEmptyDirectory$Discover empty directories as ASP.NET Web ServiceSet to True to treat applications with an empty root virtual directory as an ASP.NET Web Service.
WebServiceAdditionalExtensionsstring$Config/WebServiceAdditionalExtensions$Additional file extensions for ASP.NET Web Service discoveryProvide a list of file extensions, separated by a semi-colon (;), that should be used to identify an application as an ASP.NET Web Service. The default pattern used by the IIS 7 discovery is to look for .asmx files in the virtual directory, if any are found an ASP.NET Web Service endpoint will be created. An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent ASP.NET Web Services

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.IIS.IISAspDiscoveryDataSource.2008.Duplicate" Accessibility="Internal" RunAs="System!System.PrivilegedMonitoringAccount" Batching="false" Comment="Duplicate IIS 7 Web Site Discovery DataSource recreated here because original DS in IIS 7 MP is internal.">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="PeriodInSeconds" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DiscoverySourceType" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DiscoverySourceObjectId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DiscoverySourceManagedEntityId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerPrincipalName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebApplicationDiscoverEmptyDirectory" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebApplicationDiscoverAllDirectories" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebApplicationAdditionalExtensions" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebServiceDiscoverEmptyDirectory" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebServiceAdditionalExtensions" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="PeriodInSeconds" Selector="$Config/PeriodInSeconds$" ParameterType="int"/>
<OverrideableParameter ID="WebApplicationDiscoverEmptyDirectory" ParameterType="bool" Selector="$Config/WebApplicationDiscoverEmptyDirectory$"/>
<OverrideableParameter ID="WebApplicationDiscoverAllDirectories" ParameterType="bool" Selector="$Config/WebApplicationDiscoverAllDirectories$"/>
<OverrideableParameter ID="WebApplicationAdditionalExtensions" ParameterType="string" Selector="$Config/WebApplicationAdditionalExtensions$"/>
<OverrideableParameter ID="WebServiceDiscoverEmptyDirectory" ParameterType="bool" Selector="$Config/WebServiceDiscoverEmptyDirectory$"/>
<OverrideableParameter ID="WebServiceAdditionalExtensions" ParameterType="string" Selector="$Config/WebServiceAdditionalExtensions$"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/PeriodInSeconds$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.Server.IIS.IISAspDiscoveryProbe.2008.Duplicate">
<DiscoverySourceType>$Config/DiscoverySourceType$</DiscoverySourceType>
<DiscoverySourceObjectId>$Config/DiscoverySourceObjectId$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Config/DiscoverySourceManagedEntityId$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Config/ComputerPrincipalName$</ComputerPrincipalName>
<GUIDAspApplication>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebApplicationEndpoint"]$</GUIDAspApplication>
<GUIDAspApplication__ApplicationVRoot>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebApplicationEndpoint"]/ApplicationVRoot$</GUIDAspApplication__ApplicationVRoot>
<GUIDAspApplication__IISApplicationName>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebApplicationEndpoint"]/IISApplicationName$</GUIDAspApplication__IISApplicationName>
<GUIDAspApplication__Name>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebApplicationEndpoint"]/Name$</GUIDAspApplication__Name>
<GUIDWebServiceApplication>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebServiceEndpoint"]$</GUIDWebServiceApplication>
<GUIDWebServiceApplication__ApplicationVRoot>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebServiceEndpoint"]/ApplicationVRoot$</GUIDWebServiceApplication__ApplicationVRoot>
<GUIDWebServiceApplication__IISApplicationName>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebServiceEndpoint"]/IISApplicationName$</GUIDWebServiceApplication__IISApplicationName>
<GUIDWebServiceApplication__Name>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.AspNetWebServiceEndpoint"]/Name$</GUIDWebServiceApplication__Name>
<GUIDWebSite>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.WebSite"]$</GUIDWebSite>
<GUIDWebSite__SiteID>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/SiteID$</GUIDWebSite__SiteID>
<LowerDiscoveryPercentage>0</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>100</UpperDiscoveryPercentage>
<DeprecatedRules>
<RuleGuids>
<RuleGuid>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.Discover0To20WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.Discover20To40WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.Discover40To60WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.Discover60To80WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS7!Microsoft.Windows.InternetInformationServices.2008.Discover80To100WebApplications"]$</RuleGuid>
</RuleGuids>
</DeprecatedRules>
<ExtendedSettings>
<WebApplicationDiscoverEmptyDirectory>$Config/WebApplicationDiscoverEmptyDirectory$</WebApplicationDiscoverEmptyDirectory>
<WebApplicationDiscoverAllDirectories>$Config/WebApplicationDiscoverAllDirectories$</WebApplicationDiscoverAllDirectories>
<WebApplicationAdditionalExtensions>$Config/WebApplicationAdditionalExtensions$</WebApplicationAdditionalExtensions>
<WebServiceDiscoverEmptyDirectory>$Config/WebServiceDiscoverEmptyDirectory$</WebServiceDiscoverEmptyDirectory>
<WebServiceAdditionalExtensions>$Config/WebServiceAdditionalExtensions$</WebServiceAdditionalExtensions>
</ExtendedSettings>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>