Author Topic: Using IPMI Tool  (Read 136 times)

tl482

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Using IPMI Tool
« on: October 23, 2020, 10:10:14 am »
Is anything unique required to setup IPMI for the TALOS II?  I've been unsuccessful at reading data using ipmi with the instructions provided in this document:  https://github.com/open-power/docs/blob/master/occ/OCC_ipmitool_sensors.pdf

Are there any services that should be running on the BMC that I could check?  I would like to use the Amester tool, which uses ipmi to collect detailed information but so far have been unsuccessful.  There was no ipmitool binary on the BMC so I compiled a version of ipmitool to run and get the error below when running the command directly on the BMC.  Any help is appreciated!

Code: [Select]
root@talos:~/ipmitool# ./ipmitool sensors
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
root@talos:~/ipmitool#

pocock

  • Full Member
  • ***
  • Posts: 168
  • Karma: +19/-0
    • View Profile
Re: Using IPMI Tool
« Reply #1 on: October 23, 2020, 10:19:37 am »
I regularly use it, for example, to check fan speeds

Code: [Select]
sudo ipmitool sensor | grep RPM


ipmitool version 1.8.18-6 on Debian buster


There is an existing Perl script for Ganglia integration too:

https://www.gnu.org/software/freeipmi/ganglia_ipmi_sensors.pl


I was thinking about extending ganglia-modules-linux to report data from IPMI, it could be written more efficiently as a C plugin.
Debian Developer

tl482

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Using IPMI Tool
« Reply #2 on: October 26, 2020, 11:02:37 am »
IMPI works when I ssh to the host but does not work when I try to run ipmi requests over the network to the BMC.  My goal for data collection is to not require the main host operating system's interaction at all to read data from sensors and I thought ipmi could offer some of that capability. However, I haven't been able to get amester or ipmi to work from a remote workstation.  Are there options that need to be set when the BMC firmware is built?

Maybe a better way to ask my question is how does the web server running on the BMC read sensors?  For example if I visit https://[bmc ip]/xyz/openbmc_project/sensors/enumerate I get essentially the same information provided by ipmitools on the main host OS.

Thanks for the help!