Ad Widget

Collapse

IPMI feature doesn't work

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • takahiro
    Junior Member
    • Feb 2025
    • 3

    #1

    IPMI feature doesn't work


    Hello,
    I add an ipmi interface for a host but zabbix-server doesn't send ipmi packets.
    I added "StartIPMIPollers=3" in zabbix_server.conf and restarted zabbix-server before adding the interface.
    It appears to be working properly, as the following logs show.
    Code:
    # grep -i ipmi /var/log/zabbix/zabbix_server.log
    1745:20250228:120811.875 IPMI monitoring: YES
    1859:20250228:120820.276 IPMI monitoring: YES
    1876:20250228:120841.571 item "Zabbix server:zabbix[process,ipmi poller,avg,busy]" became not supported: No "ipmi poller" processes started.
    1876:20250228:120847.578 item "Zabbix server:zabbix[process,ipmi manager,avg,busy]" became not supported: No "ipmi manager" processes started.
    2309:20250228:123102.960 IPMI monitoring: YES
    2332:20250228:123103.202 server #22 started [ipmi poller #1]
    2321:20250228:123103.202 server #11 started [ipmi manager #1]
    2333:20250228:123103.203 server #23 started [ipmi poller #2]
    2334:20250228:123103.203 server #24 started [ipmi poller #3]
    2327:20250228:123141.276 item "Zabbix server:zabbix[process,ipmi poller,avg,busy]" became supported
    2327:20250228:123147.282 item "Zabbix server:zabbix[process,ipmi manager,avg,busy]" became supported
    I added "DebugLevel=5" in zabbix_server.conf and restart zabbix-server. As a result, the following logs were output.
    Code:
    # grep -i ipmi /var/log/zabbix/zabbix_server.log |grep -i error
    2428:20250228:123414.569 query [txnlev:0] [select i.itemid,i.hostid,i.status,i.type,i.value_type,i.k ey_,i.snmp_oid,i.ipmi_sensor,i.delay,i.trapper_hos ts,i.logtimefmt,i.params,ir.state,i.authtype,i.use rname,i.password,i.publickey,i.privatekey,i.flags, i.interfaceid,ir.lastlogsize,ir.mtime,i.history,i. trends,i.inventory_link,i.valuemapid,i.units,ir.er ror,i.jmx_endpoint,i.master_itemid,i.timeout,i.url ,i.query_fields,i.posts,i.status_codes,i.follow_re directs,i.post_type,i.http_proxy,i.headers,i.retri eve_mode,i.request_method,i.output_format,i.ssl_ce rt_file,i.ssl_key_file,i.ssl_key_password,i.verify _peer,i.verify_host,i.allow_traps,i.templateid,nul l from items i left join item_rtdata ir on i.itemid=ir.itemid]
    2450:20250228:123418.565 IPMI error: [110] Connection timed out
    2449:20250228:123418.566 IPMI error: [110] Connection timed out
    2448:20250228:123418.567 IPMI error: [110] Connection timed out
    2450:20250228:123421.568 IPMI error: [110] Connection timed out
    2449:20250228:123421.569 IPMI error: [110] Connection timed out
    2448:20250228:123421.570 IPMI error: [110] Connection timed out
    2450:20250228:123424.571 IPMI error: [110] Connection timed out
    2449:20250228:123424.572 IPMI error: [110] Connection timed out
    2448:20250228:123424.573 IPMI error: [110] Connection timed out
    2450:20250228:123427.573 IPMI error: [110] Connection timed out
    2449:20250228:123427.575 IPMI error: [110] Connection timed out
    2448:20250228:123427.575 IPMI error: [110] Connection timed out
    2450:20250228:123430.576 IPMI error: [110] Connection timed out


    To isolate the cause I ran ipmitool. At that time, I specified the same IP address as the interface as "-H" option. As a result, ipmitool correctly displayed the hardware status of the specified server. This confirms that there are no problems with the network.
    I ran tcpdump and 623/udp packets were sent when I ran ipmitool, but it wasn't sent when I added the ipmi interface.
    Finally I tested same thing by compiling Zabbix with specifying open-ipmi option from source code and got the same problem.
  • Answer selected by takahiro at 03-03-2025, 16:01.
    takahiro
    Junior Member
    • Feb 2025
    • 3

    I solved it myself.
    I just added the IPMI interface, had not added any IPMI items. When an IPMI item was added for a host, the status of the IPMI interface turned green.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Selinux restrictions?

      Comment


      • takahiro
        takahiro commented
        Editing a comment
        Selinux is currently disabled.

        I also did the following additional work.
        - Install Zabbix on other computer.
        - Until last week I had Zabbix 7.0 set up, but I installed Zabbix 6.0 in a different container.
        - Until last week I had Zabbix set up on Almalinux, but I tried it on CentOS Stream as well.
        - I started Zabbix as root user.
        But the issue was not solved. The IPMI feature did not work in all patterns.
    • takahiro
      Junior Member
      • Feb 2025
      • 3

      #3
      Selinux is currently disabled.

      I also did the following additional work.
      - Install Zabbix on other computer.
      - Until last week I had Zabbix 7.0 set up, but I installed Zabbix 6.0 in a different container.
      - Until last week I had Zabbix set up on Almalinux, but I tried it on CentOS Stream as well.
      - I started Zabbix as root user.
      But the issue was not solved. The IPMI feature did not work in all patterns.

      Comment

      • takahiro
        Junior Member
        • Feb 2025
        • 3

        #4
        I solved it myself.
        I just added the IPMI interface, had not added any IPMI items. When an IPMI item was added for a host, the status of the IPMI interface turned green.

        Comment

        Working...