Hey Florian, Lets try:
unsigned int record_ids[] = {5, 0}; unsigned int record_ids_length = 1; and unsigned int ipmimonitoring_init_flags = IPMI_MONITORING_FLAGS_DEBUG; Al On Tue, 2018-12-04 at 20:16 +0100, Florian wrote: > Oops, I'm sorry, Android-Mail apparently deleted the CC... > > I compiled with ipmimonitoring_init_flags = 1 now and got debug stuff > this time. > > The output is following... > (ipmi_monitoring_sensor_reading.c, > ipmi_monitoring_get_sensor_reading, 1061): record_type '0xC0' not > supported > (ipmi_monitoring_sensor_reading.c, _get_sensor_bitmask_type, 752): > event_reading_type_code '0x70' bitmask is OEM > (ipmi_monitoring_sensor_reading.c, _get_sensor_bitmask_type, 752): > event_reading_type_code '0x71' bitmask is OEM > (ipmi_monitoring_sensor_reading.c, _get_sensor_bitmask_type, 752): > event_reading_type_code '0x71' bitmask is OEM > (ipmi_monitoring_sensor_reading.c, > ipmi_monitoring_get_sensor_reading, 1061): record_type '0x8' not > supported > (ipmi_monitoring_sensor_reading.c, > ipmi_monitoring_get_sensor_reading, 1061): record_type '0x8' not > supported > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '23' > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '24' > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '38' > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '39' > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '40' > (ipmi_monitoring_sensor_reading.c, _get_sensor_reading, 356): > ipmi_sensor_read: sensor reading unavailable > (ipmi_monitoring_sensor_reading.c, _threshold_sensor_reading, 571): > cannot read sensor for record id '41' > 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 > ipmi_monitoring_sensor_read_sensor_bitmask_strings: success > > > I'm unfortunately don't know much about C. You mean I should change > in 'unsigned int record_ids[] = {0};' the 0 to a sensor-id, right? > Because I did this and that neither worked with putting 5 in for the > power meter nor with any other sensor. > > Florian > > > > On Tue, Dec 4, 2018 at 7:47 PM Albert Chu <ch...@llnl.gov> wrote: > > Didn't see your output, I guess you forgot to paste it in. > > > > Hmmmm. That means the main monitoring code is just returning "0", > > i.e. > > 0 sensors read. Could you try experimenting with the settings and > > setting "record_ids" to the record we're trying to figure out (i > > think > > it was #5 in your prior post). Lets just concentrate on that > > specific > > record and try to figure out what's going on. Also set > > ipmimonitoring_init_flags for more debugging and lets see what gets > > output. > > > > BTW, could you please respond to the mailing list. > > > > Al > > > > On Tue, 2018-12-04 at 07:50 +0100, Florian Ströger wrote: > > > Hello Albert, > > > > > > Thanks for the fast reply! > > > I've set 'int ignore_non_interpretable_sensors' to 0, but when I > > run > > > the binary now it just outputs the headers, like this: > > > > > -- > > Albert Chu > > ch...@llnl.gov > > Computer Scientist > > High Performance Systems Division > > Lawrence Livermore National Laboratory > > > > > > -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-devel mailing list Freeipmi-devel@gnu.org https://lists.gnu.org/mailman/listinfo/freeipmi-devel