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

Unable monitor iLO through SSH

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unsupported version
    • Icon: Major Major
    • None
    • 2.0.6
    • Server (S)
    • CentOS 6.4 x64 minimal

      My task to monitor HP iLO 2 and 3 through SSH.
      When I ctreate Item with ssh it stay Not Supported.

      I have two system 2.0.6 on CentOS(production) and 2.0.3 Appliance on SuSE(for tests)
      Problem is same on both system. All output got from 2.0.3.

      Server configuration:
      SSH enabled
      7463:20130713:120752.203 Starting Zabbix Server. Zabbix 2.0.3 (revision ).
      7463:20130713:120752.203 ****** Enabled features ******
      7463:20130713:120752.203 SNMP monitoring: YES
      7463:20130713:120752.203 IPMI monitoring: YES
      7463:20130713:120752.203 WEB monitoring: YES
      7463:20130713:120752.203 Jabber notifications: NO
      7463:20130713:120752.203 Ez Texting notifications: YES
      7463:20130713:120752.203 ODBC: YES
      7463:20130713:120752.204 SSH2 support: YES
      7463:20130713:120752.204 IPv6 support: YES
      7463:20130713:120752.204 ******************************

      SSH configured
      zabbix@zabbix:/> echo ~
      /home/zabbix

      zabbix_server.conf:
      SSHKeyLocation=/home/zabbix/.ssh

      Im successfully geterate DSA(as I understand iLO does not work with RSA) key with command
      ssh-keygen -t dsa

      Then I imported public key to iLO through Web Interface.(1_ilo_key.png)
      Create item Auth Method PublicKey (2_pubkey.png) and test it.
      Logs:

      6898:20130713:114637.093 In substitute_key_macros() data:'ssh.run[test]'
      6898:20130713:114637.093 End of substitute_key_macros():SUCCEED data:'ssh.run[test]'
      6898:20130713:114637.093 In substitute_simple_macros() data:'id_dsa.pub'
      6898:20130713:114637.093 In substitute_simple_macros() data:'id_dsa'
      6898:20130713:114637.093 In substitute_simple_macros() data:'ilo_zabbix'
      6898:20130713:114637.093 In substitute_simple_macros() data:EMPTY
      6898:20130713:114637.093 In substitute_simple_macros() data:'ls'
      6898:20130713:114637.093 In get_value() key:'ssh.run[test]'
      6898:20130713:114637.093 In ssh_run()
      6898:20130713:114640.062 ssh_run() supported authentication methods:'password,publickey'
      6898:20130713:114640.094 End of ssh_run():NOTSUPPORTED
      6898:20130713:114640.094 Item [iLO:ssh.run[test]] error: Public key authentication failed: Would block requesting userauth list
      6898:20130713:114640.094 End of get_value():NOTSUPPORTED
      6921:20130713:114642.915 item [iLO:ssh.run[test]] became not supported: Public key authentication failed: Would block requesting userauth list
      6921:20130713:114642.915 query [txnlev:1] [update items set lastclock=1373701600,lastns=94206695,status=3,error='Public key authentication failed: Would block requesting userauth list' where itemid=43437;

      Create item Auth Method Password (3_password.png) and test it.
      Logs:
      6898:20130713:120037.330 In substitute_key_macros() data:'ssh.run[test]'
      6898:20130713:120037.330 End of substitute_key_macros():SUCCEED data:'ssh.run[test]'
      6898:20130713:120037.330 In substitute_simple_macros() data:EMPTY
      6898:20130713:120037.330 In substitute_simple_macros() data:EMPTY
      6898:20130713:120037.330 In substitute_simple_macros() data:'ilo_zabbix'
      6898:20130713:120037.330 In substitute_simple_macros() data:'password'
      6898:20130713:120037.331 In substitute_simple_macros() data:'ls'
      6898:20130713:120037.331 In get_value() key:'ssh.run[test]'
      6898:20130713:120037.331 In ssh_run()
      6898:20130713:120040.271 ssh_run() supported authentication methods:'password,publickey'
      6898:20130713:120040.280 ssh_run() password authentication succeeded
      6898:20130713:120041.804 ssh_run() exitcode: 0 bytecount: 0
      6898:20130713:120041.805 End of ssh_run():NOTSUPPORTED
      6898:20130713:120041.805 Item [iLO:ssh.run[test]] error: Cannot request a shell
      6898:20130713:120041.805 End of get_value():NOTSUPPORTED
      6921:20130713:120043.120 item [iLO:ssh.run[test]] became not supported: Cannot request a shell
      6921:20130713:120043.120 query [txnlev:1] [update items set lastclock=1373702441,lastns=805454935,status=3,error='Cannot request a shell' where itemid=43437;

      I believe that not ssh or iLO problem because I can view in iLO log successful login from zabbix(4_zabbix_login.png).
      And I can successfully login to iLO ssh from zabbix account from console (5_console.png)

        1. 5_console.png
          5_console.png
          12 kB
        2. 4_zabbix_login.png
          4_zabbix_login.png
          3 kB
        3. 3_password.png
          3_password.png
          7 kB
        4. 2_pubkey.png
          2_pubkey.png
          8 kB
        5. 1_ilo_key.png
          1_ilo_key.png
          5 kB

            Unassigned Unassigned
            uniken1 uniken1
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: