SCOM S2D 2016: Pravidlo synchronizace výstrah probíhajících úloh sdílené složky úložiště

Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare.OngoingJobs.SyncAlert.Rule (Rule)

Toto pravidlo se požaduje pro zachování aktuálního stavu výstrah pro probíhající úlohy sdílené složky úložiště. Zabrání problémům se synchronizací, když je Operations Manager nejspíš ve špatném stavu.

Knowledge Base article:

Souhrn

Toto pravidlo se požaduje pro zachování aktuálního stavu výstrah pro probíhající úlohy sdílené složky úložiště. Zabrání problémům se synchronizací, když je Operations Manager nejspíš ve špatném stavu.

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobsDataSource Default
CloseAlert WriteAction Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobs.CloseRedundantAlertsFilteredListWriteAction Microsoft.SystemCenter.PrivilegedMonitoringAccount
GenerateAlert WriteAction Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobs.GenerateAlertWriteAction Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare.OngoingJobs.SyncAlert.Rule" Enabled="true" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobsDataSource">
<StorageClassName>MSFT_FileShare</StorageClassName>
<StorageObjectUniqueID>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.FileShare"]/UniqueID$</StorageObjectUniqueID>
<ObjectId>$Target/Property[Type="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare"]/ObjectId$</ObjectId>
<TargetId>$Target/Id$</TargetId>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>1800</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobs.GenerateAlertWriteAction">
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare.OngoingJobs.Rule.AlertMessage"]$</AlertMessageId>
<AlertParam1>$Data/Property[@Name='UniqueID']$</AlertParam1>
<AlertParam2>$Data/Property[@Name='StorageObjectUniqueID']$</AlertParam2>
<AlertParam3>$Data/Property[@Name='Status']$</AlertParam3>
<AlertParam4>$Data/Property[@Name='Reason']$</AlertParam4>
<AlertParam5>$Data/Property[@Name='Description']$</AlertParam5>
<AlertParam6>$Data/Property[@Name='PercentComplete']$</AlertParam6>
<SuppressionValue1>$Data/Property[@Name='UniqueID']$</SuppressionValue1>
<SuppressionValue2>$Data/Property[@Name='ObjectId']$</SuppressionValue2>
<Custom1>OngoingJob</Custom1>
</WriteAction>
<WriteAction ID="CloseAlert" TypeID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.OngoingJobs.CloseRedundantAlertsFilteredListWriteAction" RunAs="SystemCenter!Microsoft.SystemCenter.PrivilegedMonitoringAccount" Target="SystemCenter!Microsoft.SystemCenter.AllManagementServersPool">
<HealthActionIds>$Data/Property[@Name='UniqueID']$</HealthActionIds>
<ObjectId>$Data/Property[@Name='ObjectId']$</ObjectId>
<TargetId>$Data/Property[@Name='TargetId']$</TargetId>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>