From: Mytnyk, Volodymyr Date: Tue, 17 Oct 2017 09:26:58 +0000 (+0100) Subject: ipmi: make unhandled sensor msg more informative X-Git-Tag: collectd-5.8.0~34^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d5a504a44fe11fbd5141f3987b097d69983db1e;p=collectd.git ipmi: make unhandled sensor msg more informative Change-Id: I5fc6056b2d0c5bb5cb1b28c3d24aaca163eb245b Signed-off-by: Mytnyk, Volodymyr --- diff --git a/src/ipmi.c b/src/ipmi.c index 22aff82c..f28ac52c 100644 --- a/src/ipmi.c +++ b/src/ipmi.c @@ -449,9 +449,12 @@ static int sensor_list_add(c_ipmi_instance_t *st, ipmi_sensor_t *sensor) { break; INFO("ipmi plugin: sensor_list_add: Ignore sensor `%s` of `%s`, " - "because I don't know how to handle its type (%#x, %s). " - "If you need this sensor, please file a bug report.", - sensor_name_ptr, st->name, sensor_type, + "because I don't know how to handle its units (%#x, %#x, %#x). " + "Sensor type: (%#x, %s). If you need this sensor, please file " + "a bug report at http://collectd.org/.", + sensor_name_ptr, st->name, ipmi_sensor_get_base_unit(sensor), + ipmi_sensor_get_modifier_unit(sensor), + ipmi_sensor_get_rate_unit(sensor), sensor_type, ipmi_sensor_get_sensor_type_string(sensor)); return -1; }