[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] ipmimonitoring-sensors.c discretereading workaround

From: Florian
Subject: [Freeipmi-devel] ipmimonitoring-sensors.c discretereading workaround
Date: Mon, 3 Dec 2018 20:02:21 +0100


$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: (implementation of ipmimonitoring-sensors.c into netdata (a performance monitoring webinterface) (Issue we have over there showing the wattages).

Since this neither works with, I thought I would ask here.

Florian Ströger (Preisschild)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]