Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26873

Return SSH item proxy support

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.17
    • Proxy (P), Server (S)
    • None

      A customer reports that they have some hosts that can only be accessed from one particular device in their network, something that is called the "jump-host", and those hosts can only be accessed using SSH.

      Prior to version 7.0.17, they were successfully using SSH items like this:

      And what made this item work by going to the end device through the "jump-host", was this ssh configuration (in .ssh/config file) that was created for "zabbix" user in the Server/Proxy:

      Host whatever*.domain
        ProxyCommand ssh -q -oStrictHostKeyChecking=No special_user@jump-host /bin/nc %h %p
      

      Since 7.0.17 it now doesn't work, outputting this message:

      Cannot connect to SSH server: getaddrinfo() failed for 'whatever34.domain': [1] Unknown host
      

      This issue arose for them in version 7.0.17 due to this ZBX:
      https://support.zabbix.com/browse/ZBX-26571

      Specifically, the issue appears to happen because due to this change, DNS names are now resolved by Zabbix, rather than SSH itself.

            MVekslers Michael Veksler
            tbross Tomass Janis Bross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: