SMS 2003 Site Hierarchy Discovery: Script error

SMS_2003_Site_Hierarchy_Discovery__Script_error_Rule (Rule)

Knowledge Base article:

Summary

A runtime error from script SMS 2003 Site Hierarchy Discovery has been detected. The script is part of SMS 2003 Site Hierarchy Discovery.

Causes

This event is typically due to WMI or SMS Provider connection problems.

Resolutions

External

For more information about SMS, see the Systems Management Server 2003 Product Documentation Web page.

For more assistance, a list of additional support options is available in the support section of the SMS Web site at Support for Systems Management Server.

Additional

This alert is best handled by SMS administrators.

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Providers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableFalse
Alert Message
SMS 2003 Site Hierarchy Discovery: Script error
{1} - {0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="SMS_2003_Site_Hierarchy_Discovery__Script_error_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Providers_Installation" Enabled="onStandardMonitoring" Remotable="false">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="WindowsLibrary!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>SMS 2003 Site Hierarchy Discovery</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1102</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="HealthLibrary!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="SMS_2003_Site_Hierarchy_Discovery__Script_error_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetbiosComputerName$</AlertParameter2>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>