IPMITool Threshold值設定

先用ipmitool sensor list all 抓出 Sensor Name & lnr, lcr, lnc, unc, ucr, unr 等的值

EX:

PSU_CURRENT_IN | 1.176| Amps| ok| na| na| na| na| 8.988| na

Status “ok” 後的六個欄位即代表lnr, lcr, lnc, unc, ucr, unr

對照抓出來的範例數值即為[na], [na], [na], [na], 8.988, [na]

解釋如下

lnr:Lower Non-Recoverable
lcr:Lower Critical
lnc:Lower Non-Critical

unc:Upper Non-Critical
ucr:Upper Critical
unr:Upper Non-Recoverable

設定Lower相關的Threshold Value Command如下
~# ipmitool sensor thresh “*sensor name*” lower *lnr* *lcr* *lnc*

將sensor name換成要改的sensor名稱:
./ipmitool -I lanplus -H 10.0.0.50 -U admin -P admin sensor thresh PSU_CURRENT_IN lower 0 1 0

設定Upper相關的Threshold Value Command如下
~# ipmitool sensor thresh “*sensor name*” upper *unc* *ucr* *unr

將sensor name換成要改的sensor名稱:
./ipmitool -I lanplus -H 10.0.0.50 -U admin -P admin sensor thresh PSU_CURRENT_IN upper 0 1 0

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *