Monitor FIM Service

Microsoft.Forefront.IdentityManager.2010.Service.Monitor.WindowsService (UnitMonitor)

This monitor checks that the Windows Service is started.

Knowledge Base article:

Summary

The FIM Service is a typical Windows Service. This monitor observes the operation of the Windows Service.

Configuration

This monitor is enabled by default.

Causes

A failed service has multiple causes. Common causes include mis-configured connection strings for SQL, corrupt data in SQL, and operation system errors which prevent the service from starting up.

Resolutions

Please review the Windows event log for other errors. If the problem persists, enable diagnostic tracing and restart the service.

A common failure that occurs during system restart is that the FIM Service starts prior to SQL Server. Ensure that SQL Server is running and that the service account can connect to the FIM Service database. If SQL is running, first try to start the service prior to additional troubleshooting.

Element properties:

TargetMicrosoft.Forefront.IdentityManager.2010.Service
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Monitor FIM Service
The FIM Service is not running
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Forefront.IdentityManager.2010.Service.Monitor.WindowsService" Accessibility="Public" Enabled="true" Target="Microsoft.Forefront.IdentityManager.2010.Service" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Forefront.IdentityManager.2010.Service.Monitor.WindowsService_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>FIMService</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>