diff options
author | Peter Gnodde <gnoddep@users.noreply.github.com> | 2019-12-20 10:51:51 +0100 |
---|---|---|
committer | Ilya Mashchenko <ilya@netdata.cloud> | 2019-12-20 12:51:51 +0300 |
commit | b5296e124442308600c5b38737ae7b80f47d2e19 (patch) | |
tree | 1bec8f9bcf7370788a281695f0d96bc35454726f /collectors/python.d.plugin/hpssa | |
parent | 4edc7e907e3285aa9801e8caf651450e4fd8d2be (diff) |
Fix not detecting more than one adapter in hpssa collector (#7580)
Diffstat (limited to 'collectors/python.d.plugin/hpssa')
-rw-r--r-- | collectors/python.d.plugin/hpssa/hpssa.chart.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/hpssa/hpssa.chart.py b/collectors/python.d.plugin/hpssa/hpssa.chart.py index 3f0ffe2552..3397f85b46 100644 --- a/collectors/python.d.plugin/hpssa/hpssa.chart.py +++ b/collectors/python.d.plugin/hpssa/hpssa.chart.py @@ -176,6 +176,9 @@ class HPSSA(object): for line in self: if error_match.match(line): raise HPSSAException('Error: {}'.format(line)) + elif adapter_regex.match(line): + self.rewind() + break elif array_regex.match(line): self.parse_array(adapter) elif line == 'Unassigned': |