[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] FreeIPMI recognizes OEM sensor, but it does not ret
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-users] FreeIPMI recognizes OEM sensor, but it does not return a reasonable state for it |
Date: |
Sat, 19 Feb 2011 18:48:00 -0800 |
Hey Lars,
Oh crud, I screwed up something. Lets try two things.
1)
Open /etc/freeipmi/freeipmi_interpret_sensor.conf and go to the lines like this:
## Manufacturer ID = 674 (Dell)
## Product ID = 256 (Poweredge)
## Event/Reading Type Code = 70h (OEM)
## Sensor Type = 15h (Module/Board)
##
## Bitmask 0x0001 = "Absent"
## Bitmask 0x0002 = "Standby"
## Bitmask 0x0004 = "IPMI Function ready"
## Bitmask 0x0008 = "Fully ready"
## Bitmask 0x0010 = "Offline"
## Bitmask 0x0020 = "Failed"
## Bitmask 0x0040 = "Active"
## Bitmask 0x0080 = "Booting"
## Bitmask 0x0100 = "Write protected"
#
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0000 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0001 Critical
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0002 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0004 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0008 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0010 Warning
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0020 Critical
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0040 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0080 Nominal
# IPMI_OEM_Bitmask 674:256 0x70 0x15 0x0100 Warning
Try uncommenting all of the "IPMI_OEM_Bitmask" lines, and then see if
it works (remember to specify --interpret-oem-data).
2)
Hopefully the above works. Now, commenting the above lines back, see
if the attached patch works. (Basically, I wrote the function for
doing this by default, but forgot to call it).
Al
On Sat, Feb 19, 2011 at 11:26 AM, <address@hidden> wrote:
>>> # /usr/local/sbin/ipmimonitoring
>>> ID | Name | Type | State | Reading |
>>> Units | Event
>>> 74 | SD vFlash Status | Module/Board | N/A | N/A |
>>> N/A | 'OEM Event = 0000h'
>>>
>>>
>>> Though, the state is still shown as "N/A".
>
>> Since this is an OEM sensor, you need to specify --interpret-oem-data
>> (you can config it in /etc/freeipmi/freeipmi.conf so its on by default
>> in the future).
>
>
> doesn´t look very different... Did I forget something else?
>
> incubus:~# /usr/local/sbin/ipmimonitoring --interpret-oem-data
> --output-sensor-state
> ID | Name | Type | State | Reading |
> Units | Event
> 74 | SD vFlash Status | Module/Board | N/A | N/A |
> N/A | 'OK'
>
>
> Lars
>
>
> _______________________________________________
> Freeipmi-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/freeipmi-users
>