Discover Service Management Automation 2012 R2 Worker

Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Discovery.Server.Worker (Discovery)

Registry discovery for Service Management Automation Worker

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.2012R2.Seed
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.SystemCenter.ServiceManagementAutomation.2012R2.Discovery.Server.Worker" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Seed" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>SMAWorkerExists</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>DatabaseServerName</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker\DatabaseServerName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>DatabaseServerInstance</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker\DatabaseServerInstance</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>DatabaseName</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker\DatabaseName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>InstallationFolder</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker\InsatllationFolder</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Version</AttributeName>
<Path>SOFTWARE\Microsoft\ServiceManagementAutomation\RunbookWorker\Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker"]$</ClassId>
<InstanceSettings>
<Settings>
<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="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseServerName$</Name>
<Value>$Data/Values/DatabaseServerName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseServerInstance$</Name>
<Value>$Data/Values/DatabaseServerInstance$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/DatabaseName$</Name>
<Value>$Data/Values/DatabaseName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/InstallFolder$</Name>
<Value>$Data/Values/InstallationFolder$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SMA!Microsoft.SystemCenter.ServiceManagementAutomation.Server"]/Version$</Name>
<Value>$Data/Values/Version$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/SMAWorkerExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">True</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>