prometheus-community / ipmi_exporter

Remote IPMI exporter for Prometheus
MIT License
472 stars 133 forks source link

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

Closed yanghesong closed 2 years ago

yanghesong commented 2 years ago

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

yahaa commented 8 months ago

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
Gaozizhong commented 5 months ago

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