Работоспособность общей службы

Microsoft.Unix.Generic.Service.Monitor (UnitMonitor)

Монитор общей службы

Knowledge Base article:

Краткое описание

Этот монитор процессов отслеживает выполнение службы или управляющей программы.

Причины

Ошибка указывает на сбой работы службы. Служба может остановиться по нескольким причинам:

Устранение

Проверьте службу системы, выполнив команду "ps -ef | grep {имя_службы}", где {имя_службы} — имя отслеживаемой службы.

Element properties:

TargetMicrosoft.SystemCenter.UnixService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Process.Status.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Предупреждение монитора службы Unix
Служба {1} на сервере {0} не запущена.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Unix.Generic.Service.Monitor" Accessibility="Public" Target="Microsoft.SystemCenter.UnixService" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Unix.Generic.Service.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.SystemCenter.UnixService"]/ServiceName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Running"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="NotRunning"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>$Target/Property[Type="Microsoft.SystemCenter.UnixService"]/ServiceName$</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>