Populate Microsoft Office SharePoint Portal Server 2003 Backup Service Discovery Rule

Microsoft.SharePointPortalServer.2003.BackupService.Discovery.Rule (Discovery)

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the SharePoint Portal Server Type with instances of the SharePoint Portal Server Backup Service.

Element properties:

TargetMicrosoft.SharePointPortalServer.2003.ServerRole
EnabledTrue
Frequency900
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SharePointPortalServer.2003.BackupService.Discovery.Rule" Target="Microsoft.SharePointPortalServer.2003.ServerRole" Enabled="onEssentialMonitoring" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SharePointPortalServer.2003.BackupService"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>MS_Windows_SPSBackup_main</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\SPSBackup</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>900</Frequency>
<ClassId>$MPElement[Name="Microsoft.SharePointPortalServer.2003.BackupService"]$</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='System!System.Entity']/DisplayName$</Name>
<Value>"SPS 2003 Backup Service"</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/MS_Windows_SPSBackup_main</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>