Ошибка обнаружения компонентов IIS из-за недостаточных полномочий

Microsoft.Windows.InternetInformationServices.10.0.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs (Rule)

Knowledge Base article:

Сводка

Модулю обнаружения IIS не удалось выполнить обнаружение компонентов IIS из-за использования правилом обнаружения учетной записи с недостаточными полномочиями. До устранения ошибки на этом веб-сервере не будут обнаруживаться такие компоненты, как пулы приложений или сайты.

Причины

Учетная запись действий агента или учетная запись, используемая в профиле привилегированного мониторинга RunAs, не имеет достаточных полномочий для выполнения обнаружения в службе IIS.

Решения

Настройте профиль привилегированного мониторинга RunAs для использования учетной записи, которая имеет доступ к файлам конфигурации, используемым службой IIS. Обычно эти файлы хранятся в каталоге C:\Windows\System32\inetsrv\config.

Element properties:

TargetMicrosoft.Windows.Server.10.0.Computer
CategoryAlert
EnabledFalse
Event_ID33015
Event SourceHealth Service Modules
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Ошибка обнаружения компонентов IIS из-за недостаточных полномочий
Описание события: {0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs" Enabled="false" Target="WindowsvNextDiscovery!Microsoft.Windows.Server.10.0.Computer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">33015</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>