SMS 2003 站台階層探索: 指令碼錯誤

SMS_2003_Site_Hierarchy_Discovery__Script_error_Rule (Rule)

Knowledge Base article:

摘要

在指令碼 SMS 2003 站台階層探索中偵測到執行階段錯誤。 此指令碼是 SMS 2003 站台階層探索的一部分。

原因

此事件通常起因於 WMI 或 SMS 提供者的連線問題。

解決方法

外部

如需 SMS 的詳細資訊,請參閱下列網頁: Systems Management Server 2003 產品文件 (英文)。

如需更多的協助,可利用 Systems Management Server 支援 (英文) 之 SMS 網站支援區段中所提供的其他支援選項清單。

其他

此警示最好交由 SMS 系統管理員處理。

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Providers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableFalse
Alert Message
SMS 2003 站台階層探索: 指令碼錯誤
{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>