@cryptotaxi247 / netdata-1 / commits / b5296e124

Fix not detecting more than one adapter in hpssa collector (#7580)

Peter Gnodde committed Dec 20, 2019 at 10:51 UTC b5296e124442308600c5b38737ae7b80f47d2e19
1 file changed +3
collectors/python.d.plugin/hpssa/hpssa.chart.py
+3
@@ -176,6 +176,9 @@ class HPSSA(object):
176 for line in self:
177 if error_match.match(line):
178 raise HPSSAException('Error: {}'.format(line))
179 + elif adapter_regex.match(line):
180 + self.rewind()
181 + break
182 elif array_regex.match(line):
183 self.parse_array(adapter)
184 elif line == 'Unassigned':