Ad Widget

Collapse

Zabbix SSH2 issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #1

    Zabbix SSH2 issues

    Hello everyone
    I have RHEL 5.5 and using it on ppc64. Have already installed required applications and libraries and everything looks fine, accept SSH2 support.
    Have tried to fix following issue in different ways… For instance, I installed libssh2-1.2.7-1.el5.rf.ppc.rpm and libssh2-devel-1.2.7-1.el5.rf.ppc.rpm also compiled libssh2 using source code.

    Keep getting error on ./configure
    checking for SSH2 support... no
    configure: error: SSH2 library not found

    basically I`m using --with-ssh2 flag, however, have tried different once as well when compiled from source.

    Can anybody tell me what I`m doing wrong or what can I do to configure with ssh2 support zabbix 1.8.4
    Thank you in advance!!!
  • Firm
    Senior Member
    • Dec 2009
    • 342

    #2
    Show contents of config.log file (numbers may vary) starting from
    configure:13088: checking for SSH2 support
    to
    configure:13248: error: SSH2 library not found

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      also, make sure you either install libssh2 in some systemwide location or specify path to it in the configure call
      Zabbix 3.0 Network Monitoring book

      Comment

      • josea.munoz
        Junior Member
        • Apr 2008
        • 7

        #4
        Not working in my environment

        I'm running:

        ./configure --enable-server --enable-proxy --enable-agent --enable-ipv6 --with-mysql --with-jabber --with-libcurl -with-net-snmp --with-ssh2=/usr/include/libssh --with-openipmi --with-ldap

        or

        ./configure --enable-server --enable-proxy --enable-agent --enable-ipv6 --with-mysql --with-jabber --with-libcurl -with-net-snmp --with-ssh2 --with-openipmi --with-ldap

        Libssh is installed:

        libssh: /usr/include/libssh

        And always get

        checking for SSH2 support... no
        configure: error: SSH2 library not found



        What I'm doing wrong for SSH?

        Comment

        • josea.munoz
          Junior Member
          • Apr 2008
          • 7

          #5
          Solved

          OK.

          This is solved. For RHEL download http://pkgs.repoforge.org/libssh2/ packages and after installing them, run:

          ./configure --enable-server --enable-proxy --enable-agent --enable-ipv6 --with-mysql --with-jabber --with-libcurl -with-net-snmp --with-ssh2 --with-openipmi --with-ldap

          Comment

          Working...