disable negative sensor values
paulfantom committed
Jul 13, 2016 at 17:43 UTC
5be9881b437426f7612519b939d6f664ad511be1
1 file changed
+1
-1
python.d/sensors.chart.py
+1
-1
@@ -87,7 +87,7 @@ class Service(SimpleService):
87
float(feature.get_value())
88
except ValueError:
89
continue
90
- if feature.get_value() == 0:
90
+ if feature.get_value() < 0:
91
continue
92
if sensors.TYPE_DICT[feature.type] == type:
93
name = pref + "_" + sensors.TYPE_DICT[feature.type]