Spooler de impressão: monitor de status do serviço

Microsoft.Windows.Server.6.2.PrintServer.PrintSpoolerService.Status (UnitMonitor)

Status do Serviço Spooler de Impressão do Servidor de Impressão

Knowledge Base article:

Resumo

Status do serviço Spooler de Impressão do servidor de impressão.

Resoluções

Iniciar o serviço Spooler de Impressão do Windows.

Para isso, basta executar este comando em uma linha de comando.

“net start spooler”

Element properties:

TargetMicrosoft.Windows.Server.6.2.PrintServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Spooler de impressão: monitor de status do serviço
O serviço Spooler de Impressão foi interrompido.
RunAsMicrosoft.Windows.Server.PrintServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.PrintServer.PrintSpoolerService.Status" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.6.2.PrintServerRole" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="PSLIB!Microsoft.Windows.Server.PrintServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.PrintServer.PrintSpoolerService.Status_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</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>Spooler</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>