Task server availability monitor

Jalsoft.Xian.Io.TaskServer.AvailabilityMonitor (UnitMonitor)

Knowledge Base article:

Summary

This Service Monitor check�s the running status of the Task Server Service.

The Task Server Service is only monitor if the Startup Type is set to �Automatic�.

This Service Monitor shows �Healthy� when the service is �Running� and shows �Not Healthy� when the service is �Not Running� (talking about Operations Manager Console).

Note: if the service does not exist the Service Monitor will also show as healthy.

Causes

Possible causes may be:

-The Task Server�s service is not running.

Resolutions

Verify:

-That the Task Server is runnig.

Element properties:

TargetJalasoft.Xian.Io.TaskServer
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Task Server service is not running
The Task Server service apparently is not running. This could affect the Xian Network Manager behavior and the related data displayed in Operations Manager. Please review the Xian Services...
RunAsDefault

Source Code:

<UnitMonitor ID="Jalsoft.Xian.Io.TaskServer.AvailabilityMonitor" Accessibility="Public" Enabled="true" Target="Jalasoft.Xian.Io.TaskServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Jalasoft.Xian.Io.TaskServer.AvailabilityMonitor.Message">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="TaskServerOK" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="TaskServerError" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Property[Type="Jalasoft.Xian.Io.TaskServer"]/Host$</ComputerName>
<ServiceName>$Target/Property[Type="Jalasoft.Xian.Io.TaskServer"]/ServiceName$</ServiceName>
</Configuration>
</UnitMonitor>