Zasada alertów o zdarzeniach nieprawidłowego adresu odbiorcy

Microsoft.SystemCenter.Notification.InvalidNotificationRecipientAddress.Alert (Rule)

Ta zasada tworzy alert za każdym razem, gdy zostanie wykryty nieprawidłowy adres odbiorcy powiadomienia

Knowledge Base article:

Podsumowanie

Powiadomienie nie zostało pomyślnie dostarczone. Jest to spowodowane nieprawidłowym adresem odbiorcy w subskrypcji.

Przyczyny

Podczas tworzenia odbiorcy powiadomienia w kreatorze odbiorcy podano nieprawidłowy adres. Podsystem powiadomień nie może wysłać powiadomienia na podany adres. Powiadomienie nie zostało dostarczone na ten adres.

Rozwiązania

Sprawdź odbiorców skojarzonych z tym adresem. Podany adres odbiorcy może być nieprawidłowy, nieważny lub źle wpisany. Nieprawidłowy adres jest wymieniony w opisie alertu. Właściwym adresem dla wiadomości e-mail i błyskawicznych jest prawidłowy adres e-mail, np. [email protected]. W przypadku wiadomości SMS właściwym adresem jest numer telefonu w formacie + <kod kraju> <kod obszaru> <numer telefonu>. Na przykład: +14258828080

Element properties:

TargetMicrosoft.SystemCenter.AlertNotificationSubscriptionServer
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityHigh
RemotableTrue
Alert Message
Adres odbiorcy jest nieprawidłowy
Adres odbiorcy '{1}' jest nieprawidłowy. Nie wysłano powiadomienia do tego odbiorcy za pomocą protokołu „{0}”. Identyfikator zasady: {2}
Event LogOperations Manager

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.Notification.InvalidNotificationRecipientAddress.Alert" Enabled="true" Target="Microsoft.SystemCenter.AlertNotificationSubscriptionServer" ConfirmDelivery="false">
<Category>Alert</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>.</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>31500</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.Notification.InvalidNotificationRecipientAddress.Alert.Message"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[5]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[7]$</AlertParameter2>
<AlertParameter3>$Data/Params/Param[2]$</AlertParameter3>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[5]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[7]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>