監視 VMM 代理程式是否可連線
VMM Agent Watcher 監視會指出受管理虛擬機器主機或程式庫伺服器上 Virtual Machine Manager 代理程式的可用性。如果無法連線到 VMM 代理程式,監視會處於重大狀態 (紅色)。如果處於不明狀態,表示尚未開始監視伺服器。
此程式庫伺服器或主機的狀況不良狀態表示無法在伺服器上連線到 Virtual Machine Manager 代理程式服務。
若要對代理程式服務監視的狀況不良狀態進行疑難排解:
1 | 重新啟動主機或程式庫伺服器上的 Virtual Machine Manager 代理程式服務。您可以在伺服器上的 [系統管理工具] 中,使用 [服務] 來完成此動作,或是使用下一個程序從 Operations 主控台來完成此動作。 | ||||
2 | 如果重新啟動 Virtual Machine Manager 代理程式無法解決問題:
|
Target | Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.VirtualMachineManager.2016.TwoStatesMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.VMMAgentReachableMonitor" Accessibility="Public" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.VMMAgentReachableMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher"]/AgentStatus$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMAgentReachableHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMAgentReachableCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">NeedsAttention</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">NeedsAttention</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>