From 21e5689493a316da9eadffd13d8f27c9bae9fa0d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 4 Apr 2008 10:54:40 +0200 Subject: [PATCH] ipmi plugin: Add a stupi bug which prevented basically all sensors from being collected. --- src/ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.", -- 2.30.2