Ad Widget

Collapse

IPMI Howto

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvtue
    Member
    • Sep 2012
    • 71

    #1

    IPMI Howto

    Hello all,

    I am trying to setup ipmi monitoring on HP ProLiant BL465c Blades.

    I've searched the forum and found different threads concerning IPMI but none of them tells how to set it up in detail. Even the manual is very short in that term.

    I believe I did everything which described here and there in the forums and in the manual
    - compiled with ipmi support
    - starting only on ipmi poller instead of three
    - figured out the authentication mechs with ipmitool which should work (MD5, MD2, PASSWORD, OEM, ...)

    but still have no success.

    This what I am getting if hovering over the red IPMI symbol of the host:
    "cannot connect to IPMI host: [22] Invalid argument"

    Raised the debug level to 4 and restarted the proxy. Here is an excerpt from the log:

    Code:
    16390:20121023:174245.801 In get_value() key:'chassis_power'
     16390:20121023:174245.801 In get_value_ipmi() key:'hpb020101-ilo:chassis_power'
     16390:20121023:174245.801 In init_ipmi_host() host:'[10.23.2.1]:623'
     16390:20121023:174245.801 In get_ipmi_host() host:'[10.23.2.1]:623'
     16390:20121023:174245.801 End of get_ipmi_host():0x797ed0
     16390:20121023:174245.805 EINF: 0 ipmi_lan.c(got_rmcpp_open_session_rsp): Expected privilege 2, got 4
     16390:20121023:174245.805 In setup_done() phost:0x797ed0 host:'[10.23.2.1]:623'
     16390:20121023:174245.805 setup_done() fail: [22] Invalid argument
     16390:20121023:174245.805 End of setup_done():NETWORK_ERROR
    Any idea where I am going wrong?
    TIA
    tvtue
  • tvtue
    Member
    • Sep 2012
    • 71

    #2
    I got it working now. I changed the "Privilege Level" in the IPMI tab of the host to "Admin" and gave my ipmi user Admin rights in the ILO Webinterinterface.

    Code:
    16390:20121023:174245.805 EINF: 0 ipmi_lan.c(got_rmcpp_open_session_rsp): Expected privilege 2, got 4
    This hints on this issue. I don't know why the Zabbix gets privilege 4 (which probably is "Admin"), though I only setup the a "User" in the ILO Interface.

    Is this a bug?

    cheers
    tvtue

    Comment

    • ticho
      Junior Member
      • Jan 2013
      • 2

      #3
      I would also be interested in knowing this. I can get IPMI to work if I let it connect to iLO with Administrator-level access, but it doesn't work as soon as I switch to anything lower, even if ipmitool with same credentials works just fine.
      I would prefer not to give Administrator-level access when it's clearly not needed.

      Comment

      • Colttt
        Senior Member
        Zabbix Certified Specialist
        • Mar 2009
        • 878

        #4
        hello,

        in my setup it didnt work with IPMI, but on Supermicro-boards it works very well.
        I use SNMP, and it works..
        Debian-User

        Sorry for my bad english

        Comment

        • guest-X
          Junior Member
          • Oct 2010
          • 11

          #5
          Originally posted by ticho
          I would also be interested in knowing this. I can get IPMI to work if I let it connect to iLO with Administrator-level access, but it doesn't work as soon as I switch to anything lower, even if ipmitool with same credentials works just fine.
          I would prefer not to give Administrator-level access when it's clearly not needed.
          Same thing. iLO 2.12 on Proliant DL380 G5. Zabbix connects only with admin level. If I set "user" I've got same error: "cannot connect to IPMI host: [22] Invalid argument".

          Debug level = 4 shows same thing as topic starter said, "Expected privilege 2, got 4".

          Yeah, looks like this is a bug

          Comment

          • ticho
            Junior Member
            • Jan 2013
            • 2

            #6
            This is indeed a bug, but in OpenIPMI (which Zabbix uses to talk to IPMI hosts).
            See my support request at https://support.zabbix.com/browse/ZBX-6077.

            In this request, I was pointed to http://www.mail-archive.com/openipmi.../msg01759.html, where a patch fixing this is proposed. I have tried this patch on my Zabbix installation, and indeed it helped - I can now query IPMI data using USER privilege.

            Comment

            Working...