| 30 | === 2019-10-07 === |
| 31 | Sending Raw hex commands to read sensor data |
| 32 | |
| 33 | The following example uses the ipmitool raw command to get temperature data from FanTray 1 |
| 34 | The argument 0x04 signifies SensorEvent |
| 35 | |
| 36 | The argument 0x2d means read sensor data |
| 37 | |
| 38 | 235 is the sensor number, in this case the temperature reading for FanTray1 (236, 237, 238 for Fantrays 2,3,4, respectively). |
| 39 | |
| 40 | {{{ |
| 41 | [bkilian@cmssun1 ~]$ ipmitool -I lan -H 192.168.10.171 -P "" -t 0x20 raw 0x04 0x2d 235 |
| 42 | 17 c0 c0 |
| 43 | }}} |
| 44 | |
| 45 | The first value displayed, 17, is the HEX value of the temperature. c0 c0 signify the sensor status and the state mask. |