Cluster Shared Volume - Total size / MB

Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.CollectPerfDataSource.TotalSizeMB (Rule)

This rule collects the 'Total size / MB' performance counter for a Cluster Shared Volume.

Element properties:

TargetMicrosoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.PerfDataSource Default
FilterPerf ConditionDetection Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.PerfFilterMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.CollectPerfDataSource.TotalSizeMB" Enabled="true" Target="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.PerfDataSource">
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<LogSuccessEvent>false</LogSuccessEvent>
<ScriptGroupId>ClusterSharedVolumeMonitoring</ScriptGroupId>
<TargetComputer>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetComputer>
<ClusterName>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume"]/ClusterName$</ClusterName>
<TimeoutSeconds>300</TimeoutSeconds>
<ClusterSharedVolumeName>$Target/Property[Type="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume"]/ClusterSharedVolumeName$</ClusterSharedVolumeName>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterPerf" TypeID="Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.PerfFilterMapper">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">CounterName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Total size / MB</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<ObjectName>$Data/ObjectName$</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName>$Data/InstanceName$</InstanceName>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>