Доступность FTP-сайта

Microsoft.Windows.InternetInformationServices.2008.FTPSite.FTPSiteStatusCheck.Monitor (UnitMonitor)

Knowledge Base article:

Сводка

Этот монитор проверяет состояние FTP-сайтов. При получении оповещения от этого монитора необходимо вернуть FTP-сайт обратно в операционное состояние.

Операционные состояния:

FTP-сайт IIS может находиться в операционном состоянии "Запущен" или "Остановлен".

Настройка

Единственным настраиваемым параметром для этого монитора является временной интервал для проверки состояния FTP-сайта.

Причины

FTP-сайт IIS может быть остановлен по многим причинам, некоторые из которых приведены ниже.

Решения

Если FTP-сайт IIS остановлен, определить причину сбоя или перезапустить сайт можно, выполнив указанные ниже действия.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.FTPSite
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.IIS.IISFTPSiteStateMonitor.2008
RemotableFalse
AccessibilityPublic
Alert Message
FTP-сайт IIS 7 недоступен
FTP-сайт IIS 7 {0} на сервере {1} недоступен, поскольку этот сайт остановлен.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.2008.FTPSite.FTPSiteStatusCheck.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.FTPSite" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.IIS.IISFTPSiteStateMonitor.2008" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.2008.FTPSite.FTPSiteStatusCheck.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite"]/Description$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Started" MonitorTypeStateID="Started" HealthState="Success"/>
<OperationalState ID="Stopped" MonitorTypeStateID="Stopped" HealthState="Error"/>
</OperationalStates>
<Configuration>
<PeriodInSeconds>60</PeriodInSeconds>
<SiteID>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite"]/SiteID$</SiteID>
</Configuration>
</UnitMonitor>