SMTP 虚拟服务器可用性

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

Knowledge Base article:

摘要

此监视器检查所有 SMTP 虚拟服务器的状态。如果收到此监视器发出的警报,则需要执行操作将 SMTP 虚拟服务器恢复到操作状态。

操作状态:

SMTP 虚拟服务器的操作状态可以是“已启动”或“已停止”。

配置

此监视器唯一可配置的参数为用于检查 SMTP 虚拟服务器状态的时间间隔。

原因

许多原因可以导致 SMTP 虚拟服务器停止,其中包括:

解决方法

如果 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
Windows Server 2012 SMTP 虚拟服务器不可用。
名为 {0} 的 SMTP 虚拟服务器不可用,因为该虚拟服务器已停止。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPVirtualServer.SMTPVirtualServerStatusCheck.Monitor" Accessibility="Public" Enabled="true" 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>