Invalid recipient address event alerting rule

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

This rule produces alert every time the system finds notification recipient's address that is not valid

Knowledge Base article:

Summary

A Notification was not delivered successfully. This was due to an invalid recipient address in the subscription.

Causes

The address entered in the recipient wizard while creating the notification recipient was incorrect. Notification subsystem was unable to send the notification to the provided address. Notification was not delivered to the address.

Resolutions

Check the recipient(s) associated with the address. The address provided for the recipient may be incorrect, invalid or mistyped. The invalid address is listed in the alert description. Valid address for Email and IM is a valid email address such as [email protected]. In the case of SMS, a valid address is the phone number in the format + <country code> <Area code> <phone number>. For example, +14258828080

Element properties:

TargetMicrosoft.SystemCenter.AlertNotificationSubscriptionServer
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityHigh
RemotableTrue
Alert Message
Recipient address is not valid
Recipient address '{1}' is not valid. Notification was not sent to this recipient over '{0}' protocol. Rule id: {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>