Runbook Service

Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.RunbookService (UnitMonitor)

測量 Runbook Service 的狀態。

Knowledge Base article:

摘要

檢查 Runbook Service 是否在 Worker 伺服器上執行。作業需要此服務才能執行。

原因

如果 Runbook Service 停止,監視將處於錯誤狀態。

解決方式

啟動 Runbook Service。

設定

您可以在此監視上設定下列選項:

選項

定義

預設值

警示開啟狀態

產生警示之監視的健全狀況狀態。

監視處於重大的健全狀況狀態

只有在服務啟動類型為自動時才發出警示

指定如果服務啟動設定為自動以外的項目時,監視是否應為作用中。

False

警示優先順序

此監視所產生之警示的優先順序。

警示嚴重性

此監視所產生之警示的優先順序。

重大

自動解決警示

指定當監視恢復狀況良好狀態時,是否應自動解除警示。

True

已啟用

指定監視是否應執行。

True

產生警示

指定當變更為警告或重大狀態時,監視是否應產生警示。

True

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Runbook Service 未執行
Service Management Automation Runbook Service 並未執行。在服務啟動之前,系統不會處理此伺服器上的任何作業。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.RunbookService" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ServiceManagementAutomation.Monitor.RunbookService.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>rbsvc</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>