Event collection health

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

Knowledge Base article:

Summary

The agent has not reported any performance data into the Operations Manager database for a long time.

Causes

This may occur if the agent is unable to communicate with the Operations Manager database, or the agent is unhealthy. By default, this monitor will alert if the agent has not returned any event data into the Operations Manager database for X minutes.

Resolutions

Check whether the agent is able to communicate with the Management server.

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
Agent has not returned event data for a long time
Agent {0} has not returned event data for a long time.
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>