其他分享
首页 > 其他分享> > IPMITOOL THRESHOLD 修改

IPMITOOL THRESHOLD 修改

作者:互联网

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

 

来源网站:http://mabospace.myds.me/?p=246

标签:Non,IPMITOOL,na,lnr,修改,ipmitool,thresh,THRESHOLD,sensor
来源: https://www.cnblogs.com/dreamdale/p/10695500.html