System Center 2016 Virtual Machine Manager AgentService

Microsoft.SystemCenter.VirtualMachineManager.2016.AgentService.Monitor (UnitMonitor)

監視 System Center Virtual Machine Manager 服務 (VMMAgent.exe) 的狀態

Knowledge Base article:

摘要

代理程式服務監視表示受管理虛擬機器主機或程式庫伺服器上 Virtual Machine Manager 代理程式服務的可用性。如果 VMM 代理程式未執行,監視會處於重大狀態 (紅色)。如果處於不明狀態,表示尚未開始監視伺服器。

原因

此程式庫伺服器或主機的狀況不良狀態表示 Virtual Machine Manager 代理程式服務未在伺服器上執行。

解決方式

此程式庫伺服器或主機的狀況不良狀態表示 Virtual Machine Manager 代理程式服務未在伺服器上執行。

1

重新啟動主機或程式庫伺服器上的 Virtual Machine Manager 代理程式服務。您可以使用伺服器上 [系統管理工具] 中的 [服務] 來完成此動作,或是使用下一個程序從 VMM 主控台來完成此動作。

2

如果重新啟動 Virtual Machine Manager 代理程式無法解決問題:

確定主機或程式庫伺服器已連線。

確定 VMM 管理伺服器可以連線至主機或程式庫伺服器。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2016.HostAgent
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Virtual Machine Manager 代理程式服務已停止
電腦上 的 System Center Virtual Machine Manager 代理程式服務已停止。電腦名稱:{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.AgentService.Monitor" Accessibility="Public" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.HostAgent" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.AgentService.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Success"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>SCVMMAgent</ServiceName>
</Configuration>
</UnitMonitor>