Diese Regel ist erforderlich, um Warnmeldungen in Zusammenhang mit der Speicherdateifreigabe aktuell zu halten. Sie verhindert Probleme aufgrund einer nicht synchronen Speicherfreigabe, wenn sich Operations Manager offenbar in einem fehlerhaften Zustand befindet. Das Intervall für diese Regel muss kleiner sein als das Intervall für die Dateifreigabeermittlung.
Diese Regel ist erforderlich, um Warnmeldungen in Zusammenhang mit der Speicherdateifreigabe aktuell zu halten. Sie verhindert Probleme aufgrund einer nicht synchronen Speicherfreigabe, wenn sich Operations Manager offenbar in einem fehlerhaften Zustand befindet. Das Intervall für diese Regel muss kleiner sein als das Intervall für die Dateifreigabeermittlung.
Target | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare |
Category | Custom |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FaultDataSource | 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.FileShare.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.FaultDataSource">
<InstanceType>FS</InstanceType>
<TargetId>$Target/Id$</TargetId>
<SourceUniqueId>$Target/Property[Type="MicrosoftStorageLibrary!Microsoft.Storage.Library.Windows.FileShare"]/UniqueID$</SourceUniqueId>
<SourceObjectId>$Target/Property[Type="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare"]/ObjectId$</SourceObjectId>
<IntervalSeconds>12000</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<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.FileShare.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" Target="SystemCenter!Microsoft.SystemCenter.AllManagementServersPool" RunAs="System!System.PrivilegedMonitoringAccount">
<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.FileShare.Rule"]$</RuleId1>
<RuleId2>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare.RefreshAlert.Rule"]$</RuleId2>
<RuleId3>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.FileShare.SyncAlert.Rule"]$</RuleId3>
</WriteAction>
</WriteActions>
</Rule>