Hello,
$ipmimonitoring -W discretereading gives me the Output of the Power Meter like this "5 | Power Meter | Current | N/A | 168.00 | W | 'Device Enabled'" here you can clearly see the wattage. In this case 168W.
If I just use $ipmimonitoring I get "5 | Power Meter | Current | N/A | N/A | N/A | 'Device Enabled'". No wattage at all.
If I compile ipmimonitoring-sensors.c and run it, I don't get the sensor 5 (Power Meter) at all.
Also there are 2 other sensors (8,9), as seen below, who are giving also wattage readings with $ipmimonitoring -W discretereading
8 | Power Supply 1 | Power Supply | Nominal | 45.00 | W | 'Presence detected'
9 | Power Supply 2 | Power Supply | Nominal | 35.00 | W | 'Presence detected'
but with ipmimonitoring-sensors I only get
8, Power Supply 1, 8, Power Supply, Nominal, N/A, N/A, 6Fh, 1h, 'Presence detected'
9, Power Supply 2, 9, Power Supply, Nominal, N/A, N/A, 6Fh, 1h, 'Presence detected'
(like with $ipmimonitoring without the discretereading workaround flag)
I've tried to set int discrete_reading to 1, but I got the same results.
Unfortunately I couldn't find any documentation about setting the workaround in the ipmimonitoring-sensors.c library, so thats why I'm asking here.
Related links:
Sincerely,
Florian Ströger (Preisschild)