summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/hddtemp
diff options
context:
space:
mode:
authorIlya Mashchenko <ilyamaschenko@gmail.com>2019-01-09 12:15:15 +0300
committerGitHub <noreply@github.com>2019-01-09 12:15:15 +0300
commitd034b6e75c5e3857f032ca416537a5202269e1f8 (patch)
treec4c08efec4d031708f76292865cf1f870c0bcabf /collectors/python.d.plugin/hddtemp
parent355bedacced9ad7549311455ac33de0b7582e013 (diff)
don't use disk model as dim name (#5140)
Diffstat (limited to 'collectors/python.d.plugin/hddtemp')
-rw-r--r--collectors/python.d.plugin/hddtemp/hddtemp.chart.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/collectors/python.d.plugin/hddtemp/hddtemp.chart.py b/collectors/python.d.plugin/hddtemp/hddtemp.chart.py
index d6e284a6d6..810aaacc9c 100644
--- a/collectors/python.d.plugin/hddtemp/hddtemp.chart.py
+++ b/collectors/python.d.plugin/hddtemp/hddtemp.chart.py
@@ -91,8 +91,7 @@ class Service(SocketService):
return False
for d in disks:
- n = d.id if d.id.startswith('sd') else d.name
- dim = [d.id, n]
+ dim = [d.id]
self.definitions['temperatures']['lines'].append(dim)
return True