IIS 8.0 Web 应用程序发现数据源模块

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

此探测模块规则发现已安装的所有 Web 应用程序。

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.6.2.Duplicate Default

Overrideable Parameters:

IDParameterTypeSelector
PeriodInSecondsint$Config/PeriodInSeconds$
WebApplicationDiscoverEmptyDirectorybool$Config/WebApplicationDiscoverEmptyDirectory$发现空目录作为 ASP.NET Web 应用程序设置为 True 以将具有空根虚拟目录的应用程序视为 ASP.NET Web 应用程序。
WebApplicationDiscoverAllDirectoriesbool$Config/WebApplicationDiscoverAllDirectories$发现作为 ASP.NET Web 应用程序的所有目录设置为 True 以发现以前未作为 ASP.NET Web 应用程序或 ASP.NET Web 服务发现的应用程序。 此标志将 IIS 发现工作流配置为以 ASP.NET Web 应用程序形式发现未知应用程序,以便可以用 .NET 应用程序性能监视模板监视这些程序。
WebApplicationAdditionalExtensionsstring$Config/WebApplicationAdditionalExtensions$ASP.NET Web 应用程序发现的附加文件扩展名提供用分号(;)隔开的文件扩展名的列表,此列表应该用于将应用程序标识为 ASP.NET Web 应用程序。 IIS 7 发现所使用的默认模式用于在虚拟目录中查找 .aspx 文件,如果找到任何此类文件,则将创建 ASP.NET Web 应用程序终结点。 新文件扩展名字符串列表的示例为 "foo;bar",它指定诸如 myFile.foo 和 myFile.bar 之类的文件,这些文件表示 ASP.NET Web 应用程序。
WebServiceDiscoverEmptyDirectorybool$Config/WebServiceDiscoverEmptyDirectory$发现空目录作为 ASP.NET Web 服务设置为 True 以将具有空根虚拟目录的应用程序视为 ASP.NET Web 服务。
WebServiceAdditionalExtensionsstring$Config/WebServiceAdditionalExtensions$ASP.NET Web 服务发现的附加文件扩展名提供用分号(;)隔开的文件扩展名的列表,此列表应该用于将应用程序标识为 ASP.NET Web 服务。 IIS 7 发现所使用的默认模式用于在虚拟目录中查找 .asmx 文件,如果找到任何此类文件,则将创建 ASP.NET Web 服务终结点。 新文件扩展名字符串列表的示例为 "foo;bar",它指定诸如 myFile.foo 和 myFile.bar 之类的文件,这些文件表示 ASP.NET Web 服务

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.IIS.IISAspDiscoveryDataSource.6.2.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.6.2.Duplicate">
<DiscoverySourceType>$Config/DiscoverySourceType$</DiscoverySourceType>
<DiscoverySourceObjectId>$Config/DiscoverySourceObjectId$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Config/DiscoverySourceManagedEntityId$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Config/ComputerPrincipalName$</ComputerPrincipalName>
<GUIDAspApplication>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebApplicationEndpoint"]$</GUIDAspApplication>
<GUIDAspApplication__ApplicationVRoot>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebApplicationEndpoint"]/ApplicationVRoot$</GUIDAspApplication__ApplicationVRoot>
<GUIDAspApplication__IISApplicationName>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebApplicationEndpoint"]/IISApplicationName$</GUIDAspApplication__IISApplicationName>
<GUIDAspApplication__Name>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebApplicationEndpoint"]/Name$</GUIDAspApplication__Name>
<GUIDWebServiceApplication>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebServiceEndpoint"]$</GUIDWebServiceApplication>
<GUIDWebServiceApplication__ApplicationVRoot>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebServiceEndpoint"]/ApplicationVRoot$</GUIDWebServiceApplication__ApplicationVRoot>
<GUIDWebServiceApplication__IISApplicationName>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebServiceEndpoint"]/IISApplicationName$</GUIDWebServiceApplication__IISApplicationName>
<GUIDWebServiceApplication__Name>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.AspNetWebServiceEndpoint"]/Name$</GUIDWebServiceApplication__Name>
<GUIDWebSite>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.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="IIS8!Microsoft.Windows.InternetInformationServices.6.2.Discover0To20WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.Discover20To40WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.Discover40To60WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.Discover60To80WebApplications"]$</RuleGuid>
<RuleGuid>$MPElement[Name="IIS8!Microsoft.Windows.InternetInformationServices.6.2.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>