Microsoft.SystemCenter.OperationsManager.Storage.FileShare.Diagnose.Rule (Rule)

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS
CategoryOperations
EnabledTrue
Alert GenerateTrue
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DiagnoseDS DataSource Microsoft.SystemCenter.OperationsManager.Storage.DiagnoseDSType Default
GenerateAlert1 WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.OperationsManager.Storage.FileShare.Diagnose.Rule" Enabled="true" Target="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Operations</Category>
<DataSources>
<DataSource ID="DiagnoseDS" TypeID="Microsoft.SystemCenter.OperationsManager.Storage.DiagnoseDSType">
<VMMServerName>$Target/Property[Type="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS"]/VMMServer$</VMMServerName>
<StorageObjectUniqueId>$Target/Property[Type="SLD!Microsoft.SystemCenter.VirtualMachineManager.Storage.2012.FileShare.MS"]/UniqueID$</StorageObjectUniqueId>
<StorageObjectOMClassInstanceId>$Target/Id$</StorageObjectOMClassInstanceId>
<StorageClassName>MSFT_FileShare</StorageClassName>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>604800</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert1" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>$Data/Property[@Name='OM Alert Severity']$</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.OperationsManager.Storage.SubSystem.Diagnose.Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Property[@Name='SourceUniqueId']$</AlertParameter1>
<AlertParameter2>$Data/Property[@Name='Reason']$</AlertParameter2>
<AlertParameter3>$Data/Property[@Name='FaultingObjectDescription']$</AlertParameter3>
<AlertParameter4>$Data/Property[@Name='RecommendedActions']$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Property[@Name='FaultId']$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>