事件集合健全狀況

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>