Microsoft.SystemCenter.Advisor.Internal.Lync

Microsoft.SystemCenter.Advisor.Internal.Lync (Discovery)

This rule detects if Advisor Connector has discovered Lync components installed on the monitored machine.

Element properties:

TargetMicrosoft.SystemCenter.Advisor.Internal.AdvisorConnector
EnabledTrue
Frequency600
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.Advisor.Internal.Lync" Enabled="true" Target="Microsoft.SystemCenter.Advisor.Internal.AdvisorConnector" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.Advisor.Internal.Advisor_Lync"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Lync</AttributeName>
<Path>SOFTWARE\Microsoft\System Center Operations Manager\12\Advisor\Workloads\Lync</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>600</Frequency>
<ClassId>$MPElement[Name="Microsoft.SystemCenter.Advisor.Internal.Advisor_Lync"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.Advisor.Internal.Advisor_Lync"]/LyncDiscovered$</Name>
<Value>1</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.Advisor.Internal.AdvisorConnector"]/AgentID$</Name>
<Value>$Target/Property[Type="Microsoft.SystemCenter.Advisor.Internal.AdvisorConnector"]/AgentID$</Value>
</Setting>
<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/Property[Type="System!System.Entity"]/DisplayName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/Lync</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>