Code

ipmi plugin: Add a stupi bug which prevented basically all sensors from being collected.
authorFlorian Forster <octo@noris.net>
Fri, 4 Apr 2008 08:54:40 +0000 (10:54 +0200)
committerFlorian Forster <octo@noris.net>
Fri, 4 Apr 2008 08:54:40 +0000 (10:54 +0200)
src/ipmi.c

index 5e4a6ad9bc8adb83b798717f13ef2d7693be5ab4..bba4599e8911a499338a0b2099125d7dc6389123 100644 (file)
@@ -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.",