Integridade do Serviço de Servidor

Microsoft.Windows.Server.2003.OperatingSystem.ServerServiceHealth (UnitMonitor)

Monitora a integridade do serviço do Windows para o Servidor

Knowledge Base article:

Resumo

O serviço Servidor permite que o Windows execute compartilhamento de arquivos e impressão na rede. Se esse serviço for parado, o Windows não poderá compartilhar serviços de arquivos e impressão.

Causas

Um serviço pode parar por muitos motivos, incluindo:

Resoluções

O serviço pode ser reiniciado usando a seguinte tarefa:

Iniciar o serviço Servidor

Element properties:

TargetMicrosoft.Windows.Server.2003.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.2003.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Serviço Windows Server Parado
O serviço Windows Server no servidor {0} parou
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2003.OperatingSystem.ServerServiceHealth" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.2003.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.2003.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2003.OperatingSystem.ServerServiceHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/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/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>lanmanserver</ServiceName>
</Configuration>
</UnitMonitor>