サービス実行状態

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

APM Windows サービスの現在の状態を監視します。このモニターからのアラートは、APM サービスが現在実行されていないことを示します。

Knowledge Base article:

概要

APM Windows サービスが実行されていない場合は、インスタンスの状態が異常になります。

原因

サーバーで実行中のアプリケーションのデータを収集するには、.NET アプリケーション パフォーマンスを監視する Systems Center Management APM という Windows サービスが実行されている必要があります。このサービスが停止しているか、無効になっている可能性があります。

解決方法

サービスが停止しているサーバーに接続し、Services.msc を使用して System Center Management APM Windows サービスを再開します。

サービスを再開できない場合は、Operations Manager イベント ログでサービスに関連するエラーを確認してください。

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 サービス停止
コンピューター {1} の '{0}' サービスの実行が停止しました
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>