SCOM S2D: 스토리지 볼륨 경고 새로 고침 규칙

Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume.RefreshAlert.Rule (Rule)

이 규칙은 스토리지 볼륨과 관련된 경고를 실제 상태로 유지하는 데 필요합니다. 현재 조건에 따라 새 경고를 열고, 기존 경고를 업데이트하며, 실제가 아닌 경고를 종료합니다.

Knowledge Base article:

요약

이 규칙은 스토리지 볼륨과 관련된 경고를 실제 상태로 유지하는 데 필요합니다. 현재 조건에 따라 새 경고를 열고, 기존 경고를 업데이트하며, 실제가 아닌 경고를 종료합니다.

Element properties:

TargetMicrosoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume.RefreshAlert.Rule" Enabled="true" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume" 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>V</InstanceType>
<TargetInstanceUniqueID>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.Volume"]/UniqueID$</TargetInstanceUniqueID>
<TargetInstanceObjectID>$Target/Property[Type="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume"]/ObjectId$</TargetInstanceObjectID>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<PollInterval>15</PollInterval>
<WQLQuery>Select SourceObjectId, AlertType from MSFT_StorageAlertEvent Where AlertType=2</WQLQuery>
<TargetId>$Target/Id$</TargetId>
<TimeoutSeconds>300</TimeoutSeconds>
<VirtualDiskId>$Target/Host/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.Disk"]/UniqueID$</VirtualDiskId>
<DebugMode>false</DebugMode>
</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.Volume.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>
<Custom2>$Data/Property[@Name='FaultId']$</Custom2>
<AlertParam5>$Data/Property[@Name='FaultingObjectLocation']$</AlertParam5>
</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>
<RuleId1>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume.Rule"]$</RuleId1>
<RuleId2>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume.RefreshAlert.Rule"]$</RuleId2>
<RuleId3>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Volume.SyncAlert.Rule"]$</RuleId3>
</WriteAction>
</WriteActions>
</Rule>