Storwize.V3700 AlertScan

IBM.Storage.Storwize.V3700.AlertScan (Rule)

Element properties:

TargetIBM.Storage.Storwize.V3700.Cluster
CategoryCustom
EnabledTrue
Alert GenerateTrue
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
AlertPrivider DataSource IBM.Storage.Storwize.V3700.AlertDataSource Default
HealthAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="IBM.Storage.Storwize.V3700.AlertScan" Enabled="true" Target="IBM.Storage.Storwize.V3700.Cluster" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="AlertPrivider" TypeID="IBM.Storage.Storwize.V3700.AlertDataSource">
<IntervalSeconds>600</IntervalSeconds>
<TimeoutSeconds>600</TimeoutSeconds>
<InstancePropertyValue>$Target/Property[Type='IBM.Storage.Storwize.V3700.Cluster']/id$</InstancePropertyValue>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="HealthAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>$Data/Property[@Name='scom_priority']$</Priority>
<Severity>$Data/Property[@Name='scom_severity']$</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID54af5e24ba644dc39b9f1b755fb08080"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Property[@Name='event_id']$</AlertParameter1>
<AlertParameter2>$Data/Property[@Name='ClusterName']$</AlertParameter2>
<AlertParameter3>$Data/Property[@Name='ClusterID']$</AlertParameter3>
<AlertParameter4>$Data/Property[@Name='object_type']$</AlertParameter4>
<AlertParameter5>$Data/Property[@Name='object_id']$</AlertParameter5>
<AlertParameter6>$Data/Property[@Name='object_name']$</AlertParameter6>
<AlertParameter7>$Data/Property[@Name='error_code']$</AlertParameter7>
<AlertParameter8>$Data/Property[@Name='sequence_number']$</AlertParameter8>
<AlertParameter9>$Data/Property[@Name='timestamp']$</AlertParameter9>
<AlertParameter10>$Data/Property[@Name='description']$</AlertParameter10>
</AlertParameters>
<Custom1>$Data/Property[@Name='event_id']$</Custom1>
<Custom2>$Data/Property[@Name='ClusterName']$</Custom2>
<Custom3>$Data/Property[@Name='ClusterID']$</Custom3>
<Custom4>$Data/Property[@Name='object_type']$</Custom4>
<Custom5>$Data/Property[@Name='object_id']$</Custom5>
<Custom6>$Data/Property[@Name='object_name']$</Custom6>
<Custom7>$Data/Property[@Name='error_code']$</Custom7>
<Custom8>$Data/Property[@Name='sequence_number']$</Custom8>
<Custom9>$Data/Property[@Name='timestamp']$</Custom9>
<Custom10>$Data/Property[@Name='description']$</Custom10>
</WriteAction>
</WriteActions>
</Rule>