PowerPath - Alert for Dead Path

MomUIGeneratedRule559723a9d0c14755b98ba91f6b5a4c63 (Rule)

Element properties:

TargetType2ffc7805b58849798533012501337352
CategoryCustom
EnabledTrue
Event_ID2444
Event SourceHealth Service Script
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
PowerPath - Alert for Dead Path
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default
MomUIGenaratedModulefc427f61e815405f8183a4e83cff24cd WriteAction System.CommandExecuter Default

Source Code:

<Rule ID="MomUIGeneratedRule559723a9d0c14755b98ba91f6b5a4c63" Enabled="true" Target="Type2ffc7805b58849798533012501337352" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="MicrosoftWindowsLibrary6050000!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Property[Type="MicrosoftWindowsLibrary6050000!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2444</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Script</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="MomUIGeneratedRule559723a9d0c14755b98ba91f6b5a4c63.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression/>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
<WriteAction ID="MomUIGenaratedModulefc427f61e815405f8183a4e83cff24cd" TypeID="System!System.CommandExecuter">
<ApplicationName>%PowerPath_MOM_Path%\SNMPExtension\PPSNMPTrap.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>$Target/Property[Type="MicrosoftWindowsLibrary6050000!Microsoft.Windows.Computer"]/NetworkName$ EMCP_PATH_DEAD $Data/EventDescription$</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</WriteActions>
</Rule>