事件收集运行状况

Microsoft.SystemCenter.AgentHealth.LastEvent.Monitor (UnitMonitor)

Knowledge Base article:

摘要

代理长时间未将任何性能数据报告到 Operations Manager 数据库中。

原因

如果代理无法与 Operations Manager 数据库通信,或者代理不正常,则可能会发生此情况。 默认情况下,如果代理 X 分钟未将任何事件数据返回到 Operations Manager 数据库中,此监视器将发出警报。

解决方法

检查代理是否能够与管理服务器通信。

Element properties:

TargetMicrosoft.SystemCenter.HealthServiceWatcher
Parent MonitorMicrosoft.SystemCenter.AgentHealth.Watcher.Rollup
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AgentHealth.LastEvent.MonitorType
RemotableTrue
AccessibilityInternal
Alert Message
代理长时间未返回事件数据
代理 {0} 长时间未返回事件数据。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AgentHealth.LastEvent.Monitor" Accessibility="Internal" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher" ParentMonitorID="Microsoft.SystemCenter.AgentHealth.Watcher.Rollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.AgentHealth.LastEvent.MonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AgentHealth.LastEvent.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher"]/HealthServiceName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="LastEventOK" MonitorTypeStateID="LastEventOK" HealthState="Success"/>
<OperationalState ID="LastEventTooOld" MonitorTypeStateID="LastEventTooOld" HealthState="Error"/>
</OperationalStates>
<Configuration>
<QueryTimeout>120</QueryTimeout>
<Interval>3600</Interval>
<SyncTime>00:01</SyncTime>
<WatchPeriodHr>48</WatchPeriodHr>
<MaxEventAgeHr>8</MaxEventAgeHr>
</Configuration>
</UnitMonitor>