From: Florian Forster Date: Fri, 4 Apr 2008 08:54:40 +0000 (+0200) Subject: ipmi plugin: Add a stupi bug which prevented basically all sensors from being collected. X-Git-Tag: collectd-4.4.0~49 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21e5689493a316da9eadffd13d8f27c9bae9fa0d;p=collectd.git ipmi plugin: Add a stupi bug which prevented basically all sensors from being collected. --- diff --git a/src/ipmi.c b/src/ipmi.c index 5e4a6ad9..bba4599e 100644 --- a/src/ipmi.c +++ b/src/ipmi.c @@ -121,7 +121,7 @@ static void sensor_read_handler (ipmi_sensor_t *sensor, return; } - if (value_present != IPMI_RAW_VALUE_PRESENT) + if (value_present != IPMI_BOTH_VALUES_PRESENT) { INFO ("ipmi plugin: sensor_read_handler: Removing sensor %s, " "because it provides %s.",