HPE Device Monitor Service Discovery Rule

HewlettPackard.Servers.HPDeviceMonitorServiceDiscoveryRule (Discovery)

Discovery Rule for HPE Device Monitor Service

Knowledge Base article:

Summary

This discovery rule discovers and instantiates the HPE Device Monitor Service. The Monitor Service provides all inventory and the status information for Linux Servers, VMware Servers, Agentless Servers, BladeSystem c-Class Enclosures and Virtual Connect devices.

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider HewlettPackard.Servers.HPDeviceMonitorServiceAccount

Source Code:

<Discovery ID="HewlettPackard.Servers.HPDeviceMonitorServiceDiscoveryRule" Target="Windows!Microsoft.Windows.Server.Computer" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="HewlettPackard.Servers.HPDeviceMonitorService">
<Property TypeID="HewlettPackard.Servers.HPManagementSoftware" PropertyID="Version"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property TypeID="HewlettPackard.Servers.HPManagementServerSoftware" PropertyID="ServerName"/>
<Property TypeID="HewlettPackard.Servers.HPDeviceMonitorService" PropertyID="PrincipalName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider" RunAs="HewlettPackard.Servers.HPDeviceMonitorServiceAccount">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>DMVersion</AttributeName>
<Path>SOFTWARE\Hewlett-Packard\HP SCOM Management Packs\HPDeviceMonitorService\Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>DMInstalled</AttributeName>
<Path>SOFTWARE\Hewlett-Packard\HP SCOM Management Packs\HPDeviceMonitorService\Installed</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="HewlettPackard.Servers.HPDeviceMonitorService"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>HPE Device Monitor Service</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="HewlettPackard.Servers.HPManagementSoftware"]/Version$</Name>
<Value>$Data/Values/DMVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="HewlettPackard.Servers.HPManagementServerSoftware"]/ServerName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="HewlettPackard.Servers.HPDeviceMonitorService"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/DMInstalled</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Yes</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>