Service Running State

Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.ActivatedApmAgent.ServiceRunningState.Monitor (UnitMonitor)

Monitors the current status of the APM Windows service. An alert from this monitor indicates the APM service is not currently running

Knowledge Base article:

Summary

The instance state becomes unhealthy when APM Windows service is not running

Causes

The Systems Center Management APM Windows service must be running for .NET Application Performance Monitoring to collect data from applications running on the server. It might have been stopped or disabled.

Resolutions

Connect to the server where the service has been stopped and use Services.msc to restart the System Center Management APM Windows service.

If the service fails to restart, check the Operations Manager event log for errors related to the service.

Element properties:

TargetMicrosoft.SystemCenter.Apm.ActivatedApmAgent
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityLow
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
APM Windows service stopped
The '{0}' service on computer {1} has stopped running
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.ActivatedApmAgent.ServiceRunningState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.Apm.ActivatedApmAgent" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.Infrastructure.Monitoring.ActivatedApmAgent.ServiceRunningState.Monitor.AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>System Center Management APM</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>System Center Management APM</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>