Opalis 6 Server Role Property Discovery

SG.OIS.6.ServerRole.Property.Discovery (Discovery)

Element properties:

TargetSG.OIS.6.ServerRole
EnabledTrue
Frequency43200
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Discovery.WMISinglePropertyProvider2 Default

Source Code:

<Discovery ID="SG.OIS.6.ServerRole.Property.Discovery" Enabled="true" Target="SG.OIS.6.ServerRole" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SG.OIS.6.ServerRole">
<Property TypeID="OPALISLIB!SG.OIS.ServerRole" PropertyID="InstallDir"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.Discovery.WMISinglePropertyProvider2">
<NameSpace>root\cimv2</NameSpace>
<Query>Select Name,Path,FileName from Win32_Directory Where Path LIKE '%Opalis Software\\%' AND FileName = 'Opalis Integration Server' AND NOT Path LIKE '%\\appdata\\%' AND NOT Path LIKE '%\\roaming\\%' AND NOT Path LIKE '%\\programdata\\%' AND NOT Path LIKE '%\\common files\\%'</Query>
<Frequency>43200</Frequency>
<ClassID>$MPElement[Name="SG.OIS.6.ServerRole"]$</ClassID>
<PropertyName>LogDir</PropertyName>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="OPALISLIB!SG.OIS.ServerRole"]/InstallDir$</Name>
<Value>$Data/Property[@Name='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>