Flex Event Scan

IBM.Storage.Flex.EventScan (Rule)

Flex Event Scan Rule

Element properties:

TargetIBM.Storage.Flex.Cluster
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
provider DataSource IBM.Storage.Flex.EventDataSource Default
Mapper ConditionDetection System.Event.GenericDataMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="IBM.Storage.Flex.EventScan" Enabled="true" Target="IBM.Storage.Flex.Cluster" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="provider" TypeID="IBM.Storage.Flex.EventDataSource">
<IntervalSeconds>600</IntervalSeconds>
<TimeoutSeconds>1800</TimeoutSeconds>
<InstancePropertyValue>$Target/Property[Type='IBM.Storage.Flex.Cluster']/id$</InstancePropertyValue>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="System!System.Event.GenericDataMapper">
<EventOriginId>$MPElement$</EventOriginId>
<PublisherId>$MPElement$</PublisherId>
<PublisherName>$Data/Property[@Name='ClusterName']$</PublisherName>
<Channel>$Data/Property[@Name='object_type']$</Channel>
<LoggingComputer>$Data/Property[@Name='ClusterID']$</LoggingComputer>
<EventNumber>$Data/Property[@Name='sequence_number']$</EventNumber>
<EventCategory>0</EventCategory>
<EventLevel>4</EventLevel>
<UserName/>
<Description>$Data/Property[@Name='description']$</Description>
<Params/>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>