Monitoring sensor readings from command line

Monitoring sensor readings from command line

Prerequisites:

  • Linux
  • IPMI capable motherboard
  • ipmitool or IPMICFG
  • watch

Instructions:

1. Run the following command to check that the IPMI sensors are detected:

  • ipmitool sdr elist

or

  • ipmicfg -sdr

2. If the sensors are properly detected, parse them through watch:

  • watch 'ipmitool sdr elist'

or

  • watch 'ipmicfg -sdr'

The watch command will update every 1 second by default. If you'd like to extend the refresh window, use the -n option. For example, set it to refresh every 2 seconds:

  • watch -n 2 'ipmitool sdr elist'
    • Related Articles

    • Load IPMI Modules on Linux

      Common Errors: *Not seeing Ipmi information due to no device found. Kernel module may not be loaded. *Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory *Get Device ID command failed *Unable to open SDR ...
    • Introduction to IPMI

      Q: What is IPMI? A: IPMI stands for Intelligent Platform Management Interface. It is in essence a web server that runs internally on your motherboard, powered by a separate ARM-based chip, also known as the baseboard management controller (BMC). The ...
    • How to Install SuperDoctor on Linux

      Download latest version of SuperDoctor from Supermicro's website: supermicro.com/products/nfo/SMS_SD5.cfm Unzip the archive after it has finished downloading. Locate the SuperDoctor5Installer[...].bin file and rename it to ...
    • Reset ADMIN User password with IPMITOOL (Local Access Only)

      The command below will set the password for User 2 (ADMIN) to the password ADMIN. ipmitool -I open user set password 2 ADMIN   You can run this via OS or LiveCD but you must be local to the system at the time.
    • Checking IP address configuration

      Q: How can I check the IP address that IPMI is using? A: The motherboard will list the IP address in the BIOS, usually under IPMI > Set LAN Configuration. By default we leave DHCP turned off and set 0.0.0.0 as the static IP before shipping, for ...