IIS 7 网站发现数据源

Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.2008 (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsSystem.PrivilegedMonitoringAccount
OutputTypeSystem.Discovery.Data

Member Modules:

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

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
PeriodInSecondsint$Config/PeriodInSeconds$间隔(秒)
LowerDiscoveryPercentageint$Config/LowerDiscoveryPercentage$发现范围开始位置(百分比)
UpperDiscoveryPercentageint$Config/UpperDiscoveryPercentage$发现范围结束位置(百分比)

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.2008" Accessibility="Internal" RunAs="System!System.PrivilegedMonitoringAccount" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="PeriodInSeconds" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" name="DiscoverySourceType" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" name="DiscoverySourceObjectId" type="xsd:string"/>
<xsd:element minOccurs="1" name="DiscoverySourceManagedEntityId" type="xsd:string"/>
<xsd:element minOccurs="1" name="ComputerPrincipalName" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="LowerDiscoveryPercentage" type="xsd:unsignedInt"/>
<xsd:element minOccurs="0" maxOccurs="1" name="UpperDiscoveryPercentage" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="PeriodInSeconds" Selector="$Config/PeriodInSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LowerDiscoveryPercentage" Selector="$Config/LowerDiscoveryPercentage$" ParameterType="int"/>
<OverrideableParameter ID="UpperDiscoveryPercentage" Selector="$Config/UpperDiscoveryPercentage$" ParameterType="int"/>
</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.IISWebSiteDiscoveryProbe.2008">
<DiscoverySourceType>$Config/DiscoverySourceType$</DiscoverySourceType>
<DiscoverySourceObjectId>$Config/DiscoverySourceObjectId$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Config/DiscoverySourceManagedEntityId$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Config/ComputerPrincipalName$</ComputerPrincipalName>
<GUIDWebServer>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebServer"]$</GUIDWebServer>
<GUIDWebServer__IIS5IsolationMode>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebServer"]/IIS5IsolationMode$</GUIDWebServer__IIS5IsolationMode>
<GUIDWebServer__LogIsUTF8>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebServer"]/LogIsUTF8$</GUIDWebServer__LogIsUTF8>
<GUIDWebSite>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]$</GUIDWebSite>
<GUIDWebSite__SiteID>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/SiteID$</GUIDWebSite__SiteID>
<GUIDWebSite__Description>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/Description$</GUIDWebSite__Description>
<GUIDWebSite__ServerBindings>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/ServerBindings$</GUIDWebSite__ServerBindings>
<GUIDWebSite__SecureBindings>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/SecureBindings$</GUIDWebSite__SecureBindings>
<GUIDWebSite__Path>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/Path$</GUIDWebSite__Path>
<GUIDWebSite__LogFileDirectory>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/LogFileDirectory$</GUIDWebSite__LogFileDirectory>
<GUIDWebSite__LogFileType>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/LogFileType$</GUIDWebSite__LogFileType>
<GUIDWebSite__BITS>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/BITS$</GUIDWebSite__BITS>
<GUIDWebSite__LogFilePattern>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/LogFilePattern$</GUIDWebSite__LogFilePattern>
<GUIDWebSite__LoggingEnabled>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/LoggingEnabled$</GUIDWebSite__LoggingEnabled>
<GUIDWebSite__AnonymousUsername>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/AnonymousUsername$</GUIDWebSite__AnonymousUsername>
<GUIDWebSite__CacheISAPI>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/CacheISAPI$</GUIDWebSite__CacheISAPI>
<GUIDWebSite__AllowKeepAlive>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/AllowKeepAlive$</GUIDWebSite__AllowKeepAlive>
<GUIDWebSite__URL>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/URL$</GUIDWebSite__URL>
<GUIDWebSite__PerfCounterInstance>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/PerfCounterInstance$</GUIDWebSite__PerfCounterInstance>
<GUIDWebSite__ApplicationPoolName>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/ApplicationPoolName$</GUIDWebSite__ApplicationPoolName>
<GUIDWebSite__FailedRequestTracingEnabled>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/FailedRequestTracingEnabled$</GUIDWebSite__FailedRequestTracingEnabled>
<GUIDWebSite__FailedRequestTracingDirectory>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/FailedRequestTracingDirectory$</GUIDWebSite__FailedRequestTracingDirectory>
<GUIDWebSite__StartAutomatically>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/StartAutomatically$</GUIDWebSite__StartAutomatically>
<GUIDWebSite__ConnectionTimeout>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/ConnectionTimeout$</GUIDWebSite__ConnectionTimeout>
<GUIDWebSite__MaxConnections>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/MaxConnections$</GUIDWebSite__MaxConnections>
<GUIDWebSite__MaximumBandwidth>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/MaximumBandwidth$</GUIDWebSite__MaximumBandwidth>
<GUIDWebSite__ID>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite"]/ID$</GUIDWebSite__ID>
<GUIDApplicationPool>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.ApplicationPool"]$</GUIDApplicationPool>
<GUIDApplicationPool__PoolID>$MPElement[Name="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool"]/PoolID$</GUIDApplicationPool__PoolID>
<GUIDWebSiteReferencesApplicationPool>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WebSite.Contains.Microsoft.Windows.InternetInformationServices.2008.ApplicationPool"]$</GUIDWebSiteReferencesApplicationPool>
<LowerDiscoveryPercentage>$Config/LowerDiscoveryPercentage$</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>$Config/UpperDiscoveryPercentage$</UpperDiscoveryPercentage>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>