# ipmitool sdr type "Power Supply"
Status           | 42h | ok  | 10.8 | Presence detected
Status           | 43h | ok  | 10.9 |
VRM              | 44h | ok  |  3.2 | Presence detected
VRM              | 45h | ok  |  3.3 | Presence detected
PS Redundancy    | 53h | ok  |  7.1 | Redundancy Lost

I'm wondering why the above query returns "ok" when the reading says 
"Redundancy Lost"?  Shouldn't this be a not ok situation?

Background: I'm trying to setup some automated monitoring scripts and am 
trying to find a reliable way to poll ipmi for its status.  I noticed I can 
get some information out of `ipmitool sel elist` but it isn't in a nice format 
for automated scripts as there is no explicit "failed" or "ok". ie:

# ipmitool sel elist
   12 | 08/25/2008 | 17:27:33 | Slot/Connector Drive | Fault Status | Asserted
   13 | 08/25/2008 | 17:27:57 | Slot/Connector Drive | Fault Status | Deasserted

   20 | 08/25/2008 | 18:46:14 | Power Supply PS Redundancy | Redundancy Lost
   21 | 08/25/2008 | 19:30:28 | Power Supply Status  | Presence detected | 
Asserted
   22 | 08/25/2008 | 19:30:29 | Power Supply PS Redundancy | Fully Redundant


Thanks!




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to