HPE 3PAR Storage Warning Rule

HPEnterpriseStorage3PARMP.WarningTrap.Rule (Rule)

Knowledge Base article:

Management Pack
Summary
To find more information about your HPE 3PAR Storage, visit http://www8.hp.com/us/en/products/disk-storage/index.html
 
Resolutions
For additional troubleshooting information for your HPE 3PAR Storage, refer to the product support site: http://www8.hp.com/us/en/products/disk-storage/index.html
 
Other Information
To find more information about HPE Storage products and solutions, visit http://www.hp.com/storage
 
© © Copyright 2017,2018 Hewlett Packard Enterprise Development, L.P., ALL RIGHTS RESERVED.

Element properties:

TargetHPEnterpriseStorage3PARMP.SNMPTrap
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
HPE 3PAR Storage Warning
Event Description {0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
FilterDescription ConditionDetection System.ExpressionFilter Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="HPEnterpriseStorage3PARMP.WarningTrap.Rule" Enabled="true" Target="HPEnterpriseStorage3PARMP.SNMPTrap" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="WindowsLibrary!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Property[Type="HPEnterpriseStorage3PARMP.SNMPTrap"]/Name$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">102</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterDescription" TypeID="SystemLibrary!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>SNMP_ThreeParMIB_alertNotify_Notification</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="Alert" TypeID="HealthLibrary!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="HPEnterpriseStorage3PARMP.WarningTrap.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression/>
<Custom1>HPE 3PAR &amp; Primera Storage</Custom1>
<Custom2>HPE Storage</Custom2>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>