Обнаружение веб-сайтов IIS 8,0

Microsoft.Windows.InternetInformationServices.6.2.DiscoverAllWebSitesRefCountRule (Rule)

Это правило выполняется для каждого веб-сервера IIS 8,0 и обнаруживает установленные веб-сайты.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableFalse
CommentThis discovery discovers all web sites on system using File upload to transfer data items larger than 4MB

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.6.2.Duplicate Default
FileUploadWA WriteAction DiscoveryPublishData Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.DiscoverAllWebSitesRefCountRule" Enabled="onEssentialMonitoring" Target="IIS8!Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="false" Priority="Normal" Comment="This discovery discovers all web sites on system using File upload to transfer data items larger than 4MB">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.IISWebSiteDiscoveryDataSource.6.2.Duplicate">
<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>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="FileUploadWA" TypeID="DiscoveryPublishData"/>
</WriteActions>
</Rule>