SMTP service tillgänglig

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

Knowledge Base article:

Sammanfattning

Övervakaren kontrollerar status för IIS SMTP-servertjänsten (SMTPSVC). Om du får ett meddelande från denna bildskärm, krävs åtgärder för att få tillbaka tjänsten till ett fungerande läge.

Operationella steg:

IIS SMTP-servertjänsten (SMTPSVC) kan vara antingen i driftsläget ”Tjänsten körs” eller ”Tjänsten körs inte”.

Konfiguration

Monitorn har en enda konfigurationsparameter som styr huruvida tjänsten bör övervakas när dess startmetod inte är inställd på "Automatisk". Som standard, kommer tjänsten att övervakas endast om startmetod är satt som "Automatisk". Detta kan ändras vid behov.

Orsaker

En tjänst kan stoppas av många orsaker, bland andra:

Lösningar

Om IIS SMTP-servertjänsten (SMTPSVC) inte körs kan du diagnostisera problemet eller starta om tjänsten på följande sätt:

Starta SMTP-servertjänsten (SMTPSVC)

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.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-servern är otillgänglig
SMTP-servern på {0} är otillgänglig.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.LegacySMTPServer.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.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.6.2.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>