LPD-tjänst: Tjänstestatusövervakare

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

Övervakar tillståndet för TCP/IP-utskriftsservertjänsten.

Knowledge Base article:

Sammanfattning

Tjänstestatus TCP/IP-utskriftsserver.

Lösningar

StartaTCP/IP-utskriftsserverns fönstertjänst.

Detta kan åstadkommas genom att köra kommandot från en kommandorad.

”net start lpdsvc”

Element properties:

TargetMicrosoft.Windows.Server.6.2.PrintServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
LPD-tjänst: Tjänstestatusövervakare
TCP/IP-utskriftsservertjänsten har stoppats.
RunAsMicrosoft.Windows.Server.PrintServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.PrintServer.LPDService.Status" Accessibility="Public" Enabled="false" 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.LPDService.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>LPDSVC</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>