diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-08-11 14:09:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 14:09:48 +0300 |
commit | fe2e3eea60a42861ac32d9daf1501ba287eddcb3 (patch) | |
tree | d059d8381099d52b2040cf6011d5be9ee4f355d5 /collectors/python.d.plugin | |
parent | cc9a0ba2e6e9f31a5782ac715521338ce2f49cbd (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.py | 2 |
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() |