Ad Widget

Collapse

ssh item requirement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Singularity
    Member
    • Aug 2020
    • 81

    #1

    ssh item requirement

    If I run Zabbix as daemon service, creating ssh item is not an issue. However

    We are running Zabbix-web, Zabbix server and database as containers. And ssh item that I have created, connection is getting refused.

    I am aware when we compile Zabbix from source, we have to use "--with-ssh2". But what about containers ? Is there any configuration that needs to be enabled ?

    Note : I am able to ssh from Zabbix server as well as from Zabbix server container to the remote server. Also I am using user-password authentication to ssh.​
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Can you get the zabbix_server logs somehow from the container? There it should say if SSH is compiled in, like:

    910:20221129:200550.784 Starting Zabbix Server. Zabbix 6.2.4 (revision 885eaefa6f7).
    910:20221129:200550.784 ****** Enabled features ******
    910:20221129:200550.784 SNMP monitoring: YES
    910:20221129:200550.784 IPMI monitoring: YES
    910:20221129:200550.784 Web monitoring: YES
    910:20221129:200550.784 VMware monitoring: YES
    910:20221129:200550.784 SMTP authentication: YES
    910:20221129:200550.784 ODBC: YES
    910:20221129:200550.784 SSH support: YES
    910:20221129:200550.784 IPv6 support: YES
    910:20221129:200550.784 TLS support: YES
    910:20221129:200550.784 ******************************


    (I don't see why anyone would create the Zabbix server container image without SSH support but just to confirm)

    Markku

    Comment

    • Singularity
      Member
      • Aug 2020
      • 81

      #3
      Hi Markku
      That is something I have already checked. SSH Support status is YES.
      I suppose I should increase the log level to see if there is anything I can get. For now it only says connection refused.

      Comment

      Working...