From: paulfantom Date: Wed, 13 Jul 2016 15:43:04 +0000 (+0200) Subject: disable negative sensor values X-Git-Tag: v1.3.0~71^2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be9881b437426f7612519b939d6f664ad511be1;p=netdata.git disable negative sensor values --- diff --git a/python.d/sensors.chart.py b/python.d/sensors.chart.py index 4345228e..1eb07c73 100644 --- a/python.d/sensors.chart.py +++ b/python.d/sensors.chart.py @@ -87,7 +87,7 @@ class Service(SimpleService): float(feature.get_value()) except ValueError: continue - if feature.get_value() == 0: + if feature.get_value() < 0: continue if sensors.TYPE_DICT[feature.type] == type: name = pref + "_" + sensors.TYPE_DICT[feature.type]