遠端電腦上未執行 Windows 服務

Microsoft.SystemCenter.AgentManager.ServicesNotRunning.Monitor (UnitMonitor)

當管理伺服器遠端安裝代理程式所需的 Windows 服務未執行時進行監視。

Knowledge Base article:

摘要

管理伺服器進行遠端安裝代理程式所需的一或多個服務未執行。

原因

若要遠端安裝代理程式,需在目標電腦上啟動下列服務:

顯示名稱

Windows 服務名稱

Windows Management Instrumentation

WinMgmt

遠端程序呼叫 (RPC)

Rpcss

遠端登錄

RemoteRegistry

Windows Installer

MSIServer

解決方式

如果上述任一種服務未執行或者其啟動類型設定為 [已停用],請再次啟動該服務並執行探索精靈。

如需疑難排解代理程式安裝的詳細資訊,請參閱 Troubleshooting Issues When You Use the Discovery Wizard to Install an Agent (在使用探索精靈安裝代理程式時疑難排解問題) (http://go.microsoft.com/fwlink/?LinkId=181932)。

Element properties:

TargetMicrosoft.SystemCenter.AgentManager
Parent MonitorMicrosoft.SystemCenter.AgentManager.ConfigHealthRollup
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AgentManager.AgentManagerFailureMonitor
RemotableTrue
AccessibilityPublic
Alert Message
代理程式推入/修復失敗 - Windows 服務未在遠端電腦上執行
系統嘗試進行代理程式「推入」安裝或修復失敗。 工作是從管理伺服器 {1} 對電腦 {0} 執行。

其他詳細資料: 工作開始時間: {3} UTC 工作結束時間: {4} UTC

完整事件描述: {5}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AgentManager.ServicesNotRunning.Monitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AgentManager" ParentMonitorID="Microsoft.SystemCenter.AgentManager.ConfigHealthRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.AgentManager.AgentManagerFailureMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AgentManager.ServicesNotRunning.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/TargetDevicePrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/ManagementServerName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/PendingStateType$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</AlertParameter4>
<AlertParameter5>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name="Message"]$</AlertParameter6>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AgentManagerFailure" MonitorTypeStateID="AgentInstallationFailure" HealthState="Error"/>
<OperationalState ID="AgentManagerSuccess" MonitorTypeStateID="AgentInstallationSuccess" HealthState="Success"/>
</OperationalStates>
<Configuration>
<EventId>10606</EventId>
<TaskStartTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</TaskStartTime>
<TaskEndTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</TaskEndTime>
</Configuration>
</UnitMonitor>