>> I created a patch from the 1.8.9 tree for ipmievd.c that would also print 
>> out the event direction, so we could have more detail logged in syslog.  Any 
>> chance that we could add this enhancement to an upstream release of ipmitool?


I'm guessing that if you make your patch for 1.8.10 or better yet from CVS and 
you actually post it, you'll have a very very good chance ;-)


Francois Isabelle

-----Message d'origine-----
De : Glover, Kipp [mailto:[EMAIL PROTECTED] 
Envoyé : 29 octobre 2008 17:36
À : ipmitool-devel@lists.sourceforge.net
Objet : [Ipmitool-devel] ipmievd deassertion events


Howdy!

I saw one other email in the archive, but unfortunately with no answer.

In the log_event function in ipmievd.c I don't see where we print out the 
direction of the event unless it is a sensor specific event (event type == 
0x6f).  I just recently saw that if you removed a power supply and then 
reinserted it you got the following four messages in the syslog:

syslog:
=======
Oct 28 12:15:21 dhcp57-124 ipmievd: Power Supply sensor PS2 Status - 
Performance Lags Oct 28 12:15:21 dhcp57-124 ipmievd: Other Units-based Sensor 
sensor PS Redundancy - Redundancy Lost Oct 28 12:17:21 dhcp57-124 ipmievd: 
Power Supply sensor PS2 Status - Performance Lags Oct 28 12:17:21 dhcp57-124 
ipmievd: Other Units-based Sensor sensor PS Redundancy - Redundancy Lost

>From this you cannot tell that the power supply was re-inserted.  Not until 
>you dump the SEL with the increase verbosity (#ipmitool -v sel list) can you 
>see that the last two events are deassertion events.

I created a patch from the 1.8.9 tree for ipmievd.c that would also print out 
the event direction, so we could have more detail logged in syslog.  Any chance 
that we could add this enhancement to an upstream release of ipmitool?

With the patch added my syslog now looks like:

syslog w/ patch:
================
Oct 28 12:15:21 dhcp57-124 ipmievd: Power Supply sensor PS2 Status - 
Performance Lags Asserted Oct 28 12:15:21 dhcp57-124 ipmievd: Other Units-based 
Sensor sensor PS Redundancy - Redundancy Lost Asserted Oct 28 12:17:21 
dhcp57-124 ipmievd: Power Supply sensor PS2 Status - Performance Lags 
Deasserted Oct 28 12:17:21 dhcp57-124 ipmievd: Other Units-based Sensor sensor 
PS Redundancy - Redundancy Lost Deasserted

This is a little more readable.

Thanks!
/Kipp Glover


-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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