CPU Clock Speed Discovery

VKernel.CapacityAnalyzer.HyperVHostCpuClockSpeedDiscovery (Discovery)

Discovers CPU clock speed for Hyper-V host

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.HyperVHost
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.RegistryDiscoveryProvider Default

Source Code:

<Discovery ID="VKernel.CapacityAnalyzer.HyperVHostCpuClockSpeedDiscovery" Enabled="true" Target="SCVMM2012DiscoveryMP!Microsoft.SystemCenter.VirtualMachineManager.2012.HyperVHost" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="VKernel.CapacityAnalyzer.HyperVHost">
<Property TypeID="VKernel.CapacityAnalyzer.HyperVHost" PropertyID="CPUClockSpeed"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.RegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>CpuSpeedMHz</AttributeName>
<Path>HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="VKernel.CapacityAnalyzer.HyperVHost"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="SCVMMLibraryMP!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/VMMId$</Name>
<Value>$Target/Property[Type="SCVMMLibraryMP!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/VMMId$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="VKernel.CapacityAnalyzer.HyperVHost"]/CPUClockSpeed$</Name>
<Value>$Data/Values/CpuSpeedMHz$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>