[ZBX-6788] Unable monitor iLO through SSH Created: 2013 Jul 13  Updated: 2017 Oct 25  Resolved: 2017 Oct 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.6
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: uniken1 Assignee: Unassigned
Resolution: Unsupported version Votes: 0
Labels: ilo, ssh
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.4 x64 minimal


Attachments: PNG File 1_ilo_key.png     PNG File 2_pubkey.png     PNG File 3_password.png     PNG File 4_zabbix_login.png     PNG File 5_console.png    

 Description   

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)



 Comments   
Comment by uniken1 [ 2013 Jul 13 ]

Some more info. In whole ssh monitoring works well. With ssh-copy-id command and same key on same server i can successfully monitoring another linux system. Its problem only zabbix and iLO.

Comment by Oleksii Zagorskyi [ 2013 Jul 15 ]

meh, see it https://www.zabbix.com/forum/showthread.php?t=27242

Looks like the same timeout problem.

Comment by uniken1 [ 2013 Jul 15 ]

How can I increase timeout for testing?

Comment by Oleksii Zagorskyi [ 2013 Jul 15 ]

sorry, this is a bug tracker.
see https://zabbix.org/wiki/Getting_help for more detail

Comment by uniken1 [ 2013 Aug 09 ]

I didn't find anywhere references about a timeout. Without such setting it isn't possible to monitor by ssh many equipment such as HP iLO, Brocade swithes, HP Onboard Administrator for Blade...

Generated at Sat May 24 08:48:30 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.