Create Advanced Alert

SolarWinds.Orion.SCOM.Rule.GenerateAdvancedAlerts (Rule)

Creates an Operations Manager alert using data from SolarWinds server Advanced Alerts.

Element properties:

TargetSolarWinds.Orion.SCOM.Orion.Application
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.TargetEntitySdkEventProvider Default
ConditionDetection ConditionDetection System.ExpressionFilter Default
WA WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="SolarWinds.Orion.SCOM.Rule.GenerateAdvancedAlerts" Enabled="true" Target="SolarWinds.Orion.SCOM.Orion.Application" ConfirmDelivery="false">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemCenter!Microsoft.SystemCenter.TargetEntitySdkEventProvider"/>
</DataSources>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="ConditionDetection">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName>Orion Advanced Alert</AlertName>
<AlertDescription>$Data/EventDescription$</AlertDescription>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[2]$</AlertParameter2>
</AlertParameters>
<Suppression/>
</WriteAction>
</WriteActions>
</Rule>