Hi there,

sorry in advance for this possibly dumb question, but how do I set a
threshold?

I have many Supermicro AOC-IPMI-1U IPMI cards and they work ok, however
the factory defaults of some settings are not good:

n0005:~# ipmitool -V
ipmitool version 1.8.9
n0005:~# ipmitool sensor list
CPU              | 25.000     | degrees C  | ok    | na        | na
   | na        | 76.000    | 78.000    | 80.000
System           | 26.000     | degrees C  | ok    | na        | na
   | na        | 76.000    | 78.000    | 80.000
CPU Core         | 1.272      | Volts      | ok    | 0.896     | 0.904
   | 0.912     | 1.384     | 1.392     | 1.400
DIMM             | 1.808      | Volts      | ok    | 1.568     | 1.584
   | 1.600     | 1.984     | 2.000     | 2.016
3.3V             | 3.344      | Volts      | ok    | 2.912     | 2.928
   | 2.944     | 3.648     | 3.664     | 3.680
5V               | 4.968      | Volts      | ok    | 4.416     | 4.440
   | 4.464     | 5.520     | 5.544     | 5.568
5VSB             | 4.896      | Volts      | ok    | 4.416     | 4.440
   | 4.464     | 5.520     | 5.544     | 5.568
12V              | 11.712     | Volts      | ok    | 10.464    | 10.560
   | 10.656    | 13.344    | 13.440    | 13.536
-12V             | -12.381    | Volts      | ok    | -13.871   | -13.722
  | -13.573   | -10.444   | -10.295   | -10.146
Battery          | 3.200      | Volts      | ok    | 2.912     | 2.928
   | 2.944     | 3.648     | 3.664     | 3.680
FAN1             | 13635.000  | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
FAN2             | 13500.000  | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
FAN3             | 13770.000  | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
FAN4             | 0.000      | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
FAN5             | 0.000      | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
FAN6/CPU         | 0.000      | RPM        | ok    | 270.000   | 405.000
  | 540.000   | na        | na        | na
Intrusion        | 0.000      | unspecified | nc    | 0.000     | na
    | 0.000     | 0.000     | na        | na
Power Supply     | 0.000      | unspecified/uns | cr    | 0.000     | na
       | 0.000     | 0.000     | na        | na

(sorry for the line wrap)

For example I want to change the CPU core temperature levels to 60 65
and 70 degrees, i.e. I start

n0005:~# ipmitool sensor thresh CPU upper 60 65 70
Locating sensor record 'CPU'...
Setting sensor "CPU" Upper Non-Critical threshold to 60.000
Error setting threshold: Invalid data field in request
Setting sensor "CPU" Upper Critical threshold to 65.000
Error setting threshold: Invalid data field in request
Setting sensor "CPU" Upper Non-Recoverable threshold to 70.000
Error setting threshold: Invalid data field in request

Neither stracing nor running with -vvv gives (me) much help:

n0005:~# ipmitool -vvv sensor thresh CPU upper 60 65 70
Locating sensor record 'CPU'...
Using ipmi device 0
Set IPMB address to 0x20
SDR free space: 5404
SDR records   : 18
SDR reservation ID 002d
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 00 05
SDR record ID   : 0x0000
SDR record id mismatch: 0x0001
SDR record type : 0x01
SDR record next : 0x0002
SDR record bytes: 46
Getting 46 bytes from SDR at offset 5
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 05 2e
Getting 46 bytes from SDR at offset 5
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 05 2e
Getting 46 bytes from SDR at offset 5
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 05 2e
Getting 30 bytes from SDR at offset 5
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 05 1e
Getting 14 bytes from SDR at offset 5
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 05 0e
Getting 14 bytes from SDR at offset 19
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 13 0e
Getting 14 bytes from SDR at offset 33
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 21 0e
Getting 4 bytes from SDR at offset 47
OpenIPMI Request Message (6 bytes)
 2d 00 00 00 2f 04
Setting sensor "CPU" Upper Non-Critical threshold to 60.000
OpenIPMI Request Message (8 bytes)
 00 08 00 00 00 3c 00 00
Error setting threshold: Invalid data field in request
Setting sensor "CPU" Upper Critical threshold to 65.000
OpenIPMI Request Message (8 bytes)
 00 10 00 00 00 00 41 00
Error setting threshold: Invalid data field in request
Setting sensor "CPU" Upper Non-Recoverable threshold to 70.000
OpenIPMI Request Message (8 bytes)
 00 20 00 00 00 00 00 46
Error setting threshold: Invalid data field in request


Any idea what I'm missing?

Thanks in advance

Carsten
-- 
Dr. Carsten Aulbert - Max Planck Institut für Gravitationsphysik
Callinstraße 38, 30167 Hannover, Germany
Fon: +49 511 762 17185, Fax: +49 511 762 17193

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to