Discovery rule that populates Report console watchers

Microsoft.SystemCenter.ReportConsoleWatcherDiscovery (Discovery)

Discovery rule that populate Report console watchers instances.

Knowledge Base article:

Summary

Discovers the Report Console Watcher.

Causes

This section is not applicable for this type of rule.

Resolutions

There is no user action for this type of rule.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider System.PrivilegedMonitoringAccount

Source Code:

<Discovery ID="Microsoft.SystemCenter.ReportConsoleWatcherDiscovery" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SCLibrary!Microsoft.SystemCenter.ReportConsoleWatcher">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property PropertyID="ReportConsoleUrl"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>ReportConsoleUrl</AttributeName>
<Path>SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Reporting\ReportingServerUrl</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="SCLibrary!Microsoft.SystemCenter.ReportConsoleWatcher"]$</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="SCLibrary!Microsoft.SystemCenter.ReportConsoleWatcher"]/ReportConsoleUrl$</Name>
<Value>$Data/Values/ReportConsoleUrl$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>Report Console Watcher($Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$)</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/ReportConsoleUrl</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value/>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>