Ad Widget

Collapse

Monitor IPMI with ipmitool (zabbix integrated IPMI client hide data)

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mate1213
    Junior Member
    • May 2021
    • 5

    #1

    Monitor IPMI with ipmitool (zabbix integrated IPMI client hide data)

    Hi!

    I have an HP DL360e G8 with ILO4, I would like to monitor the power usage, over IPMI this data available with ipmitool's sensor command like:
    Code:
    ipmitool -I lanplus -H *IPaddress* -U *user*-P *password* sensor
    Power Supply 1 | 240 | Watts | ok | na | na | na | na | na | na
    I hoped the ipmi.get item like in the documentation will provide these info but it result the next json:
    Code:
    {
    "id": "Power Supply 1",
    "name": "(10.1).Power Supply 1",
    "sensor": {
    "type": 8,
    "text": "power_supply"
    },
    "reading": {
    "type": 111,
    "text": "sensor specific"
    },
    "state": {
    "state": 1,
    "text": "presence detected"
    }
    },​
    So my idea from zabbix server side I could monitor this value but I would like to attach to the IPMI host.

    Is there any way, to run script on server to collect custom parameter from host?


    Thanks!
    Mate
    Last edited by Mate1213; 09-02-2023, 17:58.
  • Answer selected by Mate1213 at 10-02-2023, 11:37.
    Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    The question of displaying the consumption of power supplies received via IPMI has been repeatedly discussed on the forum - use the search.
    In short, zabbix cannot take this information because it is placed in a "non-standard way" or a sensor of the wrong type.​

    Workarounds:

    1) system.run[command]
    https://www.zabbix.com/documentation...s/zabbix_agent

    2) UserParameter
    https://www.zabbix.com/documentation...erParameter​
    Last edited by Hamardaban; 10-02-2023, 10:37.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #2
      The question of displaying the consumption of power supplies received via IPMI has been repeatedly discussed on the forum - use the search.
      In short, zabbix cannot take this information because it is placed in a "non-standard way" or a sensor of the wrong type.​

      Workarounds:

      1) system.run[command]
      https://www.zabbix.com/documentation...s/zabbix_agent

      2) UserParameter
      https://www.zabbix.com/documentation...erParameter​
      Last edited by Hamardaban; 10-02-2023, 10:37.

      Comment

      • Mate1213
        Junior Member
        • May 2021
        • 5

        #3
        Thanks for the repeated response! I will continue my search. Sadly, its not quite what I need (this will ad the parameter to the server, if I understand right), but I can work with this.

        Comment

        Working...