Discovery rule that populate web console watchers instances.
Discovers the Web Console Watcher.
This section is not applicable for this type of rule.
There is no user action for this type of rule.
Target | Microsoft.SystemCenter.HealthService |
Enabled | True |
Frequency | 86400 |
Remotable | False |
Discovered Classes and their attribuets: |
---|
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.FilteredRegistryDiscoveryProvider | System.PrivilegedMonitoringAccount |
<Discovery ID="Microsoft.SystemCenter.WebConsoleWatcherDiscovery" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SCLibrary!Microsoft.SystemCenter.WebConsoleWatcher">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property PropertyID="WebConsoleUrl"/>
</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>WebConsoleUrl</AttributeName>
<Path>SOFTWARE\Microsoft\System Center Operations Manager\12\Setup\WebConsole\WEB_CONSOLE_URL</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="SCLibrary!Microsoft.SystemCenter.WebConsoleWatcher"]$</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.WebConsoleWatcher"]/WebConsoleUrl$</Name>
<Value>$Data/Values/WebConsoleUrl$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>Web Console Watcher($Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$)</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/WebConsoleUrl</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value/>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>