Доступность виртуального сервера SMTP

Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer.SMTPVirtualServerStatusCheck.Monitor (UnitMonitor)

Knowledge Base article:

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

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

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

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

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

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

Причины

Виртуальный SMTP-сервер IIS может быть остановлен по различным причинам:

Решения

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

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.CheckLegacySMTPVirtualServerState
RemotableTrue
AccessibilityPublic
Alert Message
Виртуальный сервер SMTP Windows Server 2012 недоступен.
Виртуальный сервер SMTP с именем {0} недоступен, так как виртуальный сервер остановлен.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer.SMTPVirtualServerStatusCheck.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.CheckLegacySMTPVirtualServerState" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer.SMTPVirtualServerStatusCheck.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer"]/SiteID$</AlertParameter1>
</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.SMTPVirtualServer"]/SiteID$</SiteID>
</Configuration>
</UnitMonitor>