Ad Widget

Collapse

SSH Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m477
    Junior Member
    • Feb 2017
    • 1

    #1

    SSH Error

    Hi all,

    I've been racking my brain with this one for a few days now;



    Zabbix server log:

    1294:20170208:043523.051 item "172.16.100.1:ssh.run[erabatch,172.16.100.1,22,utf8]" became not supported: Cannot read data from SSH server

    And on the remote server I can see it passing auth:
    Feb 8 15:35:31 h50158 sshd[29545]: Accepted publickey for twgadm from 172.16.99.4 port 50348 ssh2

    And if I execute the script:

    root@zabbix:~# ssh [email protected] /var/prtg/scripts/check_era_batch_schedulers.sh

    0:17k
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    How long does it take for processing?

    Processing longer than 3 seconds will result in timeout if you keep the default settings.
    If it is within 30 seconds, it may be possible to respond by extending the Timeout setting of the Zabbix server.

    Comment

    • Kukulkan
      Junior Member
      • Jun 2020
      • 7

      #3
      Can you tell me how you solved this? I run simple commands like

      who|wc -l

      and getting "Cannot read data from SSH server" in 9 from 10 attempts (yes, sometimes it works, but rarely). That definitely does not take more than 1 second.

      Observed hosts tells me that SSH logins were successfull all the time.

      Comment

      Working...