Beschikbaarheid SMTP-service

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

Knowledge Base article:

Samenvatting

Met deze monitor wordt de status van de IIS SMTP Server-service (SMTPSVC) gecontroleerd. Als u een waarschuwing ontvangt van deze monitor is er actie vereist om de service terug naar de operationele status te brengen.

Operationele statussen:

De operationele status van de IIS SMTP Server-service (SMTPSVC) kan "De service wordt uitgevoerd" of "De service wordt niet uitgevoerd" zijn.

Configuratie

De monitor pakt een enkele configuratieparameter die bepaalt of de service moet worden bewaakt als het opstarttype niet is ingesteld op 'Automatisch'. Standaard wordt de service alleen bewaakt als het opstarttype 'Automatisch' is. Dit kan zo nodig worden aangepast.

Oorzaken

Er kan een groot aantal redenen zijn waarom een service is gestopt, bijvoorbeeld:

Oplossingen

Als de IIS SMTP Server-service (SMTPSVC) niet werkt, kunt u een diagnose van het probleem stellen of de service opnieuw starten door de volgende acties:

SMTP Server-service (SMTPSVC) starten

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-server niet beschikbaar
De SMTP-service op {0} is niet beschikbaar.
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>