Descoberta de site do IIS 8 (16-24\%)
Microsoft.Windows.InternetInformationServices.6.2.Discover16To24WebSites (Discovery)
Esta regra é executada em todos os servidores Web do IIS 8 e descobre quais sites estão instalados. Pode haver um grande número de sites em alguns servidores Web. Para manipular corretamente a descoberta de um grande número de sites, esta regra descobre somente um subconjunto de sites instalados.
Knowledge Base article: Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Windows.InternetInformationServices.6.2.Discover16To24WebSites" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.6.2.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.6.2.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.6.2.WebSite" PropertyID="ApplicationPoolName"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="FailedRequestTracingEnabled"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="FailedRequestTracingDirectory"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="StartAutomatically"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="ConnectionTimeout"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="MaxConnections"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite" PropertyID="MaximumBandwidth"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.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.6.2.WebSite.Contains.Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.8">
<PeriodInSeconds>3600</PeriodInSeconds>
<DiscoverySourceType>0</DiscoverySourceType>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
<LowerDiscoveryPercentage>16</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>24</UpperDiscoveryPercentage>
</DataSource>
</Discovery>