@cryptotaxi247 / netdata-1 / commits / f5d254c37

I added test to establish if sensor value is a number.

should fix #682

paulfantom committed Jul 13, 2016 at 17:41 UTC f5d254c37e8ee0f62114ae536caf67679eac0b9b
1 file changed +4
python.d/sensors.chart.py
+4
@@ -83,6 +83,10 @@ class Service(SimpleService):
83 if len(self.chips) != 0 and not any([ex.startswith(pref) for ex in self.chips]):
84 continue
85 for feature in chip:
86 + try:
87 + float(feature.get_value())
88 + except ValueError:
89 + continue
90 if feature.get_value() == 0:
91 continue
92 if sensors.TYPE_DICT[feature.type] == type: