SMTP 서비스 가용성

Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.NTService.CheckServiceState.Monitor (UnitMonitor)

Knowledge Base article:

요약

이 모니터는 IIS SMTP Server 서비스(SMTPSVC)의 상태를 확인합니다. 이 모니터의 경고를 수신하면 서비스를 작동 상태로 전환하기 위한 조치가 필요합니다.

작동 상태:

IIS SMTP Server 서비스(SMTPSVC)는 "서비스 실행 중" 또는 "서비스가 실행되고 있지 않음" 작동 상태일 수 있습니다.

구성

이 모니터는 서비스 시작 유형이 "자동"으로 설정되지 않은 경우 서비스를 모니터링해야 하는지 여부를 제어하는 단일 구성 매개 변수를 사용합니다. 기본적으로 서비스 시작 유형이 "자동"인 경우에만 서비스가 모니터링됩니다. 이 매개 변수는 필요에 맞게 조정할 수 있습니다.

원인

서비스는 다음과 같은 여러 가지 이유로 중지될 수 있습니다.

해결 방법

IIS SMTP Server 서비스(SMTPSVC)가 실행되고 있지 않은 경우 다음 작업을 수행하여 문제를 진단하거나 서비스를 다시 시작할 수 있습니다.

SMTP Server(SMTPSVC) 서비스 시작

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.LegacySMTPServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SMTP Server를 사용할 수 없습니다.
{0}에서 SMTP Server를 사용할 수 없습니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer.NTService.CheckServiceState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>SMTPSVC</ServiceName>
</Configuration>
</UnitMonitor>