SMTP 虚拟服务器可用性

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

Knowledge Base article:

Summary

此监视器检查所有 SMTP 虚拟服务器的状态。 如果您收到来自此监视器的警报,则需要采取措施使 SMTP 虚拟服务器恢复操作状态。

操作状态:

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

配置

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

原因

SMTP 虚拟服务器可能会因为许多原因而停止,其中包括:

解决方法

如果 SMTP 虚拟服务器已停止,您可以通过执行下列操作,诊断问题或重新启动该站点:

Element properties:

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

Source Code:

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