fix multi-cpu sensors
paulfantom committed
Jul 21, 2016 at 15:25 UTC
2cde3bbb126b4b7157e69fde61bdd68b53836b2b
1 file changed
+2
python.d/sensors.chart.py
+2
@@ -80,8 +80,10 @@ class Service(SimpleService):
80
name = ""
81
lines = []
82
pref = str(chip.prefix.decode())
83
+ print(pref)
84
if len(self.chips) != 0 and not any([ex.startswith(pref) for ex in self.chips]):
85
continue
86
+ pref = pref + '_' + str(chip.addr)
87
for feature in chip:
88
try:
89
float(feature.get_value())