Сбой правила веб-публикации из-за недопустимого веб-прослушивателя, выбранного для данного правила

Microsoft.Forefront.TMG.A_Web_publishing_rule_failed_because_the_Web_listener_selected_for_the_rule_is_not_valid.Rule (Rule)

Это правило создает оповещения, если произошел сбой правила веб-публикации из-за недопустимого веб-прослушивателя, выбранного для данного правила

Knowledge Base article:

Сводка

Ошибка правила веб-публикации. Параметр события содержит имя правила веб-публикации.

Причины

Для данного правила выбран неверный веб-прослушиватель.

Решение

Проверьте, что веб-прослушиватель указывает на правильный IP-адрес на данном компьютере. Дополнительные сведения об определении веб-прослушивателей см. в справке TMG Server.

Element properties:

TargetMicrosoft.Forefront.TMG.Publishing.ServerComponent
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.A_Web_publishing_rule_failed_because_the_Web_listener_selected_for_the_rule_is_not_valid.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Publishing.ServerComponent" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21216)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Web Proxy</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.A_Web_publishing_rule_failed_because_the_Web_listener_selected_for_the_rule_is_not_valid.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>1</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>