bugGNU FreeIPMI - Bugs: bug #63625, ipmi-sensors fails to read many...

 
 

bug #63625: ipmi-sensors fails to read many sensor values

Submitter:  Pedro Lopes <paol>
Submitted:  Fri 06 Jan 2023 07:10:07 PM UTC
   
 
Category:  ipmi-sensors Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Improper Behaviour
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Jan 2023 09:42:30 PM UTC, comment #3: 

To be honest, I can't remember why this default was chosen.  But I believe its because its the more commonly desired one.  On most systems, bridging leads to an excess (i.e. useless) number of sensors being output.

As systems change and "what is common" changes, could certainly change this.  But I don't believe its necessary at the moment.

Albert Chu <chu11>
Group administrator
Fri 06 Jan 2023 08:21:24 PM UTC, comment #2: 

Thanks so much. It was the --bridge-sensors option that accounted for the difference between the two programs.

Would it maybe make sense to make this behaviour the default, or does it cause problems in some configurations?

Feel free to mark this closed.

Pedro Lopes <paol>
Fri 06 Jan 2023 08:00:13 PM UTC, comment #1: 

Hi,

There are several options to try to get output to match up to ipmitool.

1 - --bridge-sensors option
2 - the --shared-sensors option
3 - the "discretereading" workaround

I cannot recall what the defaults are in ipmitool for their output, but they elect to default differently in some output cases.

Albert Chu <chu11>
Group administrator
Fri 06 Jan 2023 07:10:07 PM UTC, original submission:  

ipmi-sensors fails to read many sensor values. I know those sensors have values because ipmitool (https://github.com/ipmitool/ipmitool) can read them.

Both programs detect the same set of sensors, but ipmi-sensors has readings for 44 of them while ipmitool reads 87. I've attached the output of both programs on the same machine.

System information:

HW: HPE Proliant DL380 Gen10
OS: Ubuntu 20.04.5 LTS
Kernel: Linux 5.4.0-135-generic
FreeIPMI: 1.6.10 (compiled form source)

Pedro Lopes <paol>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54193:  free-ipmi.txt added by paol (10KiB - text/plain)
file #54194:  ipmitool.txt added by paol (14KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chu11 (Posted a comment)
  • -email is unavailable- added by paol (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-06 chu11 Open/ClosedOpen Closed
    2023-01-06 paol Attached File- Added free-ipmi.txt, #54193
        Attached File- Added ipmitool.txt, #54194

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code