Hi Craig,

No one ever requested this, so it's never come up.  However ...

There's a decent chance that FreeIPMI just isn't handling the get sensor
thresholds error correctly.  If the call fails, it should just fall
through and use the thresholds listed in the SDR.  Perhaps its an
unique/unexpected error code.

Could you send the --debug output that shows the error.  You can limit
the output by only specifying one sensor w/ -r.

Al


On Mon, 2015-08-17 at 18:10 +0000, Craig wrote:
> Hello,
> 
> I was wondering if anyone has worked out a patch to extend ipmi-sensors to
> extract threshold settings from sensors that are not local to the BMC (i.e
> across an IPMB bridge).
> 
> The "-b" option provides a means to get the sensor readings, but if you ask
> for the verbose output (-v) or explicitly request threshold output
> (--output-sensor-thresholds), the output stops as soon as it encounters an
> error trying to read the threshold values for a non-local sensor.
> 
> Looking at the code, it seems like there needs to be a parallel function to
> "ipmi_cmd_get_sensor_reading_ipmb()" that retrieves the threshold values as
> well.  e.g. ipmi_cmd_get_sensor_thresholds_ipmb()
> 
> I had a look at the code, and it seems non-trivial to accomplish this for
> someone unfamiliar with the code and API.
> 
> Thanks for any advice you can give me.
> 
> Craig
> 
> 
> _______________________________________________
> Freeipmi-users mailing list
> Freeipmi-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to