Usługa LPD: Monitor stanu usługi

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

Służy do monitorowania stanu usługi serwera wydruku TCP/IP.

Knowledge Base article:

Podsumowanie

Stan usługi serwera wydruku TCP/IP.

Rozwiązania

Uruchom usługę serwera wydruku TCP/IP w systemie Windows.

To zadanie można wykonać, wpisując poniższe polecenie w wierszu polecenia.

„net start lpdsvc”

Element properties:

TargetMicrosoft.Windows.Server.10.0.PrintServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Usługa LPD: Monitor stanu usługi
Usługa serwera wydruku TCP/IP została zatrzymana.
RunAsMicrosoft.Windows.Server.PrintServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.PrintServer.LPDService.Status" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.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.10.0.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>