Process SSH Service Health

Microsoft.Solaris.11.Process.Ssh.Monitor (UnitMonitor)

Solaris 11 Process SSH Monitor

Knowledge Base article:

Summary

The SSH daemon is not running. Check the Diagnostic and Recovery results to see if further action is required.

The daemon for SSH is named sshd. It provides secure encrypted communication between two untrusted hosts over an insecure network. There should be at least one process running at all times.

Causes

An unhealthy state indicates that the SSH daemon is not running.

Resolutions

Check the service by running ps -ef | grep sshd or by viewing the diagnostic in the Operations Manager Console. If it is down, try to login via telnet or rlogin. If these are disabled, you can login to the console. You can start the service by running the command "/etc/init.d/sshd start" or by clicking the recovery link in the Operations Manager Console.

For root cause analysis, first check the system log file (/var/adm/messages), and view any related entries at the time of failure. You may also check the system for any process core files. Use '/usr/bin/pstack [corefile]' to print a stack trace which will assist in troubleshooting the cause of failure.

Element properties:

TargetMicrosoft.Solaris.11.OperatingSystem
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Process.Status.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SSH daemon is not running
The SSH daemon on server {0} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Solaris.11.Process.Ssh.Monitor" Accessibility="Public" Target="Microsoft.Solaris.11.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Solaris.11.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>