Applications Systems

Cannot connect to SSH service. Timeout occurred due to inactivity

Linux/Unix script monitors fail with Connection timeout. A timeout occurred during execution which resulted in the job being canceled. Failing on Ubuntu version 18.04, needs ubuntu 20.04.

First published date

11/1/2021 5:12 PM

Last published date

11/1/2021 5:12 PM

Overview

Linux/Unix script monitors have been reported as failing against Ubuntu v18.04.


Connection timeout. A timeout occurred during execution which resulted in the job being canceled.

1.png


Another message available from the edit application monitor screen (Orion/APM/Admin/Edit/EditApplication.aspx?id=##) is displayed when you hit "TEST"on the Linux/Unix Script component monitor.
 Test failed with "Unknown" status on <NodeName> Cannot connect to SSH service. Timeout occurred due to inactivity.
>>Details


2.png

Product section

Server Application Monitor

Cause

Known bug reported by ubuntu on SSH (© 2021 Canonical Ltd., available at https://bugs.launchpad.net/, obtained on November 1, 2021).

Resolution

Resolution 1

There was a known bug reported by Ubuntu for version 18.04 and SSH. First, verify your ubuntu version and if your version is affected. If affected, upgrade to v20.04 or later. Review the bug incident here: Client fails to connect to openssh-server (© 2021 Canonical Ltd., available at https://bugs.launchpad.net/, obtained on November 1, 2021). 

Resolution 2

Consider utilizing an Orion Linux agent. This eliminates the need for an SSH connection to the client (agent performs the polling locally on the machine). Click to view the procedure of installing an agent.




Contact SolarWinds support if you experience further issues not yet mentioned by this article.