freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] How Do I Interpret on "Name" Field?


From: Albert Chu
Subject: Re: [Freeipmi-users] How Do I Interpret on "Name" Field?
Date: Thu, 27 Oct 2011 13:12:01 -0700

Hi Ken,

Argh!  These are the motherboards I hate, where the interpretation
between different sensors on the same motherboard is dependent on the
sensor name (which is an arbitrary string) and not on anything really
programmable (sensor type, event type, etc.).

So others that can upon this problem had to use the
--sensor-state-config-file option.  They would create different
interpretation conf files
(see /etc/freeipmi/freeipmi_interpret_sensor.conf for default one) and
use them on different sensors in their scripts.  So hypothetically
something like:

ipmi-sensors --record-ids="69,70" 
--sensor-state-config-file=nominalifasserted.conf

ipmi-sensors --record-ids="71,72,73,74" 
--sensor-state-config-file=nominalifDEASSERTED.conf

(I use --record-ids, but it could be any combination of the options in
ipmi-sensors).

Hope that helps you deal with the problem.  I wish there were a better
way, but it's hard for me to figure out how to handle this issue in a
good way.

Al


On Thu, 2011-10-27 at 11:47 -0700, Ken Stailey wrote:
> Hi,
> 
> On SUN FIRE X4450 (and no other Sun system) "Power Supply" type isn't good 
> enough, you have to be able to filter on "Name" too.
> 
> You interpret 'State Nominal' for:
> All the "*OK" that are 'State Asserted'
> All the "*_FAULT" that are 'State Deasserted'
> 
> $ sudo ipmi-sensors  | grep 'Power Supply'
> 69  | PS0/VINOK        | Power Supply            | N/A        | N/A   | 
> 'State Asserted'
> 70  | PS0/PWROK        | Power Supply            | N/A        | N/A   | 
> 'State Asserted'
> 71  | PS0/CUR_FAULT    | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 72  | PS0/VOLT_FAULT   | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 73  | PS0/FAN_FAULT    | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 74  | PS0/TEMP_FAULT   | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 81  | PS1/VINOK        | Power Supply            | N/A        | N/A   | 
> 'State Asserted'
> 82  | PS1/PWROK        | Power Supply            | N/A        | N/A   | 
> 'State Asserted'
> 83  | PS1/CUR_FAULT    | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 84  | PS1/VOLT_FAULT   | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 85  | PS1/FAN_FAULT    | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 86  | PS1/TEMP_FAULT   | Power Supply            | N/A        | N/A   | 
> 'State Deasserted'
> 
> $ ipmi-sensors --version
> ipmi-sensors - 1.0.7
> 
> How do I configure FreeIPMI interpretation rules so that:
> 
> IPMI_Power_Supply_State_Deasserted returns Warning when Name = "*OK" and 
> otherwise returns Nominal? 
> IPMI_Power_Supply_State_Asserted returns Warning when Name = "*_FAULT" and 
> otherwise returns Nominal?etc. 
> Thanks,
> Ken
> 
> _______________________________________________
> Freeipmi-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]