Disk Bytes/sec (Citrix XenServer 6)

Microsoft.Linux.XenServer.6.LogicalDisk.DiskBytesPerSecond.Collection (Rule)

Collection rule for the performance counter Logical Disk\Disk Bytes/sec

Knowledge Base article:

Summary

This rule collects performance data for the Logical Disk Disk Bytes Per Second performance counter. This information is collected and is exposed to one or more Views and/or Reports.

The Logical Disk Disk Bytes Per Second performance counter exposes the rate, in incidents per second, at which bytes were transferred to or from the disk during write or read operations.

Element properties:

TargetMicrosoft.Linux.XenServer.6.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.PerfCounterProvider.Filtered Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Linux.XenServer.6.LogicalDisk.DiskBytesPerSecond.Collection" Target="Microsoft.Linux.XenServer.6.LogicalDisk" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_FileSystemStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Logical Disk</ObjectName>
<CounterName>Disk Bytes/sec</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Value>$Data///*[local-name()="BytesPerSecond"]$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>