[ZBX-17756] SSH. Run will often report an error: "Cannot read data from SSH server" Created: 2020 May 17 Updated: 2024 Apr 11 Resolved: 2020 Jul 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 5.0.0 |
Fix Version/s: | 4.0.22rc1, 5.0.2rc1, 5.2.0alpha1, 5.2 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | zabbix_1993 | Assignee: | Zabbix Development Team |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
ZABBIX 5.0.0 centos8.1.1911 |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||
Sprint: | Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020) | ||||||||||||||||||||||||
Story Points: | 0.5 |
Description |
Server logs frequently appeared SSH. Run [time,127.0.0.1,]" became supported and SSH. Run [time,127.0.0.1,]" became not supported: Cannot read data from SSH server |
Comments |
Comment by Alexander Vladishev [ 2020 May 18 ] |
Please provide more information:
|
Comment by zabbix_1993 [ 2020 May 19 ] |
I deploy zabbix using VMWare (.vmx) |
Comment by zabbix_1993 [ 2020 May 19 ] |
Comment by zabbix_1993 [ 2020 May 19 ] |
What do I need to fix I cannot currently reproduce the issue using the libssh_0.9.0 1) Could you increase the logging level: ./zabbix_server -R log_level_increase ./zabbix_server -R log_level_increase ,reproduce the issue then decrease the logging back: zabbix_server -R log_level_decrease zabbix_server -R log_level_decrease and attach the logs? 2) Could you also run the ldd <path to the zabbix_server binary>/zabbix_server ? |
Comment by zabbix_1993 [ 2020 May 19 ] |
[root@appliance ~]# ldd /usr/sbin/zabbix_server |
Comment by zabbix_1993 [ 2020 May 19 ] |
zabbix_server.log |
Comment by Artjoms Rimdjonoks [ 2020 May 20 ] |
It does not look like a Zabbix issue at the moment - it looks like SSH server you are connecting drops the connections. Could you also verify that you can establish (and hold for some time) several manual SSH connections to the server while this issue. happens ? |
Comment by zabbix_1993 [ 2020 May 20 ] |
I deployed it using the official virtual machine file without making any changes to the SSH configuration I used SSH. Run to monitor the zabbix server and was not stable myself |
Comment by Artjoms Rimdjonoks [ 2020 May 20 ] |
Right, I did manage to replicate the issue - I am investigating what could be done about it. |
Comment by zabbix_1993 [ 2020 May 21 ] |
Have you reappeared the problem?If you find a solution, please reply to me, thank you |
Comment by Artjoms Rimdjonoks [ 2020 May 21 ] |
zabbix_1993 ln -s /usr/share/zoneinfo/Europe/Riga /etc/localtime 2) updated the zabbix_server.conf and zabbix_agent.conf Timeout value to 30 Could you try that, restart the VM and checking if issue still persists. If it still persists - you also try to increase the number of pollers in zabbix_server.conf UPDATE - Actually those measure above apparently reduces the likelihood but not eliminated the issue (error stopped appearing for like 20 minutes - so I thought it was fixed). |
Comment by zabbix_1993 [ 2020 May 22 ] |
zabbix server5.0 |
Comment by Artjoms Rimdjonoks [ 2020 May 22 ] |
The problem can be reproduced without any involvement of Zabbix on the fresh CentOS 8 installation. |
Comment by zabbix_1993 [ 2020 Jul 13 ] |
Which version of libssh or which version of Zabbix has fixed this problem |
Comment by Artjoms Rimdjonoks [ 2020 Jul 13 ] |
zabbix_1993 |
Comment by Mickael Martin [ 2021 Jan 18 ] |
I use this version today : https://launchpad.net/~savoury1/+archive/ubuntu/encryption/+build/20079959/+files/libssh-4_0.9.5-0ubuntu1~20.04.sav0_amd64.deb I have no more bugs. |
Comment by hashim mohammed [ 2022 Apr 19 ] |
Hello, I have encountered this issue, the link shared for libssh is not reachable. can you please let me know how I can upgrade to latest libssh version? |
Comment by Lukas [ 2022 Apr 26 ] |
Hi, since I encountered this problem today too I would like to share that I solved it by installing a newer version of libssh (as mentioned by @mma) from here: libssh-releases : David Kedves (launchpad.net). |