don't use disk model as dim name (#5140)
Ilya Mashchenko committed
Jan 9, 2019 at 12:15 UTC
d034b6e75c5e3857f032ca416537a5202269e1f8
1 file changed
+1
-2
collectors/python.d.plugin/hddtemp/hddtemp.chart.py
+1
-2
@@ -91,8 +91,7 @@ class Service(SocketService):
91
return False
92
93
for d in disks:
94
- n = d.id if d.id.startswith('sd') else d.name
95
- dim = [d.id, n]
94
+ dim = [d.id]
95
self.definitions['temperatures']['lines'].append(dim)
96
97
return True