Monitoruje kondycję usługi serwera
Usługa serwera umożliwia udostępnianie plików i drukarek w systemie Windows za pośrednictwem sieci. Jeśli ta usługa zostanie zatrzymana, system Windows nie będzie mógł udostępniać plików ani usług drukowania.
Usługa może zostać zatrzymana z wielu powodów, takich jak:
Usługa została zatrzymana przez administratora.
Usługa napotkała wyjątek, który spowodował jej zatrzymanie.
Usługa została nieprawidłowo skonfigurowana, co uniemożliwiło jej uruchomienie.
Uruchomienie usługi było niemożliwe, ponieważ nie udało się uwierzytelnić przypisanego do niej konta użytkownika.
Usługę można ponownie uruchomić za pomocą następującego zadania:
Uruchom usługę serwera
Target | Microsoft.Windows.Server.2008.OperatingSystem | ||
Parent Monitor | Microsoft.Windows.Server.2008.OperatingSystem.CoreServicesRollup | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.2008.OperatingSystem.ServerServiceHealth" Accessibility="Public" Enabled="true" Target="Server2008!Microsoft.Windows.Server.2008.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.2008.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.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>