IIS 7 网站发现 (72-80\%)

Microsoft.Windows.InternetInformationServices.2008.Discover72To80WebSites (Discovery)

该规则针对每台 IIS 7 Web 服务器运行并发现安装了哪些网站。 在有些 Web 服务器上,可能有数量非常巨大的网站。 为了正确处理大量网站的发现过程,该规则只发现一部分已安装的网站。

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebServer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.2008 Default

Source Code:

<Discovery ID="Microsoft.Windows.InternetInformationServices.2008.Discover72To80WebSites" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.WebServer" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.2008.WebServer">
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebServer" PropertyID="IIS5IsolationMode"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebServer" PropertyID="LogIsUTF8"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite">
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="SiteID"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="Description"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="ServerBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="SecureBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="Path"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="LogFileDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="LogFileType"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="BITS"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="LogFilePattern"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="LoggingEnabled"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="AnonymousUsername"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="CacheISAPI"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="AllowKeepAlive"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="URL"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite" PropertyID="PerfCounterInstance"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="ApplicationPoolName"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="FailedRequestTracingEnabled"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="FailedRequestTracingDirectory"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="StartAutomatically"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="ConnectionTimeout"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="MaxConnections"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="MaximumBandwidth"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite" PropertyID="ID"/>
</DiscoveryClass>
<DiscoveryClass TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool">
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool" PropertyID="PoolID"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite.Contains.Microsoft.Windows.InternetInformationServices.2008.ApplicationPool"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.2008">
<PeriodInSeconds>14400</PeriodInSeconds>
<DiscoverySourceType>0</DiscoverySourceType>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
<LowerDiscoveryPercentage>72</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>80</UpperDiscoveryPercentage>
</DataSource>
</Discovery>