FTP service availability

Microsoft.Windows.InternetInformationServices.2008.FTPServer.NTService.CheckServiceState.Monitor (UnitMonitor)

Knowledge Base article:

Summary

This monitor checks the status of the IIS FTP Server service (FTPSVC). If you receive an alert from this monitor, action is required in order to bring the service back to an operational state.

Operational States:

The IIS FTP Server service (FTPSVC) can be either in a "Service Running" or "Service Not Running" operational state.

Configuration

The monitor takes a single configuration parameter that controls whether the service should be monitored when its startup type is not set "Automatic". By default, the service will be monitored only if the service startup type is "Automatic". This can be adjusted as required.

Causes

A service can stop for many reasons, including:

Resolutions

If the IIS FTP Server service (FTPSVC) is not running you can diagnose the issue or restart the service by taking the following actions:

Start FTP (FTPSVC) Service

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.FTPServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
The FTP service is unavailable.
The FTP service on {0} is unavailable.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.2008.FTPServer.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.FTPServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.2008.FTPServer.NTService.CheckServiceState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>FTPSVC</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>