IIS 7 Web Site Discovery (16-24 percent)

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

This rule runs against every IIS 7 Web Server and discovers which web sites are installed. On some web servers there might be a very large number of web sites. To properly handle discovery of a large number of web sites, this rule discovers only a subset of the installed web sites.

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.Discover16To24WebSites" 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>16</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>24</UpperDiscoveryPercentage>
</DataSource>
</Discovery>