Server HWComponents DiscoveryRule

Huawei.Server.ServerHWComponentsDiscoveryRule (Discovery)

Description for the new discovery.

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency1500
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Huawei.Server.HWComponentDiscovery Default

Source Code:

<Discovery ID="Huawei.Server.ServerHWComponentsDiscoveryRule" Target="Windows!Microsoft.Windows.Server.Computer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Huawei.Server.ServerHWComponents">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerHWComponentsSensors">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerSensorCurrents">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerSensorCurrentsNumericUnit">
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="DeviceID"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="CurrentReading"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="BaseUnits"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="SensorType"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="LowerThresholdCritical"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="LowerThresholdNonCritical"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="UpperThresholdCritical"/>
<Property TypeID="Huawei.Server.ServerNumericSensor" PropertyID="UpperThresholdNonCritical"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerSensorBatteries">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerSensorBatteriesDiscreteUnit">
<Property TypeID="Huawei.Server.ServerDiscreteSensor" PropertyID="DeviceID"/>
<Property TypeID="Huawei.Server.ServerDiscreteSensor" PropertyID="CurrentReading"/>
<Property TypeID="Huawei.Server.ServerDiscreteSensor" PropertyID="OtherSensorTypeDescription"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerFans">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerFansUnit">
<Property TypeID="Huawei.Server.ServerFansUnit" PropertyID="DeviceID"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerMemory">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerMemoryUnit">
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="Tag"/>
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="MemoryType"/>
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="Capacity"/>
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="Manufacturer"/>
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="SerialNumber"/>
<Property TypeID="Huawei.Server.ServerMemoryUnit" PropertyID="DeviceLocator"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerProcessors">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerProcessorsUnit">
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="DeviceID"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="CurrentClockSpeed"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="EnableCoreNumber"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="ExternalSpeed"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="CoreNumber"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="Manufactory"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="ThreadNumber"/>
<Property TypeID="Huawei.Server.ServerProcessorsUnit" PropertyID="Type"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerPowerSupplies">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerPowerSuppliesUnit">
<Property TypeID="Huawei.Server.ServerPowerSuppliesUnit" PropertyID="DeviceID"/>
<Property TypeID="Huawei.Server.ServerPowerSuppliesUnit" PropertyID="TotalOutputPower"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Huawei.Server.ServerPowerConfig">
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="DeviceID"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="Averagepower"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="Power"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="PowerCap"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="PowerCapEnable"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="PowerPolicy"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="TotalPower"/>
<Property TypeID="Huawei.Server.ServerPowerConfig" PropertyID="HisMaxPower"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="HuaweiServer.Hosts.ServerHWComponents"/>
<DiscoveryRelationship TypeID="ServerHWComponentsSensors.Hosts.Batteries"/>
<DiscoveryRelationship TypeID="ServerBatteries.Hosts.BatteriesDiscreteUnit"/>
<DiscoveryRelationship TypeID="ServerHWComponentsSensors.Hosts.Currents"/>
<DiscoveryRelationship TypeID="ServerCurrents.Hosts.CurrentsNumericUnit"/>
<DiscoveryRelationship TypeID="ServerHWComponents.Hosts.Fans"/>
<DiscoveryRelationship TypeID="ServerFans.Hosts.FansUnit"/>
<DiscoveryRelationship TypeID="ServerHWComponents.Hosts.PowerSupplies"/>
<DiscoveryRelationship TypeID="ServerPowerSupplies.Hosts.PowerSuppliesUnit"/>
<DiscoveryRelationship TypeID="ServerHWComponents.Hosts.Memory"/>
<DiscoveryRelationship TypeID="ServerMemory.Hosts.MemoryUnit"/>
<DiscoveryRelationship TypeID="ServerHWComponents.Hosts.Processors"/>
<DiscoveryRelationship TypeID="ServerProcessors.Hosts.ProcessorsUnit"/>
<DiscoveryRelationship TypeID="ServerPowerSupplies.Hosts.PowerConfigUnit"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Huawei.Server.HWComponentDiscovery">
<IntervalSeconds>1500</IntervalSeconds>
<Computer>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Computer>
<!--<Computer>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Computer>-->
</DataSource>
</Discovery>