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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
猜你喜欢
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-11-14
  • 2021-07-17
相关资源
相似解决方案