執行的 SMS 2003 依存服務: MSSQLSERVER

SMS_2003_dependent_service_running__MSSQLSERVER_9_Rule.AdvancedAlertCriteriaMonitor (UnitMonitor)

Knowledge Base article:

摘要

Microsoft SQL Server 服務已停止。 SMS 必須要有此服務,才可記錄及存取必要的資料。 此狀況不會自行修復,必須先加以解決,SMS 才可繼續其核心功能。

原因

一般發生的時機為:

解決方法

外部

如需 SQL Server 的詳細資訊,請參閱 SQL Server 產品文件。

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

其他

SQLSERVERAGENT 服務依存於 MSSQLServer 服務。

此警示最好交由 SQL Server 系統管理員處理。 SMS 系統管理員亦可從旁協助。

Element properties:

TargetMicrosoft.SMS.2003.SMS_Server_Class
Parent MonitorDB
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Mom.BackwardCompatibility.StateAlert.RuleGenerated.AdvancedRuleCriteriaMonitor
RemotableTrue
AccessibilityInternal
Alert Message
執行的 SMS 2003 依存服務: MSSQLSERVER
{1}
RunAsDefault
CommentMom2005ID='{EFFF14C0-F6C2-450D-B06B-8C2B835D0CDE}'

Source Code:

<UnitMonitor ID="SMS_2003_dependent_service_running__MSSQLSERVER_9_Rule.AdvancedAlertCriteriaMonitor" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.StateAlert.RuleGenerated.AdvancedRuleCriteriaMonitor" Accessibility="Internal" Target="Microsoft.SMS.2003.SMS_Server_Class" Enabled="true" ParentMonitorID="DB" Comment="Mom2005ID='{EFFF14C0-F6C2-450D-B06B-8C2B835D0CDE}'">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="SMS_2003_dependent_service_running__MSSQLSERVER_9_Rule.AdvancedAlertCriteriaMonitor.StringResource">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Name$</AlertParameter1>
<AlertParameter2>$Data/Context/Description$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Success" ID="AlertLevelSuccess"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="Warning" ID="AlertLevelWarning"/>
<OperationalState HealthState="Error" MonitorTypeStateID="Error" ID="AlertLevelError"/>
</OperationalStates>
<Configuration>
<ServerRole>SMS Server</ServerRole>
<Component>DB</Component>
<ServerRoleInstance>$Target/Property[Type="Microsoft.SMS.2003.SMS_Server_Class"]/Name_1$</ServerRoleInstance>
<RuleId>$MPElement[Name="SMS_2003_dependent_service_running__MSSQLSERVER_9_Rule"]$</RuleId>
<ServiceUnavailableExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">AlertContext/DataItem/Params/Param[10]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">AlertContext/DataItem/Params/Param[9]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">AlertContext/DataItem/Params/Param[9]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</ServiceUnavailableExpression>
<SecurityIssueExpression>
<Not>
<Expression/>
</Not>
</SecurityIssueExpression>
<CriticalErrorExpression>
<Not>
<Expression/>
</Not>
</CriticalErrorExpression>
<ErrorExpression>
<Not>
<Expression/>
</Not>
</ErrorExpression>
<WarningExpression>
<Not>
<Expression/>
</Not>
</WarningExpression>
<SuccessExpression>
<Not>
<Expression/>
</Not>
</SuccessExpression>
<InformationExpression>
<Not>
<Expression/>
</Not>
</InformationExpression>
</Configuration>
</UnitMonitor>