_Custom MSA P2000 Rule Port IOPS
Custom.MSA.P2000.Rule.PortIOPS (Rule)
Knowledge Base article: Element properties: Member Modules:
Source Code: <Rule ID="Custom.MSA.P2000.Rule.PortIOPS" Enabled="true" Target="Custom.MSA.P2000.ClassCustom.HostPort" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Custom.MSA.P2000.DataSourceModule.HostPortFiltered">
<IntervalSeconds>300</IntervalSeconds>
<portName>$Target/Property[Type="Custom.MSA.P2000.ClassCustom.HostPort"]/portName$</portName>
<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 Host Port</ObjectName>
<CounterName>IOPS</CounterName>
<InstanceName>$Data/Property[@Name='portName']$</InstanceName>
<Value>$Data/Property[@Name='portIOPS']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>