On Tue, 2008-05-13 at 16:29 +0200, Carsten Aulbert wrote:
> 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
...
> For example I want to change the CPU core temperature levels to 60 65
> and 70 degrees, i.e. I start
> 
...
> 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?
> 

Hi,

I haven't played around with setting thresholds much, but I'm not sure
you're missing anything (unless we both are). Your command appears to
have been constructed and sent ok to me (see Table 35-8 in the IPMI 
2.0 Spec).

I tried running your set thresholds command on one of my boxes, and 
both the upper non-critical and upper non-recoverable threshold 
values were set fine.  However, the upper critical threshold setting
failed with the same error you got for (unfortunately) all 3 of 
your threshold settings (cc == Invalid data field ....).

# ipmitool sensor list
...
CPU 1 Temp       | 38.000     | degrees C  | ok    | na        | na
| na        | 85.000    | na        | 95.000
...

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

# ipmitool sensor list
...
CPU 1 Temp       | 40.000     | degrees C  | ok    | na        | na
| na        | 60.000    | na        | 70.000


Maybe you've got a firmware issue?

Anyway, hope this is of some help,

Carol


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