Bu kural, gerçek durumdaki Depolama Alt Sistemi ile ilgili uyarıları saklamak için gereklidir. Geçerli koşula bağlı olarak, yeni uyarıları oluşturur, mevcut uyarıları güncelleştirir ve gerçek olmayan uyarıları kapatır.
Bu kural, gerçek durumdaki Depolama Alt Sistemi ile ilgili uyarıları saklamak için gereklidir. Geçerli koşula bağlı olarak, yeni uyarıları oluşturur, mevcut uyarıları güncelleştirir ve gerçek olmayan uyarıları kapatır.
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.FaultWmiAlertEventDataSource | Default |
CloseAlert | WriteAction | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.CloseAlertsWriteAction | System.PrivilegedMonitoringAccount |
GenerateAlert | WriteAction | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.GenerateAlertWriteAction | Default |
<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Substorage.RefreshAlert.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.FaultWmiAlertEventDataSource">
<InstanceType>SSS</InstanceType>
<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 AlertType from MSFT_StorageAlertEvent Where AlertType=2</WQLQuery>
<TargetId>$Target/Id$</TargetId>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.GenerateAlertWriteAction">
<Priority>2</Priority>
<Severity>$Data/Property[@Name='Severity']$</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.StorageSubSystem.Rule.AlertMessage"]$</AlertMessageId>
<AlertParam1>$Data/Property[@Name='SourceUniqueId']$</AlertParam1>
<AlertParam2>$Data/Property[@Name='Reason']$</AlertParam2>
<AlertParam3>$Data/Property[@Name='FaultingObjectDescription']$</AlertParam3>
<AlertParam4>$Data/Property[@Name='RecommendedActions']$</AlertParam4>
<SuppressionValue>$Data/Property[@Name='FaultId']$</SuppressionValue>
<Custom1>fault</Custom1>
</WriteAction>
<WriteAction ID="CloseAlert" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.CloseAlertsWriteAction" RunAs="System!System.PrivilegedMonitoringAccount" Target="SystemCenter!Microsoft.SystemCenter.AllManagementServersPool">
<FaultId>$Data/Property[@Name='FaultId']$</FaultId>
<StorageUniqueID>$Data/Property[@Name='SourceUniqueId']$</StorageUniqueID>
<StorageObjectID>$Data/Property[@Name='SourceObjectId']$</StorageObjectID>
<TargetId>$Data/Property[@Name='TargetId']$</TargetId>
<DataType>$Data/Property[@Name='DataType']$</DataType>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>