freeipmi-users
[Top][All Lists]
Advanced

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

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


From: Ken Stailey
Subject: [Freeipmi-users] How Do I Interpret on "Name" Field?
Date: Thu, 27 Oct 2011 11:47:54 -0700 (PDT)

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



reply via email to

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