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

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

Knowledge Base article:

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

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

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

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

Конфигурация

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

Причины

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

Решения

Если FTP-сайт IIS находится в состоянии "Остановлен", можно диагностировать проблему или перезапустить сайт, выполнив следующие действия:

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.FTPSite.FTPSiteStatusCheck.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.FTPSite" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.IIS.IISFTPSiteStateMonitor.8" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.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>