Re: [Ipmitool-devel] IPMITool 1.8.9 Bad Values on PowerEdge SDR List (WAS: [Fwd: [netops] ipmitool - timeout causes core dumps)

2007-04-19 Thread James Pearson
Brian A. Seklecki wrote:
 Resend -- filtered by subscriber list post only
 ---
 
 Anyone else seeing this?
 
 1.8.8:
 
 $ sudo -H -u mrtg /tmp/ipmitool-1.8.8 -U netadmin
 -f /usr/local/cane_me... -H [PowerEdge] sdr list full
 Temp | -53 degrees C | ok
 Temp | -51 degrees C | ok
 Temp | 40 degrees C  | ok
 Temp | 40 degrees C  | ok
 Ambient Temp | 19 degrees C  | ok
 FAN 1 RPM| 6300 RPM  | ok
 FAN 2 RPM| 6375 RPM  | ok
 FAN 3 RPM| 5850 RPM  | ok
 
 1.8.9 in tree:
 
 $ sudo -H -u mrtg /usr/local/bin/ipmitool -U netadmin -f /cane/one -H
 [PowerEdge] -c sdr list full
 (14:04:20) seklecki: Temp,,,ns
 Temp,,,ns
 Temp,,,ns
 Temp,,,ns
 Ambient Temp,18,degrees C,ok
 FAN 1 RPM,6300,RPM,ok
 FAN 2 RPM,6375,RPM,ok
 FAN 3 RPM,5775,RPM,ok
 FAN 4 RPM,5850,RPM,ok
 FAN 5 RPM,,,ns
 FAN 6 RPM,,,ns
 
 [the only difference is the -c]. 
 
 Note how the 1.8.9 binary pulls null values?

Yes, I see the same on a Dell PowerEdge 1435

Running:

ipmitool sdr type Temperature get

With 1.8.9:

Temp | 01h | ns  |  3.1 | Disabled
Temp | 02h | ns  |  3.2 | Disabled
Ambient Temp | 08h | ok  |  7.1 | 19 degrees C

With 1.8.8:

Temp | 01h | ok  |  3.1 | 20 degrees C
Temp | 02h | ok  |  3.2 | 20 degrees C
Ambient Temp | 08h | ok  |  7.1 | 19 degrees C


Only seems to be a problem on Dells - running 1.8.8/1.8.9 on an IBM 
x3455 gives the same output.

James Pearson




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


Re: [Ipmitool-devel] IPMITool 1.8.9 Bad Values on PowerEdge SDR List (WAS: [Fwd: [netops] ipmitool - timeout causes core dumps)

2007-04-19 Thread James Pearson
Brian A. Seklecki wrote:
 Okay I'll dig through the CHANGELOG ~BAS
 
 On Thu, 19 Apr 2007, James Pearson wrote:
 
 
Brian A. Seklecki wrote:

Resend -- filtered by subscriber list post only
---

Anyone else seeing this?

Looks like the following was removed from lib/ipmi_sdr.c between 1.8.8 
and 1.8.9 - putting it back and it works again with 1.8.9

James Pearson

--- ipmitool-1.8.9/lib/ipmi_sdr.c.dist  2007-03-06 22:15:37.0 +
+++ ipmitool-1.8.9/lib/ipmi_sdr.c   2007-04-19 14:34:42.899888953 +0100
@@ -1122,6 +1122,14 @@
 } else if (IS_SCANNING_DISABLED(rsp-data[1])) {
 /* Sensor Scanning Disabled */
 validread = 0;
+   if (rsp-data[0] != 0) {
+   /* we might still get a valid reading */
+   val =
+   sdr_convert_sensor_reading(sensor,
+ 
rsp-data[0]);
+   if (val != 0.0)
+   validread = 1;
+   }
 } else if (rsp-data[0] != 0) {
 /* convert RAW reading into units */
 val = sdr_convert_sensor_reading(sensor, 
rsp-data[0]);

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


[Ipmitool-devel] IPMITool 1.8.9 Bad Values on PowerEdge SDR List (WAS: [Fwd: [netops] ipmitool - timeout causes core dumps)

2007-04-18 Thread Brian A. Seklecki
Resend -- filtered by subscriber list post only
---

Anyone else seeing this?

1.8.8:

$ sudo -H -u mrtg /tmp/ipmitool-1.8.8 -U netadmin
-f /usr/local/cane_me... -H [PowerEdge] sdr list full
Temp | -53 degrees C | ok
Temp | -51 degrees C | ok
Temp | 40 degrees C  | ok
Temp | 40 degrees C  | ok
Ambient Temp | 19 degrees C  | ok
FAN 1 RPM| 6300 RPM  | ok
FAN 2 RPM| 6375 RPM  | ok
FAN 3 RPM| 5850 RPM  | ok

1.8.9 in tree:

$ sudo -H -u mrtg /usr/local/bin/ipmitool -U netadmin -f /cane/one -H
[PowerEdge] -c sdr list full
(14:04:20) seklecki: Temp,,,ns
Temp,,,ns
Temp,,,ns
Temp,,,ns
Ambient Temp,18,degrees C,ok
FAN 1 RPM,6300,RPM,ok
FAN 2 RPM,6375,RPM,ok
FAN 3 RPM,5775,RPM,ok
FAN 4 RPM,5850,RPM,ok
FAN 5 RPM,,,ns
FAN 6 RPM,,,ns

[the only difference is the -c]. 

Note how the 1.8.9 binary pulls null values?

-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel