Jalasoft Xian Server Discovery Rule

Jalasoft.Xian.Server.DiscoveryRule (Discovery)

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency100
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="Jalasoft.Xian.Server.DiscoveryRule" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Jalasoft.Xian.Server">
<Property PropertyID="Version"/>
<Property PropertyID="Path"/>
<Property PropertyID="Host"/>
<Property PropertyID="AppType"/>
<Property PropertyID="ServiceDependecy"/>
<Property PropertyID="ID"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>ModuleVersion</AttributeName>
<Path>SOFTWARE\Jalasoft\Xian Network Manager Connector Module\Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ModulePath</AttributeName>
<Path>SOFTWARE\Jalasoft\Xian Network Manager Connector Module\InstallPath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>100</Frequency>
<ClassId>$MPElement[Name="Jalasoft.Xian.Server"]$</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="Jalasoft.Xian.Server"]/ID$</Name>
<Value>Jalasoft Xian Connector Module ($Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$)</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Jalasoft.Xian.Server"]/Version$</Name>
<Value>$Data/Values/ModuleVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Jalasoft.Xian.Server"]/Path$</Name>
<Value>$Data/Values/ModulePath$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Jalasoft.Xian.Server"]/Host$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Jalasoft.Xian.Server"]/AppType$</Name>
<Value>Health Service Module</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Jalasoft.Xian.Server"]/ServiceDependecy$</Name>
<Value>OpsMgr Health Service</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/ModuleVersion</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4.0.782.0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>