此规则监视子系统的故障事件。 引发故障关闭类型时,会关闭子系统上现有故障的 Operations Manager 警报。
此规则监视子系统的故障事件。 引发故障关闭类型时,会关闭子系统上现有故障的 Operations Manager 警报。
Target | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StorageSubSystem |
Category | Custom |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
WmiEventProviderDS | DataSource | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FaultWmiEventDataSource | Default |
CloseAlert | WriteAction | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.CloseAlertWriteAction | System.PrivilegedMonitoringAccount |
<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Substorage.CloseAlert.Rule" Enabled="true" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StorageSubSystem" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="WmiEventProviderDS" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FaultWmiEventDataSource">
<TargetInstanceUniqueID>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.StorageArray"]/UniqueID$</TargetInstanceUniqueID>
<TargetInstanceObjectID>$Target/Property[Type="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StorageSubSystem"]/ObjectId$</TargetInstanceObjectID>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<PollInterval>15</PollInterval>
<WQLQuery>Select SourceUniqueId, Reason, FaultingObjectLocation, FaultingObjectDescription, RecommendedActions, FaultId, PerceivedSeverity, SourceObjectId From MSFT_StorageFaultEvent Where SourceClassName = 'MSFT_StorageSubSystem' And ChangeType = 1</WQLQuery>
<TargetId>$Target/Id$</TargetId>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CloseAlert" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.CloseAlertWriteAction" Target="SystemCenter!Microsoft.SystemCenter.AllManagementServersPool" RunAs="System!System.PrivilegedMonitoringAccount">
<FaultId>$Data/Property[@Name='FaultId']$</FaultId>
<SourceUniqueId>$Data/Property[@Name='SourceUniqueId']$</SourceUniqueId>
<SourceObjectId>$Data/Property[@Name='SourceObjectId']$</SourceObjectId>
<TimeoutSeconds>300</TimeoutSeconds>
<RuleId1>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Substorage.Rule"]$</RuleId1>
<RuleId2>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Substorage.RefreshAlert.Rule"]$</RuleId2>
<RuleId3>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Substorage.SyncAlert.Rule"]$</RuleId3>
</WriteAction>
</WriteActions>
</Rule>