[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] Re: Obtain an error when changing a threshold value...
From: |
Al Chu |
Subject: |
[Freeipmi-devel] Re: Obtain an error when changing a threshold value... but "echo $" returns "0" value |
Date: |
Mon, 22 Sep 2008 09:04:37 -0700 |
Hey Won,
Ahhh, good catch. I see the corner case on this one. I'll fix it up.
Thanks,
Al
On Sun, 2008-09-21 at 23:26 -0700, Won De Erick wrote:
> Hi Al,
>
> Box/Platform: IBM x3650, freebsd 6.2, freeipmiv0.6.6
>
> I was trying to change the threshold value for a fan (see below), but
> got an error.
> This is OK. However, what I was expecting to receive is a non-zero
> return value to distinguish it from the one without an error message.
>
> ~# ipmi-sensors-config -o -S 16_Fan_9_Tach
> Section 16_Fan_9_Tach
> ## Give valid input for sensor type = Fan; units = RPM
> ## Lower_Critical_Threshold 750.000000
> EndSection
>
> ~# echo $?
> 0
>
> ~# ipmi-sensors-config -c -e
> 16_Fan_9_Tach:Lower_Critical_Threshold=760.00000
> ERROR: `16_Fan_9_Tach:Lower_Critical_Threshold' is not writeable
>
> ~# echo $?
> 0
>
> Thanks again,
>
> Won
>
>
--
Albert Chu
address@hidden
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory