arcress0 / ipmiutil

ipmiutil is an easy to use set of IPMI server management utilities. It can get/set sensor readings & thresholds, automate SEL management, do SOL console, etc. Supports Linux, Windows, BSD, Solaris, MacOSX. The only IPMI project tool that runs natively on Windows. See http://ipmiutil.sf.net for rpms, etc. (formerly called panicsel). It can run driverless in Linux for use on boot media or embedded environments.
BSD 3-Clause "New" or "Revised" License
33 stars 5 forks source link

Fail to set sensor threshold via IPMIUTIL command with sensor num > 255 #16

Open vien20010 opened 1 year ago

vien20010 commented 1 year ago

image SetSensorThresholds function only supports maximum 255 sensors (uchar) --> When system have sensor number > 255 --> error

Suggest: Use sensor OwnerLun to expand like ipmitool. snum 0 - 255 have OwnlerLun 0, snum 256 - 511 have OwnerLun 1, ...

arcress0 commented 1 year ago

I'm at a disadvantage to not have a test system with more than 255 sensors. Do you have a vendor/model that fits this case?

arcress commented 1 year ago

Currently ipmiutil does not support more than 255 sensors. I know of no platform firmware that supports more than 255 sensors, and the IPMI standard defines the sensor number as a one-byte field (<=255). Is there some platform for which this rather large change would be needed?

arcress0 commented 9 months ago

This test case is related to IPMI simulators, which have the capability to have sensor numbers greater than 255. This is beyond the IPMI Specification, and is currently not supported by ipmiutil. It would be large effort to make the changes needed to accommodate this issue.