Microsoft SQL Server Parallel Data Warehouse Seed Discovery

Microsoft.SQLServerAppliance.PDW.ApplianceWatcherSeed.Discovery (Discovery)

This object discovery detects Microsoft SQL Server Parallel Data Warehouse ODBC driver presence on the computer.

Knowledge Base article:

Summary

This object discovery detects Microsoft SQL Server Parallel Data Warehouse ODBC driver presence. Discovery process is based on registry analysis.

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 Default

Source Code:

<Discovery ID="Microsoft.SQLServerAppliance.PDW.ApplianceWatcherSeed.Discovery" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="PDWLibrary!Microsoft.SQLServerAppliance.PDW.ApplianceWatcherSeed">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property TypeID="Windows!Microsoft.Windows.Computer" PropertyID="PrincipalName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>
$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$
</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>ApplianceSeedExists</AttributeName>
<Path>SOFTWARE\ODBC\ODBCINST.INI\Microsoft SQL Server 2008 R2 Parallel Data Warehouse ODBC Client</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>
$MPElement[Name="PDWLibrary!Microsoft.SQLServerAppliance.PDW.ApplianceWatcherSeed"]$
</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>Microsoft SQL Server Parallel Data Warehouse Seed ($Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$)</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/ApplianceSeedExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>