Не удалось записать в реестр дату последней ежедневной сводки

Microsoft.Forefront.TMG.Failed_to_write_the_last_daily_summary_date_to_the_registry.Rule (Rule)

Это правило создает оповещения, если не удалось записать в реестр дату последней ежедневной сводки

Knowledge Base article:

Сводка

Модулю создания отчетов TMG Server не удалось записать в реестр последнюю дату создания ежедневной сводки. Поэтому при создании следующей сводки модулем создания отчетов TMG Server будет сделана попытка заново создать одну или несколько сводок.

Причины

Эта ошибка может произойти по одной из указанных ниже причин.

Решение

Element properties:

TargetMicrosoft.Forefront.TMG.Server
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.Failed_to_write_the_last_daily_summary_date_to_the_registry.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Server" 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/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21158)$</EventsPattern>
<EventType>2</EventType>
<SourcePattern>Microsoft Forefront TMG Report Generator</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.Failed_to_write_the_last_daily_summary_date_to_the_registry.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>1</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>