summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-08-11 14:09:48 +0300
committerGitHub <noreply@github.com>2023-08-11 14:09:48 +0300
commitfe2e3eea60a42861ac32d9daf1501ba287eddcb3 (patch)
treed059d8381099d52b2040cf6011d5be9ee4f355d5 /collectors/python.d.plugin
parentcc9a0ba2e6e9f31a5782ac715521338ce2f49cbd (diff)
fix hpssa handle unassigned drives (#15793)
Closes: https://github.com/netdata/netdata/issues/15792
Diffstat (limited to 'collectors/python.d.plugin')
-rw-r--r--collectors/python.d.plugin/hpssa/hpssa.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/hpssa/hpssa.chart.py b/collectors/python.d.plugin/hpssa/hpssa.chart.py
index 4da73dc56a..66be00837c 100644
--- a/collectors/python.d.plugin/hpssa/hpssa.chart.py
+++ b/collectors/python.d.plugin/hpssa/hpssa.chart.py
@@ -182,7 +182,7 @@ class HPSSA(object):
break
elif array_regex.match(line):
self.parse_array(adapter)
- elif line == 'Unassigned' or line == 'HBA Drives':
+ elif line in ('Unassigned', 'unassigned') or line == 'HBA Drives':
self.parse_physical_drives(adapter)
elif ignored_sections_regex.match(line):
self.parse_ignored_section()