Monitor usługi SSH procesu w systemie SUSE Linux Enterprise Server 12
Demon SSH nie jest uruchomiony. Sprawdź wyniki diagnostyki i odzyskiwania, aby ustalić, czy są konieczne dalsze czynności.
Demon usługi SSH nosi nazwę sshd. Zapewnia on bezpieczną szyfrowaną komunikację pomiędzy dwoma niezaufanymi hostami za pośrednictwem niezabezpieczonej sieci. Przez cały czas powinien być uruchomiony co najmniej jeden proces.
Zła kondycja oznacza, że demon SSH nie jest uruchomiony.
Sprawdź, czy usługa działa, uruchamiając polecenie „ps -ef | grep sshd” lub wyświetlając dane diagnostyczne w konsoli programu Operations Manager. Aby uruchomić usługę, wykonaj polecenie „systemctl start sshd” lub kliknij link odzyskiwania w konsoli programu Operations Manager.
Aby ustalić przyczynę problemu, sprawdź najpierw w plikach dziennika systemu (/var/log/messages i /var/log/secure) powiązane wpisy zarejestrowane w chwili awarii.
Target | Microsoft.Linux.SLES.12.OperatingSystem | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Unix.WSMan.Process.Status.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Linux.SLES.12.Process.Ssh.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.12.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.12.Process.Ssh.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Running"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="NotRunning"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>sshd</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>