Sometime there is a situation of incorrect behavior of server sensors due to their breakdown. In order not to load the monitoring system, it is better to disable such sensors.
Consider using the example of the Huawei server how to disable the desired sensor:
1. We go via SSH protocol to the iBMC interface and execute the command:
Consider using the example of the Huawei server how to disable the desired sensor:
1. We go via SSH protocol to the iBMC interface and execute the command:
ipmcget -t sensor -d list
Thus we receive the list of sensors. We find in it the one we need and remember its "sensor id" of the format "0x??".
2. Download the "IPMI Tool" utility (Windows or Linux version) and then perform the necessary operations using it:
Check sensor status:
ipmitool -I lanplus -H host_ip -U username -P pass raw 0x04 0x29 0x??
Disable sensor:
ipmitool -I lanplus -H host_ip -U username -P pass raw 0x04 0x28 0x?? 0x20 0x00 0x00 0x00 0x00
Enable sensor:
ipmitool -I lanplus -H host_ip -U username -P pass raw 0x04 0x28 0x?? 0xc0 0x00 0x00 0x00 0x00
where is 0x?? - sensor id;
username - iBMC administrator login;
pass - iBMC administrator password.
When the sensor is off, the command to check the status of the sensor returns the value "00".
No comments:
Post a Comment