XIV Event Rule

IBM.Storage.XIV.EventRule (Rule)

Element properties:

TargetIBM.Storage.XIV.Device
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
XIVEventProvider DataSource IBM.Storage.XIV.EventDataSourceModuleType Default
EventDataMapper ConditionDetection System.Event.GenericDataMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="IBM.Storage.XIV.EventRule" Enabled="true" Target="IBM.Storage.XIV.Device" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="XIVEventProvider" TypeID="IBM.Storage.XIV.EventDataSourceModuleType">
<IntervalSeconds>600</IntervalSeconds>
<TimeoutSeconds>1800</TimeoutSeconds>
<InstancePropertyValue>$Target/Property[Type='IBM.Storage.XIV.Device']/system_id$</InstancePropertyValue>
<SCOMSeverity>5</SCOMSeverity>
</DataSource>
</DataSources>
<ConditionDetection ID="EventDataMapper" TypeID="System!System.Event.GenericDataMapper">
<EventOriginId>$Target/Id$</EventOriginId>
<PublisherId>$MPElement$</PublisherId>
<PublisherName>$Data/Property[@Name='device_name']$</PublisherName>
<Channel>System event log</Channel>
<LoggingComputer>$Data/Property[@Name='device_name']$</LoggingComputer>
<EventNumber>$Data/Property[@Name='index']$</EventNumber>
<EventCategory>0</EventCategory>
<EventLevel>$Data/Property[@Name='scom_severity']$</EventLevel>
<UserName>$Data/Property[@Name='user_name']$</UserName>
<Description>$Data/Property[@Name='description']$</Description>
<Params>
<Param>$Data/Property[@Name='device_id']$</Param>
<Param>$Data/Property[@Name='severity']$</Param>
<Param>$Data/Property[@Name='alerting']$</Param>
<Param>$Data/Property[@Name='cleared']$</Param>
<Param>$Data/Property[@Name='node']$</Param>
<Param>$Data/Property[@Name='user_event']$</Param>
<Param>$Data/Property[@Name='user_uid']$</Param>
<Param>$Data/Property[@Name='timestamp']$</Param>
<Param>$Data/Property[@Name='trouble_shooting']$</Param>
</Params>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>