性能测量: 运行虚拟机的远程桌面虚拟化主机服务器

Microsoft.Windows.Server.RemoteDesktopServices.2008R2.RDVirtualizationHost.PerformanceCollection.RunningVM (Rule)

此计数器测量正在运行虚拟机的远程桌面虚拟化主机服务器的总数。

Knowledge Base article:

摘要

此计数器测量正在运行虚拟机的远程桌面虚拟化主机服务器的总数。

Element properties:

TargetMicrosoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Service.RDVirtualizationHost
CategoryPerformanceCollection
EnabledTrue
Instance NameHyper-V Virtual Machine Summary
Counter NameRunning
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.RemoteDesktopServices.2008R2.RDVirtualizationHost.PerformanceCollection.RunningVM" Enabled="true" Target="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Service.RDVirtualizationHost" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Running</CounterName>
<ObjectName>Hyper-V Virtual Machine Summary</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>