prometheus-community/ipmi_exporter

For Inspur's server ipmitool is used normally, but it prompts the username invalid error, and the corresponding solution.

yanghesong opened this issue · 2 comments

Both BMC User 1 and User 2 cannot be used, and a new user is required to work properly.

I got the same problem, but I solved it using the following config:

modules:
  default:
    user: "admin"
    pass: "xxx" # replace it to your actualy admin password
    privilege: "ADMIN" # privilege level can sees in man ipmi-sensors
   driver: LAN_2_0 

You can also using the following command line to check it:

/usr/sbin/ipmi-sensors -h xxx -u amdin -p xxx --privilege-level=ADMIN -D LAN_2_0

我在龙芯的服务器上也遇到了这个问题,但是添加新用户不生效
ipmi-sensors -D LAN_2_0 --cipher-suite-id=17 -W assumemaxsdrrecordcount -h x.x.x.x -u x-p x,这个命令却是可以正常采集数据的