NetApp SANtricity Storage Array Proxy Discovery

NetAppSANtricity.ProxyDiscovery (Discovery)

Initial discovery on agents that have Storage Array elements

Knowledge Base article:

Summary

Initiates discovery of Storage Array and MPIntegrationPack resources within SCOM based on registry keys indicating presence of an Integration Pack software installation.

Additional

The Registry Key targeted is:

HKEY_LOCAL_MACHINE\SOFTWARE\NetApp\MP

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency1801
RemotableFalse
CommentInitial discovery via Registry probe

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="NetAppSANtricity.ProxyDiscovery" Comment="Initial discovery via Registry probe" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="NetAppSANtricity.Proxy"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>MPIntegrationPackageExists</AttributeName>
<Path>SOFTWARE\NetApp\MP</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>MPIntegrationPackPath</AttributeName>
<Path>SOFTWARE\NetApp\MP\IntegrationPackRoot</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SnapinName</AttributeName>
<Path>SOFTWARE\NetApp\MP\PSSnapinName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>1801</Frequency>
<ClassId>$MPElement[Name="NetAppSANtricity.Proxy"]$</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="NetAppSANtricity.Proxy"]/MPIntegrationPackPath$</Name>
<Value>$Data/Values/MPIntegrationPackPath$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/MPIntegrationPackageExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>