diff options
-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': |