监视是否可访问 VMM 代理
VMM Agent Watcher 监视器指示托管虚拟主机或库服务器上的 Virtual Machine Manager 代理的可用性。 如果 VMM 代理无法访问,则此监视器将处于严重状态(红色)。 如果状态未知,则说明对此服务器的监视尚未开始。
此库服务器或主机的不正常状态指示在此服务器上无法访问 Virtual Machine Manager 代理服务。
解决 Agent Service 监视器的不正常状态所表明的问题:
1 | 在主机或库服务器上重新启动 Virtual Machine Manager 代理服务。 可以通过使用服务器上的管理工具中的“服务”执行此操作,也可以按照此过程后面的步骤从操作控制台执行此操作。 | ||||
2 | 如果重新启动 Virtual Machine Manager 代理不能解决该问题:
|
Target | Microsoft.SystemCenter.VirtualMachineManager.2012.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.2012.TwoStatesMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMAgentReachableMonitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.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="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.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="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.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="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>