_Custom MSA P2000 Rule Phyisical Disk Spinup Retry Count P1

Custom.MSA.P2000.Rule.phyDiskspinupRetryCountP1 (Rule)

Element properties:

TargetCustom.MSA.P2000.ClassCustom.PhysicalDisk
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource Custom.MSA.P2000.DataSourceModule.PhyDiskFiltered Default
MapToPerf ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default

Source Code:

<Rule ID="Custom.MSA.P2000.Rule.phyDiskspinupRetryCountP1" Enabled="false" Target="Custom.MSA.P2000.ClassCustom.PhysicalDisk" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Custom.MSA.P2000.DataSourceModule.PhyDiskFiltered">
<IntervalSeconds>300</IntervalSeconds>
<phyDiskName>$Target/Property[Type="Custom.MSA.P2000.ClassCustom.PhysicalDisk"]/phyDiskName$</phyDiskName>
<folderPath>$Target/Host/Property[Type="Custom.MSA.P2000.ClassCustom.MSA.Instance"]/folderPath$</folderPath>
</DataSource>
</DataSources>
<ConditionDetection ID="MapToPerf" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>MSA P2000 Physical Disk</ObjectName>
<CounterName>Spinup Retry Count P1</CounterName>
<InstanceName>$Data/Property[@Name='phyDiskName']$</InstanceName>
<Value>$Data/Property[@Name='phyDiskspinupRetryCountP1']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
</WriteActions>
</Rule>