ConfigMgr 2007 狀況訊息摘要工作: 工作失敗

SMSv4_State_Message_Summary_Tasks__Task_failed_1_Rule (Rule)

Knowledge Base article:

摘要

如果超過閾值,會產生警示。每 5 分鐘會執行指令碼以檢查執行時間。最大執行時間會以輸入參數傳送到指令碼。另一個解決方法選項是調整最大執行時間。

Element properties:

TargetMicrosoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Site_Database_Servers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityLow
RemotableTrue
Alert MessageSMSv4_State_Message_Summary_Tasks__Task_failed_1_Rule.AllertMessageBackwardCompatibility
CommentMom2005ID='{E509E0A6-A9B5-40D2-85F9-72191ED7C842}';MOM2005ComputerGroupID={15348338-2E39-4B34-9DFF-4719AE7F1CCE}

Member Modules:

ID Module Type TypeId RunAs 
_F320DA51_13BF_11D3_B2CD_00A0C92A28B4_ DataSource System.Mom.BackwardCompatibility.FilteredEvent.DataProvider Default
GenerateAlert WriteAction System.Mom.BackwardCompatibility.AlertResponse Default

Source Code:

<Rule ID="SMSv4_State_Message_Summary_Tasks__Task_failed_1_Rule" Target="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Site_Database_Servers_Installation" Enabled="true" ConfirmDelivery="false" Comment="Mom2005ID='{E509E0A6-A9B5-40D2-85F9-72191ED7C842}';MOM2005ComputerGroupID={15348338-2E39-4B34-9DFF-4719AE7F1CCE}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F320DA51_13BF_11D3_B2CD_00A0C92A28B4_" Comment="{F320DA51-13BF-11D3-B2CD-00A0C92A28B4}" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.FilteredEvent.DataProvider">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1740</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>ConfigMgr 2007 Monitor State Message Summary Tasks</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.AlertResponse">
<AlertGeneration>
<GenerateAlert>true</GenerateAlert>
<Owner/>
<Description>
$Data/LoggingComputer$
- ConfigMgr 2007 State Message Summary Tasks: Task failed.


$Data/EventDescription$


The task contains properties

Task Name:
$Data/Params/Param[1]$

Start Time (UTC):
$Data/Params/Param[2]$

Completion Time (UTC):
$Data/Params/Param[3]$

Task Status:
$Data/Params/Param[4]$
</Description>
<AlertLevel>30</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>ConfigMgr 2007 State Message Summary Tasks: Task failed</Name>
<ServerRole>SMS Server</ServerRole>
<ServerRoleInstance>$Target/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetbiosComputerName$</ServerRoleInstance>
<Component>DB</Component>
<ProblemState>1</ProblemState>
</AlertGeneration>
<InvokerType>0</InvokerType>
</WriteAction>
</WriteActions>
</Rule>