freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] Obtain an error when changing a threshold value... but


From: Won De Erick
Subject: [Freeipmi-devel] Obtain an error when changing a threshold value... but "echo $" returns "0" value
Date: Sun, 21 Sep 2008 23:26:47 -0700 (PDT)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]