Stan uruchomienia usługi

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

Monitoruje bieżący stan usługi APM systemu Windows. Alert tego monitora oznacza, że usługa APM nie jest aktualnie uruchomiona

Knowledge Base article:

Podsumowanie

Gdy usługa APM systemu Windows nie działa, wystąpienie przechodzi w stan złej kondycji

Przyczyny

Usługa APM systemu Windows do zarządzania centrum systemowym musi być uruchomiona, aby w ramach monitorowania wydajności aplikacji .NET były zbierane dane z aplikacji działających na serwerze. Możliwe, że została zatrzymana lub wyłączona.

Rozwiązania

Nawiąż połączenie z serwerem, na którym usługa została zatrzymana, i przy użyciu pliku Services.msc uruchom ponownie usługę APM systemu Windows do zarządzania centrum systemowym.

Jeśli ponowne uruchomienie usługi się nie powiedzie, sprawdź dziennik zdarzeń programu Operations Manager pod kątem błędów związanych z tą usługą.

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
Usługa APM systemu Windows jest zatrzymana
Usługa „{0}” na komputerze {1} przestała działać
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>