从 ServeRAID-8x/7x/6x 的 CIM 提供程序中收集 WMI/CIM 警报指示
This rule is used to collect ServeRAID information events.
Target | IBM.SystemX.ServeRAIDDevice.For.DirectorAgent.5.2x |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
WMIDS | DataSource | IBM.Windows.WmiEventProvider.EventProvider | Default |
Alert | WriteAction | IBM.ComponentHealth.WriteInfoEventAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="IBM.ServeRAID.InformationAlert.Generation.Rule" Enabled="true" Target="IBM.SystemX.ServeRAIDDevice.For.DirectorAgent.5.2x" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="WMIDS" TypeID="IBM.Windows.WmiEventProvider.EventProvider">
<NameSpace>root\adpt</NameSpace>
<Query>SELECT __Class, AlertingManagedElement, Description, EventID, PerceivedSeverity FROM ADPT_RaidMonitorAlertIndication</Query>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Property[@Name="PerceivedSeverity"]</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<PollInterval>900</PollInterval>
<EventLevel>4</EventLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="Alert" TypeID="IBM.ComponentHealth.WriteInfoEventAlert">
<AlertMessageId>$MPElement[Name="IBM.ServeRAID.InformationAlert.Generation.Rule.AlertMessageID"]$</AlertMessageId>
<!--0 Information, 1 Warning, 2 Error -->
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>