Hi,
I'm working with the microTCA based system that has several FRUs. With ipmitool
I would need to supply several switches in order to talk to the desired FRU,
for example:
ipmitool
-I lan // interface: lan
-H 192.168.1.146 // ip-address: 192.168.1.146
-A none // authentication: none
-T 0x82 // target address of the carrier (80h + (Carrier Number * 2))
-B 0 // bus id of the carrier (IPMB-0)
-t 0xc2 // target address (power module 1 has IPMB-L address 0xc2)
-b 7 // bus is (IPMB-L)
I can find the freeipmi equivalents for -I, -H, -A, but not for the rest of the
switches.
Example to talk one of the FRU in the system I can do:
ipmitool -I lan -H 172.30.150.22 -A none -T 0x82 -B 0 -t 0x78 -b 7 sensor
What would be the equivalent command to read sensors from a target FRU (I2C)
addressed at 0x78 using freeipmi tools?
For example, if I issue:
$ ./install/sbin/ipmi-sensors -a NONE -h 172.30.150.22
ID | Name | Type | Reading | Units | Event
241 | RTM Hot Swap | OEM Reserved | N/A | N/A | 'OEM
Event = 00A1h'
Segmentation fault (core dumped)
I tried some combinations of --driver-address, --target-channel-number,
--target-slave-address to no avail.
After compiling freeipmi/contrib/libipmimonitoring/ipmimonitoring-sensors.c
that was edited to use hostname wo/ auth I could get some relevant output:
$ ./ipmimonitoring-sensors
Record ID, Sensor Name, Sensor Number, Sensor Type, Sensor State, Sensor
Reading, Sensor Units, Sensor Event/Reading Type Code, Sensor Event Bitmask,
Sensor Event String
239, Temp 1, 238, Temperature, Nominal, 39.00, C, 1h, C0h, 'OK'
234, Temp 1, 233, Temperature, Nominal, 40.00, C, 1h, C0h, 'OK'
229, Temp 1, 228, Temperature, Nominal, 37.50, C, 1h, C0h, 'OK'
224, Temp 1, 223, Temperature, Nominal, 41.00, C, 1h, C0h, 'OK'
219, BOARD Temp, 218, Temperature, Nominal, 0.00, C, 1h, 0h, 'OK'
218, +12V PSU, 217, Voltage, Critical, 0.00, V, 1h, 2h, 'At or Below (<=) Lower
Critical Threshold'
217, +5V PSU, 216, Voltage, Critical, 0.41, V, 1h, 2h, 'At or Below (<=) Lower
Critical Threshold'
216, +3.3V PSU, 215, Voltage, Critical, 0.23, V, 1h, 2h, 'At or Below (<=)
Lower Critical Threshold'
215, VCC CORE, 214, Voltage, Critical, 0.00, V, 1h, 2h, 'At or Below (<=) Lower
Critical Threshold'
214, +1.2V PSU, 213, Voltage, Critical, 0.00, V, 1h, 2h, 'At or Below (<=)
Lower Critical Threshold'
212, PSU Good, 211, Voltage, Nominal, N/A, N/A, 6h, 0h, 'OK'
207, 12V PP, 206, Voltage, Nominal, 12.16, V, 1h, 0h, 'OK'
...
As this looks promising I have no way of telling which of the FRUs the sensors
belong to.
TIA,
//hinxx
_______________________________________________
Freeipmi-users mailing list
[email protected]
https://urldefense.us/v3/__https://lists.gnu.org/mailman/listinfo/freeipmi-users__;!!G2kpM7uM-TzIFchu!0xLZBsTTE2euRDNjt3TdjZkLCj1T4-SuepaEl2UotRYb5M8DfHIZW9Nb7ZvoTxBX7RHHphfvOKRc_KSWb-qAW06L$